Skip to content

feat(tv): add a manual Up Next control to the player transport - #110

Merged
RXWatcher merged 1 commit into
Silo-Server:mainfrom
RXWatcher:feat/tv-manual-up-next
Jul 27, 2026
Merged

feat(tv): add a manual Up Next control to the player transport#110
RXWatcher merged 1 commit into
Silo-Server:mainfrom
RXWatcher:feat/tv-manual-up-next

Conversation

@RXWatcher

Copy link
Copy Markdown
Collaborator

Problem

Android TV surfaced Up Next automatically at the credits, but there was no way to reach it early. A viewer who is done with an episode had to sit through the outro or leave the player and navigate back in.

Ports Silo-Server/silo-apple#86, which added the equivalent control to the tvOS transport.

Change

A Skip-Next control in the transport's secondary group, shown only when a next episode is actually resolved.

The availability predicate lives on the view model (canShowNextUpNow) and is shared with the automatic path, deliberately: a manual button that can appear when the automatic trigger would find nothing is a button that does nothing when pressed. Apple made the same call in #86 for the same reason.

The one judgement call worth reviewing

It does not start the auto-advance countdown. Someone who opened Up Next themselves is choosing what to do next; a timer that pulls them into the following episode mid-decision is the opposite of what the press asked for. The automatic path keeps its countdown and its pass-out gating untouched — the only thing that differs between the two entry points is whether a countdown runs.

If the project would rather the manual path behave identically to the automatic one, that is a one-line change (startNextUpCountdown() in onUserRequestedNextUp), but I think the asymmetry is right.

Testing

:androidTvApp:assembleDebug and the TV unit suite green on this branch, based on upstream/main.

Not exercised on hardware. The control is wired and the predicate is shared, but I have not watched an episode to the point of having a resolved next episode and pressed it.

AI-use disclosure

Written by Claude Opus 5 (Claude Code) working with @RXWatcher, who is tracking Apple/Android parity and directed this port.

Ports silo-apple#86. Android TV already surfaced Up Next automatically at
the credits, but there was no way to reach it early — a viewer who is
done with an episode had to sit through the outro or leave the player and
navigate back in.

The control appears in the transport's secondary group only when a next
episode is actually resolved, and the predicate lives on the view model
so the manual button and the automatic trigger cannot disagree about
whether there is anything to advance to. A button that appears when the
automatic path would find nothing is a button that does nothing.

It deliberately does NOT start the auto-advance countdown. Someone who
opened this themselves is choosing; a timer that pulls them into the next
episode mid-decision is the opposite of what the press asked for. The
automatic path keeps its countdown and its pass-out gating untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Db4dSxN9tH8yN7uUP549tK
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@RXWatcher, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 18 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3a6fb444-68f4-4cf8-8112-caf1b37630f3

📥 Commits

Reviewing files that changed from the base of the PR and between 7e9fdc1 and 536a74c.

📒 Files selected for processing (3)
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerTransportCluster.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerViewModel.kt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RXWatcher
RXWatcher merged commit da26f08 into Silo-Server:main Jul 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant