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

Method canControl

syncplay/server.py:719–720  ·  view source on GitHub ↗
(self, watcher)

Source from the content-addressed store, hash-verified

717 self._playlistIndex = index
718
719 def canControl(self, watcher):
720 return watcher.getName() in self._controllers
721
722 def getControllers(self):
723 return {}

Callers 4

setPausedMethod · 0.95
setPositionMethod · 0.95
setPlaylistMethod · 0.95
setPlaylistIndexMethod · 0.95

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected