Add initial/experimental playlist looping code

This commit is contained in:
Et0h 2016-01-12 22:57:32 +00:00
parent 21ea14823e
commit cfe123a361

View File

@ -176,6 +176,8 @@ class SyncplayClient(object):
if self._playlistIndex is None or len(self._playlist) <= self._playlistIndex+1:
return
filename = self._playlist[self._playlistIndex+1]
if filename == "<LOOP>":
filename = self._playlist[0]
if utils.isURL(filename):
for URI in constants.SAFE_URIS:
if filename.startswith(URI):