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

Method sendRoomSetting

syncplay/protocols.py:223–230  ·  view source on GitHub ↗
(self, roomName, password=None)

Source from the content-addressed store, hash-verified

221 self.sendMessage({"Set": setting})
222
223 def sendRoomSetting(self, roomName, password=None):
224 setting = {}
225 self.hadFirstStateUpdate = False
226 self.hadFirstPlaylistIndex = False
227 setting["name"] = roomName
228 if password:
229 setting["password"] = password
230 self.sendSet({"room": setting})
231
232 def sendFileSetting(self, file_):
233 self.sendSet({"file": file_})

Callers 1

sendRoomMethod · 0.80

Calls 1

sendSetMethod · 0.95

Tested by

no test coverage detected