mirror of https://github.com/Syncplay/syncplay
Check for player existing on state change
This commit is contained in:
parent
9fc746bd17
commit
823691c3de
|
@ -268,9 +268,11 @@ class SyncplayClient(object):
|
|||
return self._serverPassword
|
||||
|
||||
def setPosition(self, position):
|
||||
if(self._player):
|
||||
self._player.setPosition(position)
|
||||
|
||||
def setPaused(self, paused):
|
||||
if(self._player):
|
||||
self._player.setPaused(paused)
|
||||
|
||||
def start(self, host, port):
|
||||
|
|
Loading…
Reference in New Issue