always reset play position when (un)shuffle

This commit is contained in:
localhost_frssoft 2023-06-21 02:50:45 +03:00
parent c1d1c97698
commit aa79802bf8

View file

@ -166,6 +166,7 @@ def player_menu(header='', storage={}):
else: else:
shuffle = True shuffle = True
player.playlist_shuffle() player.playlist_shuffle()
player.playlist_play_index(0)
elif select == 'Download': elif select == 'Download':
name_downloaded = download_track(player.stream_open_filename) name_downloaded = download_track(player.stream_open_filename)
elif select == 'Info': elif select == 'Info':