Fill progress before pause/stop to be accurate.
@@ -54,9 +54,11 @@ def pause(self, progress: float):
def stop(self, progress: float):
if progress >= self.threshold:
self.logger.debug(f'stop({self.scrobbler.media}): {progress}')
+ self.scrobbler.progress = progress
self.scrobbler.stop()
else:
self.logger.debug(f'pause({self.scrobbler.media}): {progress}')
+ self.scrobbler.progress = progress
self.scrobbler.pause()
