From aa79802bf82527af35657c1650ddb2c58b7c3ca0 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Wed, 21 Jun 2023 02:50:45 +0300 Subject: [PATCH] always reset play position when (un)shuffle --- src/mpv_control.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mpv_control.py b/src/mpv_control.py index e8c2bfd..03de68c 100644 --- a/src/mpv_control.py +++ b/src/mpv_control.py @@ -166,6 +166,7 @@ def player_menu(header='', storage={}): else: shuffle = True player.playlist_shuffle() + player.playlist_play_index(0) elif select == 'Download': name_downloaded = download_track(player.stream_open_filename) elif select == 'Info':