Compare commits

...
3 Commits
Author SHA1 Message Date
github-actions[bot] 642c49b1ea chore: bump version to 1.27.1 2026-03-14 04:03:34 +00:00
edde746 e13b16f13c fix(android): mpv boolean NPE on dispose 2026-03-14 05:01:39 +01:00
github-actions[bot] 1f9fa9ba4f chore: update cask to 1.27.0 2026-03-14 01:17:01 +00:00
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
cask "plezy" do
version "1.26.1"
sha256 "1474e1fb13689c08f9a25eb426bc84cc95c1127f85c4fb60ee7cb9ec57eb516a"
version "1.27.0"
sha256 "39baaece57637889946ef847e678f33817c0b900ae52a626f5db69415a60fb7b"
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
name "Plezy"
@@ -115,7 +115,7 @@ class MpvPlayerCore(private val activity: Activity) :
}
},
isPaused = {
try { MPVLib.getPropertyBoolean("pause") }
try { MPVLib.getPropertyBoolean("pause") == true }
catch (e: Exception) { true }
}
)
@@ -124,7 +124,7 @@ class MpvPlayerCore(private val activity: Activity) :
handler = handler,
onDisplayChanged = {
try {
if (MPVLib.getPropertyBoolean("pause")) {
if (MPVLib.getPropertyBoolean("pause") == true) {
Log.d(TAG, "Display changed, resuming playback")
MPVLib.setPropertyBoolean("pause", false)
}
@@ -364,7 +364,7 @@ class MpvPlayerCore(private val activity: Activity) :
if (disposing) return
when (eventId) {
MPVLib.MPV_EVENT_END_FILE -> {
val eofReached = try { MPVLib.getPropertyBoolean("eof-reached") } catch (_: Exception) { false }
val eofReached = try { MPVLib.getPropertyBoolean("eof-reached") == true } catch (_: Exception) { false }
val data: Map<String, Any>? = if (eofReached) {
mapOf("reason" to 0) // EOF
} else {
+1 -1
View File
@@ -1,7 +1,7 @@
name: plezy
description: "A beautiful Plex client for Flutter"
publish_to: "none"
version: 1.27.0+57
version: 1.27.1+58
environment:
sdk: ^3.8.1