mirror of
https://github.com/NuvioMedia/NuvioMobile.git
synced 2026-07-26 17:12:16 +00:00
bump version - hotfix
This commit is contained in:
parent
570b123186
commit
350250cb60
3 changed files with 12 additions and 2 deletions
4
composeApp/proguard-rules.pro
vendored
4
composeApp/proguard-rules.pro
vendored
|
|
@ -29,6 +29,10 @@
|
|||
-keep class com.nuvio.app.features.streams.StreamsScreenKt { *; }
|
||||
-keep class com.nuvio.app.features.streams.StreamsScreenKt$* { *; }
|
||||
|
||||
# Avoid R8 producing verifier-invalid bytecode for the large player composable.
|
||||
-keep class com.nuvio.app.features.player.PlayerScreenKt { *; }
|
||||
-keep class com.nuvio.app.features.player.PlayerScreenKt$* { *; }
|
||||
|
||||
# QuickJS plugin runtime is dynamic; keep runtime and app plugin classes.
|
||||
-keep class com.dokar.quickjs.** { *; }
|
||||
-keep class com.nuvio.app.features.plugins.** { *; }
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
CURRENT_PROJECT_VERSION=73
|
||||
MARKETING_VERSION=0.2.2
|
||||
CURRENT_PROJECT_VERSION=74
|
||||
MARKETING_VERSION=0.2.3
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ final class MPVPlayerBridgeImpl: NSObject, NuvioPlayerBridge {
|
|||
)
|
||||
}
|
||||
func setPlaybackSpeed(speed: Float) { playerVC?.setSpeed(speed) }
|
||||
func setMuted(muted: Bool) { playerVC?.setMuted(muted) }
|
||||
func setResizeMode(mode: Int32) { playerVC?.setResize(Int(mode)) }
|
||||
|
||||
// Audio tracks
|
||||
|
|
@ -517,6 +518,11 @@ final class MPVPlayerViewController: UIViewController {
|
|||
mpv_set_property(mpv, "speed", MPV_FORMAT_DOUBLE, &s)
|
||||
}
|
||||
|
||||
func setMuted(_ muted: Bool) {
|
||||
guard mpv != nil else { return }
|
||||
setFlag("mute", muted)
|
||||
}
|
||||
|
||||
func setResize(_ mode: Int) {
|
||||
guard mpv != nil else { return }
|
||||
switch mode {
|
||||
|
|
|
|||
Loading…
Reference in a new issue