mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Few dev related fixes (#291)
This commit is contained in:
parent
72970b9a4b
commit
c600d2eb28
4 changed files with 13 additions and 8 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -97,5 +97,5 @@ jobs:
|
|||
|
||||
|
||||
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"
|
||||
|
|
|
|||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -12,6 +12,7 @@ defaults:
|
|||
env:
|
||||
APK_SHORT_NAME: Wholphin.apk
|
||||
GRADLE_OPTS: "-Dorg.gradle.jvmargs='-Xmx4g -XX:MaxMetaspaceSize=512m'"
|
||||
TAG_NAME: ${{ github.ref_name }}
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
|
|
|||
|
|
@ -192,7 +192,8 @@ sealed interface AppPreference<T> {
|
|||
setter = { prefs, value ->
|
||||
prefs.updateHomePagePreferences { combineContinueNext = value }
|
||||
},
|
||||
summary = R.string.combine_continue_next_summary,
|
||||
summaryOn = R.string.enabled,
|
||||
summaryOff = R.string.disabled,
|
||||
)
|
||||
|
||||
val RewatchNextUp =
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import androidx.compose.ui.unit.dp
|
|||
import androidx.tv.material3.MaterialTheme
|
||||
import androidx.tv.material3.ProvideTextStyle
|
||||
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.formatBytes
|
||||
import com.github.damontecres.wholphin.ui.letNotEmpty
|
||||
|
|
@ -30,12 +31,14 @@ fun PlaybackDebugOverlay(
|
|||
) {
|
||||
ProvideTextStyle(MaterialTheme.typography.bodySmall.copy(color = MaterialTheme.colorScheme.onSurface)) {
|
||||
SimpleTable(
|
||||
listOf(
|
||||
"Backend:" to currentPlayback?.backend?.toString(),
|
||||
"Play method:" to currentPlayback?.playMethod?.serialName,
|
||||
"Video Decoder:" to currentPlayback?.videoDecoder,
|
||||
"Audio Decoder:" to currentPlayback?.audioDecoder,
|
||||
),
|
||||
buildList {
|
||||
add("Backend:" to currentPlayback?.backend?.toString())
|
||||
add("Play method:" to currentPlayback?.playMethod?.serialName)
|
||||
if (currentPlayback?.backend == PlayerBackend.EXO_PLAYER) {
|
||||
add("Video Decoder:" to currentPlayback.videoDecoder)
|
||||
add("Audio Decoder:" to currentPlayback.audioDecoder)
|
||||
}
|
||||
},
|
||||
)
|
||||
currentPlayback?.transcodeInfo?.let {
|
||||
TranscodeInfo(it, Modifier)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue