Wholphin/app
Damontecres 086badf2e2
Fix theme song playing over video (#1442)
## Description
There was an issue if when opening a page with theme music and quickly
changing pages, usually playback, the theme music might play on the new
page. This is because the call to stop the theme music could potentially
happen _before_ the song was loaded or had started playing.

This PR fixes this race condition by tracking the job that's fetching
the theme song and by adding a mutex to ensure the play function
completes before the stop function can begin.

### Related issues
Fixes #938

### Testing
Emulator w/ fake delay to increase the odds of the issue occurring

## Screenshots
N/A

## AI or LLM usage
None
2026-05-23 13:38:59 -04:00
..
config Add experimental MPV player backend (#161) 2025-11-16 18:46:25 -05:00
schemas/com.github.damontecres.wholphin.data.AppDatabase Add option to require server login for user profile (#1367) 2026-05-20 12:00:02 -04:00
src Fix theme song playing over video (#1442) 2026-05-23 13:38:59 -04:00
.gitignore Set update URL (#8) 2025-10-15 17:17:16 -04:00
build.gradle.kts Update AGP, Gradle, & other third party dependencies (#1356) 2026-05-06 18:08:29 -04:00
proguard-rules.pro Enable minify/proguard (#29) 2025-10-17 19:44:36 -04:00