From 2128432675f13acdce382742159e1b79a7c36d72 Mon Sep 17 00:00:00 2001 From: Et0h Date: Sun, 17 Jul 2016 12:00:07 +0100 Subject: [PATCH] Fix bug where playlist selection is changed when playlist is updated after previously being modified by a different user --- syncplay/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/syncplay/client.py b/syncplay/client.py index 43f2064..2f52014 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -1396,6 +1396,7 @@ class SyncplayPlaylist(): if not self._client.sharedPlaylistIsEnabled(): self._playlistIndex = index if username is not None and self._client.userlist.currentUser.file and filename == self._client.userlist.currentUser.file['name']: + self._playlistIndex = index return except IndexError: pass