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

Method doubleCheckRewindFile

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

Source from the content-addressed store, hash-verified

213 return
214
215 def doubleCheckRewindFile(self):
216 if self.getStoredPlayerPosition() > 5:
217 self.setPosition(0)
218 self.ui.showDebugMessage("Rewinded after double-check")
219
220 def isPlayingMusic(self):
221 if self.userlist.currentUser.file:

Callers

nothing calls this directly

Calls 3

setPositionMethod · 0.95
showDebugMessageMethod · 0.45

Tested by

no test coverage detected