Reduce likelihood of moving to next file when at end of playlist
This commit is contained in:
parent
18a17b0aa9
commit
2c885d07b2
@ -173,7 +173,7 @@ class SyncplayClient(object):
|
||||
|
||||
def loadNextFileInPlaylist(self):
|
||||
# TODO: Fix for GUIDs & add path checks (and make more of code re-use?)
|
||||
if self._playlistIndex is None or len(self._playlist) == self._playlistIndex+1:
|
||||
if self._playlistIndex is None or len(self._playlist) <= self._playlistIndex+1:
|
||||
return
|
||||
filename = self._playlist[self._playlistIndex+1]
|
||||
if utils.isURL(filename):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user