Don't change playlist index if there is no playlist
This commit is contained in:
parent
05d3818440
commit
2bc3e66d28
@ -474,6 +474,8 @@ class SyncplayClient(object):
|
||||
return None
|
||||
|
||||
def changeToPlaylistIndex(self, index, username = None):
|
||||
if not self._playlist or len(self._playlist) == 0:
|
||||
return
|
||||
path = None
|
||||
if index is None:
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user