mirror of
https://github.com/bbara04/Purefin.git
synced 2026-03-31 17:10:08 +02:00
8ca3f1a3cca1a49a16d61ae15d817411338aa117
Wrap all JellyfinApiClient suspend functions with withContext(Dispatchers.IO) so callers (ViewModels on Main dispatcher) no longer block the UI thread. Replace runBlocking in JellyfinAuthInterceptor with a reactive cached token to avoid blocking OkHttp threads. Add IO dispatching to player MediaRepository for DataStore reads.
Description
Languages
Kotlin
100%