feat: add movie download support using Media3 DownloadService

Implement media downloading with foreground notification showing progress
percentage and speed. Uses Media3's DownloadManager + SimpleCache with
OkHttp datasource for authenticated Jellyfin downloads. Downloaded movies
are saved to the offline database and the player reads from cache
automatically via CacheDataSource.
This commit is contained in:
2026-02-17 20:18:23 +01:00
parent 9c83c3629b
commit be456d4d6c
14 changed files with 491 additions and 5 deletions

View File

@@ -72,6 +72,7 @@ dependencies {
implementation(libs.medi3.exoplayer)
implementation(libs.medi3.ui.compose)
implementation(libs.medi3.ffmpeg.decoder)
implementation(libs.media3.datasource.okhttp)
implementation(libs.androidx.navigation3.runtime)
implementation(libs.androidx.navigation3.ui)
implementation(libs.androidx.room.ktx)