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

Method sendFileUpdate

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

Source from the content-addressed store, hash-verified

173 self._roomManager.broadcast(watcher, l)
174
175 def sendFileUpdate(self, watcher):
176 if watcher.getFile():
177 l = lambda w: w.sendSetting(watcher.getName(), watcher.getRoom(), watcher.getFile(), None)
178 self._roomManager.broadcast(watcher, l)
179
180 def forcePositionUpdate(self, watcher, doSeek, watcherPauseState):
181 room = watcher.getRoom()

Callers 1

setFileMethod · 0.80

Calls 5

getFileMethod · 0.80
sendSettingMethod · 0.80
getNameMethod · 0.45
getRoomMethod · 0.45
broadcastMethod · 0.45

Tested by

no test coverage detected