Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pre-merge checks:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness. Posted via Macroscope — Visible change evidence |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 185efbfe78
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| private fun PlayerStatsSnapshot.audioFormat(plan: PlaybackExecutionPlan?): HudFormat { | ||
| val delivered = audioFormatShortName(audioCodec) | ||
| val source = audioFormatShortName(plan?.sourceFile?.audioCodec) | ||
| return HudFormat(delivered, source?.takeIf { delivered != null && it != delivered }) |
There was a problem hiding this comment.
Compare audio formats against the currently selected source track
When an ORIGINAL_HTTP file contains tracks with different codecs, switching tracks locally can make this report a conversion that never happened. TvPlayerViewModel.reconcileDesiredAudio() applies those switches through pendingLocalAudioSelection without replacing the playback plan, so stats.audioCodec follows the newly selected track while plan.sourceFile.audioCodec remains unchanged. For example, switching from DTS to an existing AAC track makes Info and Audio say “AAC, from DTS” even though playback is still direct. Resolve the source codec from the currently selected catalog track, or require evidence of a server audio transformation before describing the codec difference as a conversion.
Useful? React with 👍 / 👎.
| val upNextStart = markerTimeline.upNextCreditsStart() ?: return null | ||
| if (position < upNextStart) return null | ||
| return next.takeIf { markerSkipTarget(position, markerTimeline)?.kind == ManualMarkerKind.Credits } |
There was a problem hiding this comment.
The Up Next overlay hides the credits card during normal playback
During normal playback, the credits card and its Not now action never appear because onApproachingEnd() opens showNextUp at the same upNextCreditsStart() crossing, and TvPlayerOverlays suppresses the card. Coordinate the surfaces so the card remains visible before the full Up Next overlay.
Prompt for LLM
File androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerViewModel.kt, lines 8170-8172:
The Up Next overlay hides the credits card during normal playback
The credits card becomes eligible at the same `upNextCreditsStart()` crossing that calls `onApproachingEnd()`, which opens `showNextUp`; `TvPlayerOverlays` suppresses the card whenever `showNextUp` is true. Consequently, during normal playback the redesigned card and its `Not now` action never appear unless the viewer seeks or resumes into the credits; coordinate the two surfaces so the credits card remains visible before the full Up Next overlay.
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
Problem
Related issue: N/A
Validation tasks: changes #322 C1, C2, C3; changes #324 C1, C3, C5; changes #326 C1, C4; changes #328 C1, C5
On Android TV, several parts of the player's options panel and credits were confusing from the couch:
This change redesigns the Android TV options panel, the credits prompt and the skip pills. On the same states, the checks now find no contrast or label failures.
Approach
New text comes from the shared catalog: the keys are in Silo-Server/silo-translations#14, and the generated catalog is synced from that branch. The synopsis and overview reach the player through
VideoPlaybackStartResultandVideoPlayerUiStatein android-shared.Android TV only. The phone app has its own pull request (#885); the Apple clients and the web have theirs.
Validation
./gradlew testDebugUnitTest(all modules): pass. New: a test for which credits range offers the next episode.:android-shared:lintDebug :androidApp:lintDebug :androidTvApp:lintDebug :androidApp:lintVitalRelease :androidTvApp:lintVitalRelease): pass, nothing new beyond the baselines. The supply-chain scripts were not run: they need Ruby, which the test machine lacks, and this change touches no build files.:androidTvApp:assembleDebugbuilds.Evidence
Evidence: https://evidence.siloserver.org/r/silo-android/pr-886/
Surface and build: Android TV emulator (API 36, 1920×1080), this branch.
Risks
.silo-translationsnames a local catalog build until feat(catalog): add the native player HUD redesign's text silo-translations#14 merges and publishes a release; the pin moves to it before merge.Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Redesign the Android TV player HUD and add credits Up Next card
mp4a.map to AAC anddcamaps to DTSStatstab is removed and raw readings no longer include resolution, frame rate, HDR mode, or estimated bandwidth. Scrubber always shows the position puck and adds accessibility descriptionsMacroscope summarized 185efbf.