mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-15 19:35:07 +00:00
Add initial/experimental playlist looping code
This commit is contained in:
parent
21ea14823e
commit
cfe123a361
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user