Add Now Playing info center updates

This commit is contained in:
Arkadiusz Fal
2022-02-16 22:10:57 +01:00
parent 31a28a7cbd
commit 70ea098378
4 changed files with 109 additions and 53 deletions

View File

@@ -224,11 +224,13 @@ final class MPVBackend: PlayerBackend {
updateControls()
}
model.updateNowPlayingInfo()
if let currentTime = currentTime {
model.handleSegments(at: currentTime)
}
self.timeObserverThrottle.execute {
timeObserverThrottle.execute {
self.model.updateWatch()
}
}