Fix tvOS MPV startup playback stability

This commit is contained in:
Arkadiusz Fal
2026-05-10 12:40:25 +02:00
parent 82d2830208
commit 6e5714dd86
4 changed files with 42 additions and 6 deletions

View File

@@ -404,7 +404,9 @@ final class PlayerService {
// Check for cancellation after stream load completes
try Task.checkCancellation()
await backend.seek(to: seekTime, showLoading: false)
if seekTime > 0 {
await backend.seek(to: seekTime, showLoading: false)
}
// Wait for player sheet animation to complete before starting playback
await navigationCoordinator?.waitForPlayerSheetAnimation()