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
{{ message }}
Repository navigation
feat(settings): add a setting that turns Next Up off - #4501
Viewers who would rather go straight back after an episode have no way to turn Next Up off. Auto-play next only stops the countdown; the Next Up screen still opens before or at the end of every episode. Discussion #4443 asked for an off switch alongside timing Next Up from the end of the file.
This adds playback.next_up_enabled, a boolean setting at manifest revision 31. When it is false, no client opens Next Up, runs a countdown or starts the next episode; the episode plays to its end and the player closes the way its Close action does. The client pull requests listed above use it.
Approach
New key in contracts/settings/v1/manifest.json (revision 30 → 31; main took 30 for the cellular quality defaults in feat(playback): default cellular quality to Auto up to 10 Mbps and cap Data Saver at 2 Mbps #5135): boolean, default true, scopes profile and profile_device, label "Show Next Up". playback.next_up_prompt_seconds is unchanged and still decides when Next Up opens while this is true, so a client can show both as one picker with an Off choice.
docs/settings-api.md gains a Next Up section that states both rules, including that the seconds count from the end of the file, never from a credits marker.
Regenerated bindings (internal/settingskeys/keys.go, web/src/lib/settingsContract.ts) and conformance fixtures.
The web device settings screen hides the key; the web Settings → Playback picker owns it.
Clients that predate the key never send or read it and keep showing Next Up, so older apps are unaffected. jellycompat is not involved: Jellyfin clients run their own Next Up.
Validation
Go: go build, go vet, gofmt, go mod tidy -diff clean. make test-go, make lint-changed and make lint-router-recovery pass; see Evidence.
Contracts: make verify-settings-bindings-all, the apiv2 checks, verify-local-paths, verify-size-ratchet, verify-migrations and the router artifact test pass.
Android and Apple vendor this manifest and passed their settings conformance tests at revision 30; their pull requests need the revision 31 manifest before they merge.
Evidence
No screen changes in this pull request; the client pull requests show the setting. A local server with this change, and a new profile, before the move to revision 31 (the key and its default are unchanged; only the revision number moved):
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; the real findings were fixed before opening
Note
Add "Next Up enabled" remote boolean setting at revision 31
Adds a nextup.enabled remote boolean setting in manifest.json and the web contract (settingsContract.ts), with profile and profile-device scopes and a default of true.
Documents the setting in settings-api.md, including resolution order, prompt timing, and effects of disabling Next Up.
Bumps settings revision from 30 to 31 in the key registry (keys.go) and both conformance fixtures.
Behavioral Change: settings revision is now 31; clients pinned to revision 30 see the setting as unknown, and the web player hides the key until it applies it (deviceSettingGroups.ts).
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.
No actionable comments were generated in the recent review.
Walkthrough
The settings contract adds playback.next_up_enabled at revision 31 with profile and profile-device scopes and a default of `true. The change registers the key on the server, filters it from web device-setting groups, and updates conformance fixtures and API documentation.
Changes: Next Up setting
Layer / File(s)
Summary
Define the Next Up setting contracts/settings/v1/manifest.json, web/src/lib/settingsContract.ts, internal/settingskeys/keys.go, web/src/lib/deviceSettingGroups.ts
The manifest, web contract, and server keys define playback.next_up_enabled and advance the settings revision to 31. The web client filters the key from device-setting groups.
Update contract validation and documentation contracts/settings/v1/conformance.json, web/src/lib/settingsConformance.json, docs/settings-api.md
The conformance fixtures verify that the setting defaults to true. The documentation describes the Next Up preferences and client behavior.
Silo-Server/silo-server#4503: Adds the web picker behavior that writes playback.next_up_enabled, using the contract introduced here.
Suggested reviewers:quick104
Merge Risk: Minimal · up to e812b
This adds an opt-out setting for Next Up, defaulting to on. Nothing changes for current users until clients adopt the key, so merge risk is minimal. Client repositories must pick up the revision 31 manifest before they release.
Security architecture risk: Minimal · up to e812b
The new preference preserves today’s playback behavior by default and uses the same access rules as existing profile settings. The reviewed change does not introduce a new permission or change how existing preferences are stored.
Retained concerns
No architecture-level concerns identified.
Security review details
Security Blast Radius
inferred — The added authority is to read and change one playback preference through the existing settings API. A profile-level value can affect all supporting clients on that profile; a device-level value is narrower. The contract grants no account-wide scope.
Trust Boundaries and Controls
observed — The inspected API handlers require authentication claims and use the claimed user ID to select the settings store. The shared settings handler checks household authority for an alternate profile and registry membership for an explicitly targeted device. The web hidden-key filter controls display, not authorization.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: adding a setting that turns Next Up off. The changeset adds the boolean playback.next_up_enabled, which matches this. The title is concise, specific, and follows conve…
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 states that this pull request adds the boolean setting playback.next_up_enabled at manifest revision 31. It explains the problem (viewers cannot turn Next Up off), the approach (manife…
Full details: Title check
Explanation
The title names the main change: adding a setting that turns Next Up off. The changeset adds the boolean playback.next_up_enabled, which matches this. The title is concise, specific, and follows conventional commit style.
Full details: Description check
Explanation
The description states that this pull request adds the boolean setting playback.next_up_enabled at manifest revision 31. It explains the problem (viewers cannot turn Next Up off), the approach (manifest, docs, regenerated bindings, conformance fixtures, and hiding the key in web device settings), validation steps, and risks. This matches the changeset described in the raw summary, so the description is related to the changes.
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: 67873bdb-4614-4e07-9467-755062482de5
Commits
Reviewing files that changed from the base of the PR and between 6c1ca22 and e812b87.
Files selected for processing: 7
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
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; 1 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Web playback ignores the profile-wide Next Up off setting
A profile-level false set by another client is ignored, so the web player can still display Next Up and auto-play. Read the effective playback.next_up_enabled value and suppress both the card and automatic advancement when it is false.
Prompt for LLM
File web/src/lib/settingsContract.ts, lines 809-815:
Web playback ignores the profile-wide Next Up off setting
A profile-level `false` set by another client is ignored by the web player, which still displays Next Up and can auto-play despite the new setting's contract. Read the effective `playback.next_up_enabled` value in the player and suppress both the card and automatic advancement when it is false.
The reason will be displayed to describe this comment to others. Learn more.
Not a bug in this PR. This PR adds the setting to the contract and keeps it off the web device settings screen (deviceSettingGroups HIDDEN_KEYS). The web player and settings picker apply it in #4503, which stacks on this one.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification. The suggestion is out of scope for PR #4501: this PR adds the contract key and hides it from device settings, while the stacked PR #4503 implements the web player and settings picker behavior.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
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: 8022b0d5-ea02-4be3-b499-eccaf4c9414e
Commits
Reviewing files that changed from the base of the PR and between e8de111 and fd61354.
Files selected for processing: 8
contracts/settings/v1/conformance.json
contracts/settings/v1/manifest.json
docs/settings-api.md
internal/settingscontract/contract_test.go
internal/settingskeys/keys.go
web/src/lib/deviceSettingGroups.ts
web/src/lib/settingsConformance.json
web/src/lib/settingsContract.ts
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
One cleanup finding, inline. The contract change, the generated bindings, and the conformance fixtures agree with each other, and older clients ignore the new key.
The PR adds playback.next_up_enabled (boolean, default true, profile and profile-device scopes). Main took manifest revision 30 for the cellular quality defaults in #5135, so the key now lands at revision 31. The manifest, the Go and TypeScript bindings, both conformance fixtures and the new section in docs/settings-api.md agree with each other. A client that predates the key never reads it and keeps showing Next Up.
Addressed
The contract test row for false repeated what the existing playback.auto_play_next boolean rows already check. Removed in 6c1ca22.
The branch conflicted with main on the manifest revision and on the web device settings hidden list. e812b87 merges main, moves the key to revision 31 (introduced_in, both conformance fixtures, the docs line), regenerates the bindings, and keeps both hidden keys (playback.auto_play_next_preview from main and playback.next_up_enabled). make verify-settings-bindings-all, go test ./internal/settingscontract/... ./internal/settingsresolve/..., the web settings conformance tests, the web typecheck and make lint-changed pass. The PR body now says revision 31.
Other feedback
Kody (web player ignores the key) and CodeRabbit (docs should note the web exception) both withdrew after the author's replies. I agree: this PR keeps the key off the web device settings screen, and the web player applies it in feat(web): let Show Next Up be turned off #4503.
The manifest's new label and description ("Show Next Up", "Show the Next Up card near the end of an episode.") aren't in the silo-translations catalog as settingsManifest.playback.next_up_enabled.*. Until someone runs make import-settings-manifest there, any screen that renders this manifest text shows it in English. The web picker in feat(web): let Show Next Up be turned off #4503 uses its own catalog keys (silo-translations#86).
Validated features: none affected. The default is true, and no client reads the key until its own pull request lands. The Series validation tasks cover Next Up on each client, so the client pull requests are the ones to check against them.
Validation: CI passed on e812b87 (Go DB pins failed once in TestBeforeMigrateBackupOnAnOldSchemaDB, a backup restore test this PR doesn't touch, and passed on rerun). The evidence page shows the key resolving to its default through /api/v2/settings/values/effective, captured before the move, so it reports revision 30. The revision 31 head was checked with the contract and resolver tests above, not on a live server. No test in this PR exercises the change; the contract checks catch binding drift.
Fit: Discussion Next Up "end" detection should be based on file end and not the credits marker #4443 asked for a way to turn Next Up off, and whether you want Next Up depends on the viewer, so a per-profile switch is a reasonable answer. Next Up stays on by default, and clients can fold the switch into the existing timing picker as an Off choice. It still adds one setting to a contract that locks at 1.0, which is the reason it isn't higher.
Readiness: the change is additive and the generated files match the manifest. It's lower than before because the revision 31 head hasn't been shown on a live server, and the three client pull requests need re-vendoring to revision 31 before they can merge.
Main took manifest revision 30 for the cellular quality defaults (Silo-Server#5135),
so the new key is introduced at revision 31. Bindings and conformance
fixtures are regenerated, and both HIDDEN_KEYS entries are kept.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
Quick104
added a commit
to Rhainland/silo-apple
that referenced
this pull request
Nov 24, 2026
Server revision 30 went to the cellular quality default
(Silo-Server/silo-server#5135), and Silo-Server/silo-server#4501 now adds
playback.next_up_enabled in revision 31. Re-vendor the manifest, the
conformance fixture and the generated bindings from that commit, and gate
the key on 31, so a current server at revision 30 is never sent it and
keeps answering the batch it shares with the cellular pair.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 requestpriority: P2Limited scope, workaround exists, or polishsize/M50–199 added + deleted lines (all files); change volume, not priority.
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: none
Other clients: Apple Silo-Server/silo-apple#1219; Android Silo-Server/silo-android#995; Roku Silo-Server/silo-roku#97; Web #4503
Viewers who would rather go straight back after an episode have no way to turn Next Up off. Auto-play next only stops the countdown; the Next Up screen still opens before or at the end of every episode. Discussion #4443 asked for an off switch alongside timing Next Up from the end of the file.
This adds
playback.next_up_enabled, a boolean setting at manifest revision 31. When it is false, no client opens Next Up, runs a countdown or starts the next episode; the episode plays to its end and the player closes the way its Close action does. The client pull requests listed above use it.Approach
contracts/settings/v1/manifest.json(revision 30 → 31; main took 30 for the cellular quality defaults in feat(playback): default cellular quality to Auto up to 10 Mbps and cap Data Saver at 2 Mbps #5135): boolean, defaulttrue, scopesprofileandprofile_device, label "Show Next Up".playback.next_up_prompt_secondsis unchanged and still decides when Next Up opens while this is true, so a client can show both as one picker with an Off choice.docs/settings-api.mdgains a Next Up section that states both rules, including that the seconds count from the end of the file, never from a credits marker.internal/settingskeys/keys.go,web/src/lib/settingsContract.ts) and conformance fixtures.Clients that predate the key never send or read it and keep showing Next Up, so older apps are unaffected. jellycompat is not involved: Jellyfin clients run their own Next Up.
Validation
go build,go vet,gofmt,go mod tidy -diffclean.make test-go,make lint-changedandmake lint-router-recoverypass; see Evidence.make verify-settings-bindings-all, the apiv2 checks,verify-local-paths,verify-size-ratchet,verify-migrationsand the router artifact test pass.Evidence
No screen changes in this pull request; the client pull requests show the setting. A local server with this change, and a new profile, before the move to revision 31 (the key and its default are unchanged; only the revision number moved):
Main is now at revision 30 (#5135) and has no
playback.next_up_enabled.Risks
None identified. The key is additive; a server on this build answers revision 31, and older clients ignore the new key.
Checklist
AI Disclosure
Note
Add "Next Up enabled" remote boolean setting at revision 31
nextup.enabledremote boolean setting in manifest.json and the web contract (settingsContract.ts), with profile and profile-device scopes and a default oftrue.Macroscope summarized e812b87.