From 8479d8621dc70e2f11ad6d240e94493ba438fc53 Mon Sep 17 00:00:00 2001 From: Ray <154766448+damontecres@users.noreply.github.com> Date: Wed, 17 Dec 2025 17:00:15 -0500 Subject: [PATCH] Bump dependency versions, notably media3 (#496) ## Description Bumps dependency versions, notably media3/ExoPlayer to `1.9.0` ### Related issues Fixes #108 Fixes #355 Fixes #479 --- .gitignore | 4 +++- .../github/damontecres/wholphin/util/mpv/MpvPlayer.kt | 8 ++++++++ gradle/libs.versions.toml | 10 +++++----- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index a5248a5b..695422b8 100644 --- a/.gitignore +++ b/.gitignore @@ -53,7 +53,9 @@ app/libs/ ffmpeg_decoder/ app/release/ app/debug/ -<<<<<<< HEAD +.vscode +.kotlin +docs/ # mpv app/src/main/obj/ diff --git a/app/src/main/java/com/github/damontecres/wholphin/util/mpv/MpvPlayer.kt b/app/src/main/java/com/github/damontecres/wholphin/util/mpv/MpvPlayer.kt index daef054b..f0b358be 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/util/mpv/MpvPlayer.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/util/mpv/MpvPlayer.kt @@ -447,6 +447,14 @@ class MpvPlayer( override fun getVolume(): Float = 1f + override fun mute() { + volume = 0f + } + + override fun unmute() { + volume = 1f + } + override fun clearVideoSurface(): Unit = throw UnsupportedOperationException() override fun clearVideoSurface(surface: Surface?): Unit = throw UnsupportedOperationException() diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b899dc14..79d1ae5c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] aboutLibraries = "13.1.0" acra = "5.13.1" -agp = "8.13.1" +agp = "8.13.2" auto-service = "1.1.1" autoServiceKsp = "1.2.0" desugar_jdk_libs = "2.1.5" @@ -10,7 +10,7 @@ kotlin = "2.2.21" ksp = "2.3.0" coreKtx = "1.17.0" appcompat = "1.7.1" -composeBom = "2025.12.00" +composeBom = "2025.12.01" multiplatformMarkdownRenderer = "0.38.1" programguide = "1.6.0" slf4j2Timber = "1.2" @@ -18,8 +18,8 @@ timber = "5.0.1" tvFoundation = "1.0.0-alpha12" tvMaterial = "1.0.1" lifecycleRuntimeKtx = "2.10.0" -activityCompose = "1.12.1" -androidx-media3 = "1.8.0" +activityCompose = "1.12.2" +androidx-media3 = "1.9.0" coil = "3.3.0" jellyfin-sdk = "1.7.1" nav3Core = "1.0.0" @@ -28,7 +28,7 @@ material3AdaptiveNav3 = "1.0.0-alpha03" protobuf = "0.9.5" datastore = "1.2.0" kotlinx-serialization = "1.9.0" -protobuf-javalite = "4.33.1" +protobuf-javalite = "4.33.2" hilt = "2.57.2" room = "2.8.4" preferenceKtx = "1.2.1"