You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related issue: Discussion #4443
Validation tasks: changes #1221 C1 (the admin device-override list gains a Show Next Up row); unblocks #1252 C9 (Next Up on web; the case is not run yet)
Depends on #4501 (the setting). #4502 (Next Up from the end of the file) has merged. Until #4501 merges, this branch carries its commits; the changes here are the commits from "feat(web): let Show Next Up be turned off" on. The last commit introduces playback.next_up_enabled at manifest revision 31, because main used revision 30 for #5135; #4501 needs the same change.
The web app has no way to turn Next Up off. Turning off Auto-play next only stops the countdown; the Next Up screen still opens at the end of every episode.
Show Next Up on Settings → Playback now offers Off. With Off, the web player opens no Next Up screen, runs no countdown and starts no next episode; when the episode ends the player closes the way its Close button does, back to where playback started.
Approach
Off writes playback.next_up_enabled false (feat(settings): add a setting that turns Next Up off #4501) and leaves the stored seconds alone, so picking a time later restores them and turns Next Up back on. Both keys go through the profile writer, which also clears a device override on either.
Off is offered only when the server's settings capabilities list the key. Against an older server the picker keeps its earlier choices and never sends the key.
The picker stays disabled until capabilities and values have loaded, so a choice cannot skip the Off key or miss a device override it should clear.
If Next Up opened before the viewer turned it off, the end of the episode closes it as that screen's own Close does. A minimized or picture-in-picture player does not close; it leaves the page being browsed alone.
The row moved into its own component (NextUpPromptSetting) to keep Playback settings within the file size limit.
Validation
Go: go build, go vet, make test-go, make lint-changed, make lint-router-recovery pass.
Web: pnpm run lint, format:check, build, budget:check and make test-web pass. Tests cover the picker's value and writes and the player's Off decision.
Contracts: make verify-settings-bindings-all, the apiv2 checks, verify-local-paths, verify-size-ratchet, verify-migrations pass.
Not captured: a recording of playback reaching the end with Off; the player decision is covered by the unit tests.
Settings → Playback, desktop and 390 px wide: the picker on main and with Off on this branch.
Risks
The Off label comes from Silo-Server/silo-translations#86, which main's pinned release includes. The manifest's new label and description come from Silo-Server/silo-translations#166, synced here with --local from #166's head, which sits on silo-translations' current main (.silo-translations reads local-87649321e400). Before this merges, #166 has to merge and this branch has to re-sync with --version to the release #166 publishes.
Checklist
I read and can explain the complete diff.
This pull request addresses one concern.
Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
The Evidence section shows every change a user can see, or how I checked a change nobody sees.
Fixed: a failed capabilities or effective-settings read no longer unlocks the picker, Off that resolves after the end closes the card, and the manifest text has catalog entries (silo-translations#166). Answered: the two writes of one choice can half-land, with a failure toast; the player falls back to Next Up on when the capabilities read fails; a profile switch or a settings read stalled past the countdown can still slip past. Left for the maintainers: the shuffle and minimized-player wording, the Your Devices screen hiding a device's Off override, and Jellyfin auto-play.
AI Disclosure
Harness: Claude Code, running in T3 Code
Tool(s): Claude Code, GitHub CLI, Codex CLI (review only)
Adversarial review: four independent reviews (gpt-6.2-sol, gpt-6.2-astra, claude-opus-5-5, claude-fable-5-2) of the branch diff for correctness, repository standards and the discussion's request, repeated on later cleanup; the real findings were fixed before opening (a skipped Next Up on write that could leave Off set was reverted). The maintainer review's council rounds are under Council review above.
Note
Add playback.next_up_enabled setting so Show Next Up can be turned off
Adds playback.next_up_enabled (revision 31) as a remotely persisted boolean defaulting to true, declared in the settings manifest, settingsContract.ts, and keys.go
The Show Next Up picker in NextUpPromptSetting.tsx gains an Off choice when the server supports the new setting; Off writes enabled=false without changing stored seconds, and numeric choices re-enable it. The key is hidden from the device settings screen
New resolveNextUp in nextUpPrompt.ts resolves prompt timing and end behavior. When disabled for non-shuffled playback, WatchPlaybackChrome.tsx suppresses early prompting and closes or exits when a series episode ends; shuffled playback keeps post-roll
Adds translations for the setting, export-job label, and rating controls across all locales, and relabels two playback actions from "Play Now" to "Play Next Up"
Behavioral Change: settings revision bumps from 30 to 31 in settingskeys.Revision, SETTINGS_REVISION, and the conformance fixtures; servers without the enabled capability omit the Off choice and fall back to contract defaults
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
No actionable comments were generated in the recent review.
Walkthrough
The settings contract adds playback.next_up_enabled. The Playback screen combines enablement and prompt duration in one control. The playback host uses the resolved setting to choose prompt timing and end behavior.
Changes: Next Up Playback
Layer / File(s)
Summary
Define Next Up settings contracts/settings/v1/manifest.json, contracts/settings/v1/conformance.json, internal/settingskeys/keys.go, web/src/lib/settingsContract.ts, web/src/lib/settingsConformance.json, docs/settings-api.md
The settings contract adds playback.next_up_enabled, defaulting to true, and advances the manifest revision to 31. Conformance fixtures and documentation describe the setting and Next Up behavior.
Add the combined Playback control web/src/pages/settings/nextUpPicker.ts, web/src/pages/settings/NextUpPromptSetting.tsx, web/src/pages/settings/PlaybackSettings.tsx, web/src/lib/deviceSettingGroups.ts, web/src/pages/settings/nextUpPicker.test.ts
The Playback control offers Off when the server supports the enable setting. It saves the enabled state and prompt duration, and hides the individual setting from device settings.
Apply Next Up policy during playback web/src/playback/nextUpPrompt.ts, web/src/playback/WatchPlaybackChrome.tsx, web/src/playback/nextUpPrompt.test.ts
The playback host resolves prompt timing and end behavior from supported settings. When Next Up is disabled outside shuffle playback, it closes playback at the episode end instead of starting post-roll.
sequenceDiagram
participant EffectiveSettings
participant WatchPlaybackHostContent
participant resolveNextUp
participant Player
WatchPlaybackHostContent->>EffectiveSettings: Read supported Next Up settings
EffectiveSettings->>WatchPlaybackHostContent: Return settings and read status
WatchPlaybackHostContent->>resolveNextUp: Resolve prompt duration and end behavior
Player->>WatchPlaybackHostContent: Report series episode end
WatchPlaybackHostContent->>Player: Continue post-roll or close playback
Loading
Possibly related issues
Series — Web #1252 covers web validation of Next Up and next-episode autoplay behavior when the setting is Off. This change affects that behavior.
Possibly related PRs
Silo-Server/silo-server#4501: It adds the same playback.next_up_enabled setting and shares the manifest revision decision with this change.
Suggested reviewers:quick104
Merge Risk: Low · up to 421aa
This change adds an Off choice for Show Next Up and closes playback at episode end when it is selected, except during shuffle. The remaining risks are minor: a translation pin that should be re-synced before merge, and two narrow edge cases involving a failed settings read or an episode ending before settings load. It is reasonably safe to merge once the translation pin is addressed.
Security architecture risk: Low · up to 421aa
The change is limited to playback preferences, but a save that overlaps a profile switch may affect the newly active profile. A delayed settings read can also let the next episode start despite Show Next Up being off.
Retained concerns
Low · security · inferred: A timing selection is not bound to the profile that initiated it. If the active profile changes before the second write is dispatched, the enable write may land on the newly active profile, and any device-override cleanup can use the previous profile’s effective-value snapshot. The base picker already inherited the write-to-cleanup gap for one key; the PR adds a second key write and another opportunity for the target to change.
Low · reliability · inferred: The new Off preference does not govern autoplay while its value is unresolved. If an episode ends during that window, the host can enter post-roll and start the existing countdown when Auto-play next is on and a next episode is available. Resolving Off closes post-roll if it is still open, but does not undo a next episode already started. A failed read also falls back to the default On behavior.
Security review details
Security Blast Radius
inferred — A misdirected write can affect the active profile’s Next Up preference on clients that honor it. A misdirected override deletion can affect that profile on the current device. The inspected calls do not grant additional account or media permissions.
Trust Boundaries and Controls
observed — The picker waits for capability and effective-value data before accepting a choice. That gate controls compatibility, not identity continuity: the picker’s writes do not pass the request layer’s optional captured profile context.
Hardening Proposals
proposed — Bind the entire picker save, including override cleanup, to the initiating profile and session. Stop remaining writes if that context changes, and reconcile any step that already committed.
proposed — Gate the non-shuffle countdown and automatic handoff on a resolved Next Up decision. Define the read-failure fallback explicitly so it is distinct from confirmed lack of server support.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "feat(web): let Show Next Up be turned off" matches the main change. The PR adds an Off choice to the Show Next Up picker, backed by the new playback.next_up_enabled setting and resolveNextU…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description is specific and relevant to the changeset. It explains the problem (no way to turn off Next Up on web), the Off option on Settings → Playback, the approach (writing playback.next_up_en…
Full details: Title check
Explanation
The title "feat(web): let Show Next Up be turned off" matches the main change. The PR adds an Off choice to the Show Next Up picker, backed by the new playback.next_up_enabled setting and resolveNextUp behavior in the web app.
Full details: Description check
Explanation
The description is specific and relevant to the changeset. It explains the problem (no way to turn off Next Up on web), the Off option on Settings → Playback, the approach (writing playback.next_up_enabled, keeping stored seconds, capability gating, and the NextUpPromptSetting extraction), validation steps, and risks. It maps closely to the files in the raw summary.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 4c815b9a-00f6-4c91-83a5-c0efa80d3a4f
Commits
Reviewing files that changed from the base of the PR and between bea0256 and 421aab3.
Files selected for processing: 3
web/src/pages/settings/NextUpPromptSetting.tsx
web/src/pages/settings/PlaybackSettings.tsx
web/src/playback/WatchPlaybackChrome.tsx
Files skipped from review as they are similar to previous changes: 1
web/src/pages/settings/NextUpPromptSetting.tsx
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.
silo-triageBot
added
enhancement
New feature or request
needs-review
Needs maintainer review to resolve uncertain classification, scope, or changed evidence.
priority: P2
Limited scope, workaround exists, or polish
stacked
Base is another open PR; merge in stack order named in the body
labels
Nov 18, 2026
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 5
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 1a77d3da-2451-47c3-9c0e-b10450a2df8c
Commits
Reviewing files that changed from the base of the PR and between e8de111 and bc4e014.
Files selected for processing: 69
.silo-translations
contracts/settings/v1/conformance.json
contracts/settings/v1/manifest.json
docs/markers-api.md
docs/settings-api.md
internal/markers/credits_placement.go
internal/settingscontract/contract_test.go
internal/settingskeys/keys.go
web/src/hooks/queries/autoPlayNext.ts
web/src/lib/deviceSettingGroups.ts
web/src/lib/settingsConformance.json
web/src/lib/settingsContract.ts
web/src/lib/userSettingsNav.ts
web/src/locales/ar-XB.json
web/src/locales/ar.json
web/src/locales/bg.json
web/src/locales/ca.json
web/src/locales/cs.json
web/src/locales/da.json
web/src/locales/de.json
web/src/locales/el.json
web/src/locales/en-XA.json
web/src/locales/en.json
web/src/locales/es.json
web/src/locales/et.json
web/src/locales/fi.json
web/src/locales/fr.json
web/src/locales/he.json
web/src/locales/hi.json
web/src/locales/hr.json
web/src/locales/hu.json
web/src/locales/id.json
web/src/locales/it.json
web/src/locales/ja.json
web/src/locales/keys.ts
web/src/locales/ko.json
web/src/locales/lt.json
web/src/locales/lv.json
web/src/locales/ms.json
web/src/locales/nb.json
web/src/locales/nl.json
web/src/locales/pl.json
web/src/locales/pt-BR.json
web/src/locales/pt-PT.json
web/src/locales/ro.json
web/src/locales/ru.json
web/src/locales/sk.json
web/src/locales/sl.json
web/src/locales/sv.json
web/src/locales/th.json
web/src/locales/tr.json
web/src/locales/uk.json
web/src/locales/vi.json
web/src/locales/zh-Hans.json
web/src/locales/zh-Hant.json
web/src/pages/settings/NextUpPromptSetting.tsx
web/src/pages/settings/PlaybackSettings.tsx
web/src/pages/settings/nextUpPicker.test.ts
web/src/pages/settings/nextUpPicker.ts
web/src/pages/watchRouteHelpers.ts
web/src/playback/WatchPlaybackChrome.tsx
web/src/playback/nextUpPrompt.test.ts
web/src/playback/nextUpPrompt.ts
web/src/player/components/NextEpisodeOverlay.tsx
web/src/player/components/VideoPlayer.tsx
web/src/player/components/WatchPage.tsx
web/src/player/hooks/useNextEpisode.ts
web/src/player/types.ts
web/src/player/utils/watchPageMarkers.ts
Files with no reviewable changes: 7
web/src/hooks/queries/autoPlayNext.ts
web/src/pages/watchRouteHelpers.ts
web/src/player/components/NextEpisodeOverlay.tsx
web/src/player/components/WatchPage.tsx
web/src/player/hooks/useNextEpisode.ts
web/src/player/types.ts
web/src/player/utils/watchPageMarkers.ts
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Maintainability & Code Quality · Quick win
Re-sync .silo-translations to a published release before merge.
The file pins version=local-05caaf60fca0 with sha256=-. scripts/sync-translations rejects this pin unless --local <checkout> is passed, so a fresh checkout cannot reinstall these translations through the normal sync. AGENTS.md requires re-syncing with --version <release> before pull request merges so that .silo-translations names a published release.
After the translation release that contains these keys is published, re-sync the pin:
scripts/sync-translations --platform web --version <published-release>
The reason will be displayed to describe this comment to others. Learn more.
Agreed, and already called out in the description: the pin is local until Silo-Server/silo-translations#86 is released, then this branch is re-synced with --version before merge.
The reason will be displayed to describe this comment to others. Learn more.
🤖 Claude Code (claude-opus-5-5)
Still open as a merge gate. The pin now reads local-87649321e400, built from Silo-Server/silo-translations#166 (which replaces #86) on top of that repository's current main. After #166 merges and its release publishes, this branch gets re-synced with --version <release> before merge.
The reason will be displayed to describe this comment to others. Learn more.
Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!
Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.
Reviewing changes in Silo
Include the related issue, expected behavior, and validation steps in the PR description.
For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
Follow this repository's AGENTS.md and CONTRIBUTING.md.
Request another review with @kody start-review in a PR comment.
React with 👍 or 👎 to give feedback on individual suggestions.
Review settingsReview Options
The following review options are enabled or disabled:
Options
Enabled
Bug
✅
Performance
✅
Security
✅
Business Logic
❌
⚠️ 4 Kody Rule(s) were not evaluated
These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:
Preserve optional store capabilities through production wrappers
Detach mandatory cleanup from request cancellation and bound its lifetime
Preserve durable media identity and share identity-evidence precedence
Bound decoder throughput trades and share direct-play eligibility
This review fixed three gaps on this branch and opened the catalog pull request for the new manifest text. Three items are left for the maintainers to settle. 9e9bd7e merges main to clear a conflict in the generated locale files and the translation pin. It doesn't change what the branch does. The branch was not rewritten. Main's only change to this PR's files swaps pixel font sizes for rem.
Addressed findings
A failed capabilities read unlocked the picker (CodeRabbit). Fixed in bea0256. The picker waits for capability data, so a seconds choice can't skip next_up_enabled and leave Next Up off.
A failed effective-settings read unlocked the picker with defaults (council and code-review). Fixed in 421aab3. A viewer with Off saw a lead time, re-picking that value did nothing, and a device override went uncleared. This reverses the author's earlier acceptance of that fallback. The PR body promises the picker waits for values, and three reviewers found the failure on their own.
Off that resolved after the end left the countdown running (council). Fixed in 421aab3. When the read returned after the episode ended, or another device turned Next Up off during the countdown, nothing read the setting again. The card now closes once Off resolves.
CodeRabbit's other finding, stopping a minimized player when an Off episode ends, is answered in its thread. With Next Up on, the background bar and picture-in-picture already leave the ended episode in place, so Off matches that.
For the maintainers to settle
Shuffle and minimized-player wording. The manifest notes and docs/settings-api.md promise no automatic next episode and a close at the end. The web player keeps a shuffle going with Off, and leaves a minimized or picture-in-picture player alone. Either the notes name both exceptions, or the players change. The text is identical in feat(settings): add a setting that turns Next Up off #4501.
Your Devices hides a device's Off override. If another app stores next_up_enabled false for its device, the web Your Devices screen shows that device's lead time and gives no way to see or clear the Off override. The admin device editor does list it.
Jellyfin auto-play.EnableNextEpisodeAutoPlay comes from playback.auto_play_next alone, so Next Up Off doesn't stop auto-play in a Jellyfin client. The docs say this setting doesn't extend the Jellyfin protocol.
Accepted risks. One choice writes two keys in sequence. If the second write fails, the first stays saved and the viewer sees a failure toast. If the capabilities read fails, the player falls back to Next Up on, as it does after a failed settings read. A profile switch inside one request's round trip, or a settings read still stalled when the countdown ends, can still slip past.
Validated features: no passed case regresses. #1221 C1 (web admin device overrides) changes slightly: the "show all" list gains a Show Next Up row. #1252 C9 (Next Up on web) hasn't been run, and this change unblocks it. The Validation tasks: line now says so.
Verification: on 9e9bd7e, after the merge and the locale sync, the web typecheck, ESLint on the changed files, the settings, playback, lib and i18n tests (173), make verify-settings-bindings and the settings conformance test pass. Earlier, on fe878da, the web typecheck, ESLint and Prettier on the changed files pass, as do the full web suite (3291 tests, before the locale sync), the i18n and lib tests after it, the size ratchet, and silo-translations' make check. nextUpPicker.test.ts and the resolveNextUp cases test new modules, so they can't fail on the base. Nobody has watched playback reach the end with Off live. The earlier Go DB pins failure was internal/backup TestRestorePluginProvisioningDB losing its test database to another connection. This PR doesn't touch that code.
Council review: two rounds, on bea0256 and fe878da. Sol (gpt-6.2-sol, medium) 6/10 then 8/10, Opus (claude-opus-5-5, medium) 8.5/10 then 8/10, Gemini (gemini-4-neon, medium) 7/10 then 9/10. All three name the local-* translation pin as the remaining step before merge. 9e9bd7e only merges main and re-syncs generated files, so no new round ran.
Readiness: no verified defect remains in this branch. It's conditional on feat(settings): add a setting that turns Next Up off #4501 merging first, on the translation pin moving to a published release, on the three decisions above, and on nobody having shown Off at the end of an episode live.
Viewers who would rather go back to the series page at the end of an
episode cannot turn the Next Up card off: Auto-play Next only stops the
countdown, and the card still opens.
Add playback.next_up_enabled at manifest revision 30, a boolean stored per
profile with a per-device override and default true. False means no card,
no countdown and no automatic next episode; the episode plays out and the
player closes as its Close action does. next_up_prompt_seconds keeps deciding when
the card opens while it is on, and the settings docs now state that it
counts from the end of the file, not from a credits marker. Clients that
predate the key keep showing Next Up.
The web device settings screen hides the key until the web player applies
it.
The Show Next Up picker on Playback settings gets an Off choice, backed by
playback.next_up_enabled. Off writes only that key, so the lead time comes
back when Next Up is turned on again; every other choice writes the lead
time and turns Next Up on. A server below settings revision 30 does not
define the key, so it is never offered Off or sent the key.
With Next Up off the player opens nothing early, and the end of a series
episode closes to where post-roll's Close goes instead of entering
post-roll, so neither the countdown nor auto-play runs. Shuffles, multi-part
items and Watch Together rooms keep their current behaviour.
Review follow-ups. With Next Up off, the end of a series episode now also
closes a card that opened before the viewer turned it off, and a minimized
or picture-in-picture player leaves the page being browsed alone. The Show
Next Up picker waits for the capabilities and values reads, so a choice
knows which keys to write and which device override to clear.
With Next Up off the end of an episode went through post-roll's close,
which opens the episode page and leaves the watch page in history. The
setting promises the player's own Close: back to where playback started,
replacing the watch entry. A card opened before Off was chosen still closes
as its own Close does.
Main shipped revision 30 for the cellular quality default (Silo-Server#5135) without
this key. A server built from it reports revision 30, so a client gating
playback.next_up_enabled on revision 30 would offer Off there and write a
key that server rejects. Introduce the key at 31 and bump the manifest,
conformance fixtures and generated bindings to match.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
🤖 Claude Code (claude-opus-5-5)
Rerun on head b7e2f9cbe after #4502 merged and this branch started conflicting with main. One new finding, inline. It comes from main moving under the stack, not from this PR's own commits. I'm fixing it in a commit on this branch as part of rebuilding the branch on current main, so there's no need to change it yourself.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: d3a43167-5295-4724-9f33-7452f1e20204
Commits
Reviewing files that changed from the base of the PR and between 7dd2c34 and 6bf489d.
Files selected for processing: 13
contracts/settings/v1/conformance.json
contracts/settings/v1/manifest.json
docs/settings-api.md
internal/settingskeys/keys.go
web/src/lib/deviceSettingGroups.ts
web/src/lib/settingsConformance.json
web/src/lib/settingsContract.ts
web/src/pages/settings/NextUpPromptSetting.tsx
web/src/pages/settings/PlaybackSettings.tsx
web/src/pages/settings/nextUpPicker.ts
web/src/playback/WatchPlaybackChrome.tsx
web/src/playback/nextUpPrompt.test.ts
web/src/playback/nextUpPrompt.ts
Files skipped from review as they are similar to previous changes: 1
contracts/settings/v1/conformance.json
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
A failed capabilities read left the picker usable without knowing whether
the server defines playback.next_up_enabled. On a server that does, with
Next Up off, the read left the key out, the picker showed the default
lead time, and a seconds choice wrote only the seconds, so Next Up stayed
off. The picker now waits for the capabilities to arrive, as the player's
own capabilities gate does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Two gaps the review round found:
- A failed effective-settings read unlocked the Show Next Up picker with
the contract defaults, so a viewer with Off saw a lead time, choosing
that same lead time did nothing, and a device override went uncleared.
The picker now waits for the values as it waits for the capabilities.
- Off that resolved after the end had opened the card (the read was still
loading, or another device turned Next Up off during the countdown) was
never read again, so the countdown could start the next episode. The
card now closes once Off resolves, as the end of the episode would have.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds settingsManifest.playback.next_up_enabled.label and .description in
every web language, from Silo-Server/silo-translations#166 applied to the
pinned release 2026.11.22-d12da65. Synced with --local; re-pin to the
release Silo-Server#166 publishes before this merges.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
silo-triageBot
added
size/XL
500–999 added + deleted lines (all files); change volume, not priority.
and removed
size/L
200–499 added + deleted lines (all files); change volume, not priority.
labels
Nov 24, 2026
Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.
Reviewing changes in Silo
Include the related issue, expected behavior, and validation steps in the PR description.
For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
Follow this repository's AGENTS.md and CONTRIBUTING.md.
Request another review with @kody start-review in a PR comment.
React with 👍 or 👎 to give feedback on individual suggestions.
Review settingsReview Options
The following review options are enabled or disabled:
Options
Enabled
Bug
✅
Performance
✅
Security
✅
Business Logic
❌
⚠️ 4 Kody Rule(s) were not evaluated
These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:
Preserve optional store capabilities through production wrappers
Detach mandatory cleanup from request cancellation and bound its lifetime
Preserve durable media identity and share identity-evidence precedence
Bound decoder throughput trades and share direct-play eligibility
The reason will be displayed to describe this comment to others. Learn more.
🤖 Claude Code (claude-opus-5-5)
Review of the head after 6bf489df4, with code-review and a council round (gpt-6.2-sol, claude-opus-5-5, gemini-4-neon). Two findings are fixed in commits on this branch and two are maintainer decisions, inline. Two more are below, with no diff line to anchor on.
Missing catalog entries for the new manifest text (fixed). The manifest adds a label and description for playback.next_up_enabled. The web and Apple apps look those up as settingsManifest.playback.next_up_enabled.* (web/src/lib/settingsText.ts), for example in the admin device-override editor, and docs/architecture/i18n.md says to import them into silo-translations. Silo-Server/silo-translations#166 imports them, with the translation pass, and fe878da syncs the web locales from it with --local, applied to the pinned release so no other catalog change comes along. Before this merges, #166 has to merge and this branch has to re-pin to the release that publishes it. I'm handling that, so there's no need to change anything yourself.
Maintainer decision: Jellyfin auto-play. Jellyfin clients get EnableNextEpisodeAutoPlay from playback.auto_play_next alone (internal/jellycompat/handlers_userconfig.go), so a profile with Next Up off still auto-plays the next episode in a Jellyfin client. docs/settings-api.md says this setting doesn't extend the Jellyfin protocol, so leaving it is consistent. The other option is reporting false while Next Up is off, in a follow-up.
"description": "Show the Next Up card near the end of an episode.",
"recommended_control": "switch",
"notes": "false turns Next Up off: no card before or at the end of an episode, no countdown and no automatic next episode, whatever playback.auto_play_next says. The episode plays to its end and the player closes as its Close action does. playback.next_up_prompt_seconds only applies while this is true. Clients may show the two as one picker with an Off choice. A client that predates this key keeps showing Next Up."
The reason will be displayed to describe this comment to others. Learn more.
Maintainer decision: two exceptions the notes don't mention. The notes say Off means no automatic next episode and that the player closes at the end. The web player keeps a shuffle going with Off (resolveNextUp returns post-roll when shuffled). In the background bar or picture-in-picture it leaves the ended episode in place, as it already does with Next Up on. docs/settings-api.md says the same thing. Either the notes and docs name both exceptions, or the players change to match the notes. This text is identical in #4501, so the change belongs there too.
The reason will be displayed to describe this comment to others. Learn more.
Maintainer decision: a device's Off override is invisible on Your Devices.groupForDeviceSetting drops hidden keys even when the device stores a value, so the stored-value exception in groupDeviceSettings doesn't reach it. If another app stores next_up_enabled false for its device, the web Your Devices screen still shows that device's lead time and offers no way to see or clear the Off override. The admin device editor does list it. Options: let a stored value through, as a Show Next Up switch beside the lead time; give this screen the combined picker; or keep it hidden and rely on the admin editor.
silo-triageBot
added
size/XXXL
3000+ added + deleted lines (all files); change volume, not priority.
and removed
size/XL
500–999 added + deleted lines (all files); change volume, not priority.
labels
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enhancementNew feature or requestneeds-reviewNeeds maintainer review to resolve uncertain classification, scope, or changed evidence.priority: P2Limited scope, workaround exists, or polishsize/XXXL3000+ added + deleted lines (all files); change volume, not priority.stackedBase is another open PR; merge in stack order named in the body
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Related issue: Discussion #4443
Validation tasks: changes #1221 C1 (the admin device-override list gains a Show Next Up row); unblocks #1252 C9 (Next Up on web; the case is not run yet)
Other clients: Apple Silo-Server/silo-apple#1219; Android Silo-Server/silo-android#995; Roku Silo-Server/silo-roku#97
Depends on #4501 (the setting). #4502 (Next Up from the end of the file) has merged. Until #4501 merges, this branch carries its commits; the changes here are the commits from "feat(web): let Show Next Up be turned off" on. The last commit introduces
playback.next_up_enabledat manifest revision 31, because main used revision 30 for #5135; #4501 needs the same change.The web app has no way to turn Next Up off. Turning off Auto-play next only stops the countdown; the Next Up screen still opens at the end of every episode.
Show Next Up on Settings → Playback now offers Off. With Off, the web player opens no Next Up screen, runs no countdown and starts no next episode; when the episode ends the player closes the way its Close button does, back to where playback started.
Approach
playback.next_up_enabledfalse (feat(settings): add a setting that turns Next Up off #4501) and leaves the stored seconds alone, so picking a time later restores them and turns Next Up back on. Both keys go through the profile writer, which also clears a device override on either.NextUpPromptSetting) to keep Playback settings within the file size limit.Validation
go build,go vet,make test-go,make lint-changed,make lint-router-recoverypass.pnpm run lint,format:check,build,budget:checkandmake test-webpass. Tests cover the picker's value and writes and the player's Off decision.make verify-settings-bindings-all, the apiv2 checks,verify-local-paths,verify-size-ratchet,verify-migrationspass.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-4503/
Settings → Playback, desktop and 390 px wide: the picker on main and with Off on this branch.
Risks
The Off label comes from Silo-Server/silo-translations#86, which main's pinned release includes. The manifest's new label and description come from Silo-Server/silo-translations#166, synced here with
--localfrom #166's head, which sits on silo-translations' current main (.silo-translationsreadslocal-87649321e400). Before this merges, #166 has to merge and this branch has to re-sync with--versionto the release #166 publishes.Checklist
Council review
Rounds: 2, last reviewed fe878da
Fixed: a failed capabilities or effective-settings read no longer unlocks the picker, Off that resolves after the end closes the card, and the manifest text has catalog entries (silo-translations#166). Answered: the two writes of one choice can half-land, with a failure toast; the player falls back to Next Up on when the capabilities read fails; a profile switch or a settings read stalled past the countdown can still slip past. Left for the maintainers: the shuffle and minimized-player wording, the Your Devices screen hiding a device's Off override, and Jellyfin auto-play.
AI Disclosure
Note
Add
playback.next_up_enabledsetting so Show Next Up can be turned offplayback.next_up_enabled(revision 31) as a remotely persisted boolean defaulting totrue, declared in the settings manifest, settingsContract.ts, and keys.goenabled=falsewithout changing stored seconds, and numeric choices re-enable it. The key is hidden from the device settings screenresolveNextUpin nextUpPrompt.ts resolves prompt timing and end behavior. When disabled for non-shuffled playback, WatchPlaybackChrome.tsx suppresses early prompting and closes or exits when a series episode ends; shuffled playback keeps post-rollsettingskeys.Revision,SETTINGS_REVISION, and the conformance fixtures; servers without the enabled capability omit the Off choice and fall back to contract defaultsMacroscope summarized 9e9bd7e.