diff --git a/syncplay/client.py b/syncplay/client.py index 0fc289f..98445ff 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -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 == "": + filename = self._playlist[0] if utils.isURL(filename): for URI in constants.SAFE_URIS: if filename.startswith(URI):