Fix bug where playlist selection is changed when playlist is updated after previously being modified by a different user
This commit is contained in:
parent
4012bfec8f
commit
2128432675
@ -1396,6 +1396,7 @@ class SyncplayPlaylist():
|
|||||||
if not self._client.sharedPlaylistIsEnabled():
|
if not self._client.sharedPlaylistIsEnabled():
|
||||||
self._playlistIndex = index
|
self._playlistIndex = index
|
||||||
if username is not None and self._client.userlist.currentUser.file and filename == self._client.userlist.currentUser.file['name']:
|
if username is not None and self._client.userlist.currentUser.file and filename == self._client.userlist.currentUser.file['name']:
|
||||||
|
self._playlistIndex = index
|
||||||
return
|
return
|
||||||
except IndexError:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user