mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-22 19:33:34 +02:00
delete track from playlist when hide artist
This commit is contained in:
parent
695b745c02
commit
1c90dd5d0e
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ def player_menu(header='', storage={}):
|
|||
player_fw_storage.storage.get(track_url_to_uuid())['id'])
|
||||
elif select == 'Hide artist':
|
||||
track = player_fw_storage.storage.get(track_url_to_uuid())
|
||||
player.playlist_remove('current')
|
||||
src.fw_api.hide_content(
|
||||
{'target': {'id': track.get('artist').get('id'), 'type': 'artist'}})
|
||||
elif select == 'Exit':
|
||||
|
|
Loading…
Reference in a new issue