MCPcopy Index your code
hub / github.com/Syncplay/syncplay / connected

Method connected

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

Source from the content-addressed store, hash-verified

785 return sharedPlaylistEnabled
786
787 def connected(self):
788 self.lastConnectTime = time.time()
789 readyState = self._config['readyAtStart'] if self.userlist.currentUser.isReady() is None else self.userlist.currentUser.isReady()
790 self._protocol.setReady(readyState, manuallyInitiated=False)
791 self.reIdentifyAsController()
792 if self._config["loadPlaylistFromFile"]:
793 self.playlist.loadPlaylistFromFile(self._config["loadPlaylistFromFile"])
794 self._config["loadPlaylistFromFile"] = None
795
796 def getRoom(self):
797 return self.userlist.currentUser.room

Callers 1

handleHelloMethod · 0.80

Calls 4

loadPlaylistFromFileMethod · 0.80
isReadyMethod · 0.45
setReadyMethod · 0.45

Tested by

no test coverage detected