mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-26 12:11:27 +00:00
Compare commits
No commits in common. "8bc6e8e01dc538dcd7660e821e193d8851327b56" and "1a95d262381d68d0b1af423bce116c335eade8a5" have entirely different histories.
8bc6e8e01d
...
1a95d26238
|
@ -1,4 +1,4 @@
|
|||
loguru
|
||||
requests
|
||||
pyfzf
|
||||
mpv
|
||||
python-mpv
|
||||
|
|
|
@ -158,7 +158,7 @@ def player_menu(header='', storage={}):
|
|||
while True:
|
||||
try:
|
||||
player_items_menu = ['Next', 'Prev', 'Pause',
|
||||
'Shuffle', 'Download', 'Info', 'Share', 'Jump to']
|
||||
'Shuffle', 'Download', 'Info', 'Share']
|
||||
if player.pause:
|
||||
player_items_menu[2] = 'Play'
|
||||
else:
|
||||
|
@ -204,10 +204,6 @@ def player_menu(header='', storage={}):
|
|||
track_info_output(track)
|
||||
elif select == 'Share':
|
||||
send_listen_activity()
|
||||
elif select == 'Jump to':
|
||||
jump_to_idx = int(fzf.prompt(range(1, len(player.playlist_filenames)+1))[0])
|
||||
jump_to_idx -= 1
|
||||
player.playlist_play_index(jump_to_idx)
|
||||
elif select == 'Like':
|
||||
src.fw_api.favorite_track(
|
||||
player_fw_storage.storage.get(track_url_to_uuid())['id'])
|
||||
|
|
Loading…
Reference in a new issue