Few dev related fixes (#291)

This commit is contained in:
damontecres 2025-11-21 16:05:27 -05:00 committed by GitHub
parent 72970b9a4b
commit c600d2eb28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 8 deletions

View file

@ -97,5 +97,5 @@ jobs:
gh release create "${{ env.TAG_NAME }}" \ gh release create "${{ env.TAG_NAME }}" \
--latest=false --prerelease --title "${{ env.TAG_NAME }}" --target "${{ env.BRANCH_NAME }}" -F ci_release_note.txt \ --latest=false --prerelease --title "${{ env.VERSION_NAME }}" --target "${{ env.BRANCH_NAME }}" -F ci_release_note.txt \
"app/build/outputs/apk/**/*.apk" "app/build/outputs/apk/**/*.apk"

View file

@ -12,6 +12,7 @@ defaults:
env: env:
APK_SHORT_NAME: Wholphin.apk APK_SHORT_NAME: Wholphin.apk
GRADLE_OPTS: "-Dorg.gradle.jvmargs='-Xmx4g -XX:MaxMetaspaceSize=512m'" GRADLE_OPTS: "-Dorg.gradle.jvmargs='-Xmx4g -XX:MaxMetaspaceSize=512m'"
TAG_NAME: ${{ github.ref_name }}
jobs: jobs:
publish: publish:

View file

@ -192,7 +192,8 @@ sealed interface AppPreference<T> {
setter = { prefs, value -> setter = { prefs, value ->
prefs.updateHomePagePreferences { combineContinueNext = value } prefs.updateHomePagePreferences { combineContinueNext = value }
}, },
summary = R.string.combine_continue_next_summary, summaryOn = R.string.enabled,
summaryOff = R.string.disabled,
) )
val RewatchNextUp = val RewatchNextUp =

View file

@ -10,6 +10,7 @@ import androidx.compose.ui.unit.dp
import androidx.tv.material3.MaterialTheme import androidx.tv.material3.MaterialTheme
import androidx.tv.material3.ProvideTextStyle import androidx.tv.material3.ProvideTextStyle
import androidx.tv.material3.Text import androidx.tv.material3.Text
import com.github.damontecres.wholphin.preferences.PlayerBackend
import com.github.damontecres.wholphin.ui.byteRateSuffixes import com.github.damontecres.wholphin.ui.byteRateSuffixes
import com.github.damontecres.wholphin.ui.formatBytes import com.github.damontecres.wholphin.ui.formatBytes
import com.github.damontecres.wholphin.ui.letNotEmpty import com.github.damontecres.wholphin.ui.letNotEmpty
@ -30,12 +31,14 @@ fun PlaybackDebugOverlay(
) { ) {
ProvideTextStyle(MaterialTheme.typography.bodySmall.copy(color = MaterialTheme.colorScheme.onSurface)) { ProvideTextStyle(MaterialTheme.typography.bodySmall.copy(color = MaterialTheme.colorScheme.onSurface)) {
SimpleTable( SimpleTable(
listOf( buildList {
"Backend:" to currentPlayback?.backend?.toString(), add("Backend:" to currentPlayback?.backend?.toString())
"Play method:" to currentPlayback?.playMethod?.serialName, add("Play method:" to currentPlayback?.playMethod?.serialName)
"Video Decoder:" to currentPlayback?.videoDecoder, if (currentPlayback?.backend == PlayerBackend.EXO_PLAYER) {
"Audio Decoder:" to currentPlayback?.audioDecoder, add("Video Decoder:" to currentPlayback.videoDecoder)
), add("Audio Decoder:" to currentPlayback.audioDecoder)
}
},
) )
currentPlayback?.transcodeInfo?.let { currentPlayback?.transcodeInfo?.let {
TranscodeInfo(it, Modifier) TranscodeInfo(it, Modifier)