diff --git a/syncplay/client.py b/syncplay/client.py index b7cb245..3dfcb35 100755 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -1785,6 +1785,9 @@ class SyncplayPlaylist(): def loadDelayedPath(self, changeToIndex): # Implementing the behaviour set out at https://github.com/Syncplay/syncplay/issues/315 + if not self._client: + return + if self._client.playerIsNotReady(): self._client.addPlayerReadyCallback(lambda x: self.loadDelayedPath(changeToIndex)) return