reset shuffle to false when normal exit

This commit is contained in:
localhost_frssoft 2023-06-28 19:33:45 +03:00
parent c949f9fde2
commit ebd4d14876

View file

@ -181,6 +181,7 @@ def player_menu(header='', storage={}):
src.fw_api.hide_content( src.fw_api.hide_content(
{'target': {'id': track.get('artist').get('id'), 'type': 'artist'}}) {'target': {'id': track.get('artist').get('id'), 'type': 'artist'}})
elif select == 'Exit': elif select == 'Exit':
shuffle = False
soft_volume_reduce() soft_volume_reduce()
player.playlist_clear() player.playlist_clear()
player.stop() player.stop()