mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-18 13:13:01 +00:00
delete track from playlist when hide artist
This commit is contained in:
parent
695b745c02
commit
1c90dd5d0e
@ -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 New Issue
Block a user