Use libmpv from maven repository (#227)
* Use libmpv from repository * Use mavenCentral instead of custom repo
This commit is contained in:
parent
f195b92523
commit
4a611e160d
5 changed files with 6 additions and 4 deletions
|
@ -95,12 +95,10 @@ dependencies {
|
|||
implementation(libs.hilt.android)
|
||||
kapt(libs.hilt.compiler)
|
||||
implementation(libs.jellyfin.core)
|
||||
implementation(libs.libmpv)
|
||||
implementation(libs.material)
|
||||
implementation(libs.timber)
|
||||
|
||||
// MPV
|
||||
implementation(files("libs/libmpv.aar"))
|
||||
|
||||
// Media3 FFmpeg decoder
|
||||
implementation(files("libs/lib-decoder-ffmpeg-release.aar"))
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -36,7 +36,7 @@ import androidx.media3.common.util.Size
|
|||
import androidx.media3.common.util.Util
|
||||
import androidx.media3.exoplayer.ExoPlaybackException
|
||||
import dev.jdtech.jellyfin.utils.AppPreferences
|
||||
import `is`.xyz.mpv.MPVLib
|
||||
import dev.jdtech.mpv.MPVLib
|
||||
import java.io.File
|
||||
import java.io.FileOutputStream
|
||||
import java.util.concurrent.CopyOnWriteArraySet
|
||||
|
|
|
@ -24,9 +24,11 @@
|
|||
<item>mpeg2video</item>
|
||||
<item>vp8</item>
|
||||
<item>vp9</item>
|
||||
<item>av1</item>
|
||||
</string-array>
|
||||
<string-array name="mpv_vos">
|
||||
<item>gpu</item>
|
||||
<item>gpu-next</item>
|
||||
</string-array>
|
||||
<string-array name="mpv_aos">
|
||||
<item>audiotrack</item>
|
||||
|
|
|
@ -20,6 +20,7 @@ hilt = "2.44.2"
|
|||
jellyfin = "1.4.0"
|
||||
kotlin = "1.8.0"
|
||||
ktlint = "11.0.0"
|
||||
libmpv = "0.1.0"
|
||||
material = "1.7.0"
|
||||
timber = "5.0.1"
|
||||
|
||||
|
@ -51,6 +52,7 @@ glide-compiler = { module = "com.github.bumptech.glide:compiler", version.ref =
|
|||
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
|
||||
hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
|
||||
jellyfin-core = { module = "org.jellyfin.sdk:jellyfin-core", version.ref = "jellyfin" }
|
||||
libmpv = { module = "dev.jdtech.mpv:libmpv", version.ref = "libmpv" }
|
||||
material = { module = "com.google.android.material:material", version.ref = "material" }
|
||||
timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" }
|
||||
|
||||
|
|
Loading…
Reference in a new issue