only updateWatch status while video is playing

This should circumvent edge cases where videos are marked as watch when they failed to play back.

Fixes #660

Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
Toni Förster
2024-08-20 22:10:35 +02:00
parent af75afa912
commit 522aecfbc1
2 changed files with 1 additions and 3 deletions

View File

@@ -464,8 +464,6 @@ final class MPVBackend: PlayerBackend {
timeObserverThrottle.execute {
self.model.updateWatch(time: self.currentTime)
}
self.model.updateTime(self.currentTime!)
}
private func stopClientUpdates() {