mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-24 12:51:27 +00:00
fix
This commit is contained in:
parent
a5c5984880
commit
1a95d26238
|
@ -48,7 +48,7 @@ def list_fav_or_history(pg=None, search=None, scope=None, is_history_view=False)
|
|||
for i in tracks_results:
|
||||
play_track(track=i['track'], multi=True)
|
||||
player_fw_storage.menu_ctx = list_fav_or_history
|
||||
player_fw_storage.menu_ctx_args = [pg]
|
||||
player_fw_storage.menu_ctx_args = [pg, search, scope, is_history_view]
|
||||
elif len(select) > 1:
|
||||
for i in select:
|
||||
play_track(track=tracks_results[int(
|
||||
|
|
|
@ -49,7 +49,7 @@ def list_tracks(pg=None, search=None, tag=None, library=None):
|
|||
for i in tracks_results:
|
||||
play_track(track=i, multi=True)
|
||||
player_fw_storage.menu_ctx = list_tracks
|
||||
player_fw_storage.menu_ctx_args = [pg]
|
||||
player_fw_storage.menu_ctx_args = [pg, search, tag, library]
|
||||
elif select == 'Play all pages':
|
||||
if tracks_count > 500:
|
||||
yn = input('WARNING: you really want add more than 500 tracks? (y/[n] or number of tracks)\n').lower()
|
||||
|
|
|
@ -208,7 +208,7 @@ def player_menu(header='', storage={}):
|
|||
src.fw_api.favorite_track(
|
||||
player_fw_storage.storage.get(track_url_to_uuid())['id'])
|
||||
elif select == 'Add more tracks':
|
||||
player_fw_storage.menu_ctx(pg=player_fw_storage.menu_ctx_args[0])
|
||||
player_fw_storage.menu_ctx(*player_fw_storage.menu_ctx_args)
|
||||
elif select == 'Hide artist':
|
||||
track = player_fw_storage.storage.get(track_url_to_uuid())
|
||||
player.playlist_remove('current')
|
||||
|
|
Loading…
Reference in a new issue