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

Method canControl

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

Source from the content-addressed store, hash-verified

1350 return self._controller
1351
1352 def canControl(self):
1353 if self.isController() or not utils.RoomPasswordProvider.isControlledRoom(self.room):
1354 return True
1355 else:
1356 return False
1357
1358 def isReadyWithFile(self):
1359 if self.file is None:

Callers 8

_toggleReadyMethod · 0.45
autoplayConditionsMetMethod · 0.45
areAllFilesInRoomSameMethod · 0.45
canControlMethod · 0.45

Calls 2

isControllerMethod · 0.95
isControlledRoomMethod · 0.80

Tested by

no test coverage detected