Don't change playlist index if there is no playlist

This commit is contained in:
Et0h 2016-01-19 15:28:55 +00:00
parent 05d3818440
commit 2bc3e66d28

View File

@ -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