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 c9fcf472..05d8c450 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 @@ -243,8 +243,8 @@ class MpvPlayer( } override fun getPlayWhenReady(): Boolean { - throwIfReleased() if (DEBUG) Timber.v("getPlayWhenReady") + if (isReleased) return false val isPaused = MPVLib.getPropertyBoolean("pause") ?: this.isPaused return !isPaused }