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

Method eofReportedByPlayer

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

Source from the content-addressed store, hash-verified

517 return self._globalPaused
518
519 def eofReportedByPlayer(self):
520 if self.playlist.notJustChangedPlaylist() and self.userlist.currentUser.file:
521 self.ui.showDebugMessage("Fixing file duration to allow for playlist advancement")
522 self.userlist.currentUser.file["duration"] = self._playerPosition
523
524 def updateFile(self, filename, duration, path):
525 self.lastUpdatedFileTime = time.time()

Callers 1

eofDetectedMethod · 0.80

Calls 2

showDebugMessageMethod · 0.45

Tested by

no test coverage detected