MCPcopy Create free account
hub / github.com/Syncplay/syncplay / getPlayerPaused

Method getPlayerPaused

syncplay/client.py:498–504  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

496 return self._playerPosition if self._playerPosition is not None else None
497
498 def getPlayerPaused(self):
499 if not self._lastPlayerUpdate:
500 if self._lastGlobalUpdate:
501 return self.getGlobalPaused()
502 else:
503 return True
504 return self._playerPaused
505
506 def getGlobalPosition(self):
507 if not self._lastGlobalUpdate:

Callers 10

updatePlayerStatusMethod · 0.95
_toggleReadyMethod · 0.95
getLocalStateMethod · 0.95
setPositionMethod · 0.95
checkReadyStatesMethod · 0.80
executeCommandMethod · 0.80
togglePauseMethod · 0.80

Calls 1

getGlobalPausedMethod · 0.95

Tested by

no test coverage detected