Wholphin/app
Ray 4df17e41cd
Fix timing issues with segments (#648)
## Description
Processing segments happens in a separate coroutine which wasn't
cancelled until _after_ playback of the next item begins. So in some
cases the outro from a previous item might be triggered during the very
beginning of the newly starting item.

So this PR instead cancels segment processing immediately when starting
the process for playback of an item. Additionally, the processing also
now checks that the current segment is for the current playback item as
an additional safeguard.

### Related issues
I believe this should fix both of these issues:

Fixes #369
Fixes #647
2026-01-07 13:23:55 -05:00
..
config Add experimental MPV player backend (#161) 2025-11-16 18:46:25 -05:00
schemas/com.github.damontecres.wholphin.data.AppDatabase MPV: Adjust subtitle delay/offset (#470) 2025-12-15 10:06:36 -05:00
src Fix timing issues with segments (#648) 2026-01-07 13:23:55 -05:00
.gitignore Set update URL (#8) 2025-10-15 17:17:16 -04:00
build.gradle.kts Create media session during playback allowing for external control (#640) 2026-01-07 12:49:43 -05:00
proguard-rules.pro Enable minify/proguard (#29) 2025-10-17 19:44:36 -04:00