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

Method _checkRoomForSameFiles

syncplay/client.py:1221–1227  ·  view source on GitHub ↗
(self, OSDOnly)

Source from the content-addressed store, hash-verified

1219 self.checkReadyStates()
1220
1221 def _checkRoomForSameFiles(self, OSDOnly):
1222 if not self._userlist.areAllFilesInRoomSame():
1223 self._displayReadySameWarning()
1224 if not OSDOnly and constants.SHOW_OSD_WARNINGS and not self._warnings["room-file-differences"]['timer'].running:
1225 self._warnings["room-file-differences"]['timer'].start(constants.WARNING_OSD_MESSAGES_LOOP_INTERVAL, True)
1226 elif self._warnings["room-file-differences"]['timer'].running:
1227 self._warnings["room-file-differences"]['timer'].stop()
1228
1229 def _checkIfYouAreOnlyUserInRoomWhoSupportsReadiness(self):
1230 self._userlist._onlyUserInRoomWhoSupportsReadiness()

Callers 3

__init__Method · 0.95
checkWarningsMethod · 0.95

Calls 4

areAllFilesInRoomSameMethod · 0.80
startMethod · 0.80
stopMethod · 0.80

Tested by

no test coverage detected