From 154713d3f1ba18113c453b464db0e5bff99e8c9b Mon Sep 17 00:00:00 2001 From: Ray <154766448+damontecres@users.noreply.github.com> Date: Sat, 17 Jan 2026 18:09:05 -0500 Subject: [PATCH] Several small bug fixes (#717) ## Description - Fixes a copy-paste error where checking if Seerr support 4K for TV accidently used the movie 4K value - Always show the loading indicator while waiting for playback to begin - This has the side effect of fixing MPV playback not starting until the UI changes (recomposes). That's a hacky fix, but should work while I try to figure out the real cause ### Related issues Fixes #715 --- .../wholphin/ui/detail/discover/DiscoverSeriesViewModel.kt | 2 +- .../github/damontecres/wholphin/ui/playback/PlaybackPage.kt | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/discover/DiscoverSeriesViewModel.kt b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/discover/DiscoverSeriesViewModel.kt index c2909bdc..4803aee4 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/discover/DiscoverSeriesViewModel.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/discover/DiscoverSeriesViewModel.kt @@ -67,7 +67,7 @@ class DiscoverSeriesViewModel val canCancelRequest = MutableStateFlow(false) val userConfig = seerrServerRepository.current.map { it?.config } - val request4kEnabled = seerrServerRepository.current.map { it?.request4kMovieEnabled ?: false } + val request4kEnabled = seerrServerRepository.current.map { it?.request4kTvEnabled ?: false } init { init() diff --git a/app/src/main/java/com/github/damontecres/wholphin/ui/playback/PlaybackPage.kt b/app/src/main/java/com/github/damontecres/wholphin/ui/playback/PlaybackPage.kt index 122fc5d4..b671b10b 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/ui/playback/PlaybackPage.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/ui/playback/PlaybackPage.kt @@ -302,15 +302,12 @@ fun PlaybackPage( modifier = scaledModifier, ) if (presentationState.coverSurface) { - val isLoading by rememberPlayerLoadingState(player) Box( Modifier .matchParentSize() .background(Color.Black), ) { - if (isLoading) { - LoadingPage(focusEnabled = false) - } + LoadingPage(focusEnabled = false) } }