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

Method setUserOffset

syncplay/client.py:468–471  ·  view source on GitHub ↗
(self, time)

Source from the content-addressed store, hash-verified

466 return self._userOffset
467
468 def setUserOffset(self, time):
469 self._userOffset = time
470 self.setPosition(self.getGlobalPosition())
471 self.ui.showMessage(getMessage("current-offset-notification").format(self._userOffset))
472
473 def onDisconnect(self):
474 if self._config['pauseOnLeave']:

Callers 2

_tryAdvancedCommandsMethod · 0.80
setOffsetMethod · 0.80

Calls 4

setPositionMethod · 0.95
getGlobalPositionMethod · 0.95
getMessageFunction · 0.90
showMessageMethod · 0.45

Tested by

no test coverage detected