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
This commit is contained in:
Ray 2026-01-17 18:09:05 -05:00 committed by GitHub
parent bbeb42dab9
commit 154713d3f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View file

@ -67,7 +67,7 @@ class DiscoverSeriesViewModel
val canCancelRequest = MutableStateFlow(false) val canCancelRequest = MutableStateFlow(false)
val userConfig = seerrServerRepository.current.map { it?.config } 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 {
init() init()

View file

@ -302,15 +302,12 @@ fun PlaybackPage(
modifier = scaledModifier, modifier = scaledModifier,
) )
if (presentationState.coverSurface) { if (presentationState.coverSurface) {
val isLoading by rememberPlayerLoadingState(player)
Box( Box(
Modifier Modifier
.matchParentSize() .matchParentSize()
.background(Color.Black), .background(Color.Black),
) { ) {
if (isLoading) { LoadingPage(focusEnabled = false)
LoadingPage(focusEnabled = false)
}
} }
} }