mirror of
https://github.com/bbara04/Purefin.git
synced 2026-03-31 17:10:08 +02:00
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.