Repository navigation
fix(web): stop series subtitle picks pinning the forced-subtitle setting - #2452
Conversation
A subtitle pick in the player or on the item page sent the resolved show_forced_subtitles on PUT /subtitle-prefs. The server copies that member into the series' canonical profile_series row, so every pick pinned the profile's "Show forced subtitles" choice on the series, and turning the toggle off later never reached it. The member is optional and the server keeps what the series already had when it is absent, so the web no longer sends it. The Apple clients already leave it out.
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:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
The API excerpts show the resolved setting changing, but not the subtitle behavior viewers see. Please add before-and-after web captures for the same series showing a subtitle pick followed by turning off the profile’s “Show forced subtitles” setting and the resulting playback behavior. Cover desktop and phone-width web, or explain why mobile is unaffected; name the builds used. A short recording can show the multi-step flow. |
|
Added before-and-after web captures of that flow to the Evidence section: pick Off in the player on episode 1, turn off Show forced subtitles, play episode 2 at its forced line. On |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review summaryReviewed head: 828e408 (your dca66a9 plus a merge of current I found no defects in the change. The v2 What I changed on the branch
Validated features
Validation: this should unblock #1159 C3. That case needs a re-test on a build with this change. User manual: unaffected. The Subtitles page describes the profile's forced-subtitle toggle, and this change makes the web follow it. Apple/Android parity: Apple is tracked in Silo-Server/silo-apple#870. Android needs no change. Left for maintainers: series pinned before this change stay pinned until someone resets them to Auto. A blanket cleanup can't tell those rows apart from deliberate overrides, so I left them alone. Fit: 9/10 · Readiness: 9/10 — ready (assuming CI is green)
|
|
The forced-subtitle playback behavior is visible: after a web subtitle pick, playback should follow the profile toggle instead of a pinned series value. The linked evidence describes before-and-after desktop and phone-width captures for the player flow, but this multi-step change also needs a short recording showing the subtitle pick, profile toggle change, and subsequent playback. Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness. Posted via Macroscope — Visible change evidence |
|
Major change — #1158 C2 (Server): The recorded server run ties a series-level forced-subtitle value to a web pick. This PR stops sending that field, so the outcome observed in C2 changes. The PR must explain why the validated behavior changes; its description currently gives the rationale. C2 needs re-validation after merge. Unblocks — #1159 C3 (Web): The recorded Web run identifies the same forced-setting pin after a manual track/Off pick. The selection fields remain persisted, and C3 is ready to re-test after merge; this check does not accept the result. Suggested fix: Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed. Posted via Macroscope — v1 validation impact |
Problem
Related issue: #1157
Validation tasks: unblocks #1159 C3
Picking a subtitle track or Off in the web app locks that series to whatever "Show forced subtitles" was at the time. Turning the profile's toggle off later has no effect on any series the viewer ever picked a subtitle for, and the web offers no way to see or undo it short of resetting the series to Auto.
The web sends the resolved
show_forced_subtitlesvalue onPUT /api/v2/subtitle-prefs/{series_id}, both from the player and from the item page. The server copies that member into the series' canonicalprofile_seriesrow, which outranks the profile setting. The member is optional, and when it is absent the server keeps whatever the series already had, so the web now leaves it out.Approach
The player's and item page's subtitle-preference requests stop sending
show_forced_subtitles; the callers no longer pass it. A series that was already pinned is cleared by the existing "Auto" reset on the item page, which deletes the series override. The Apple player still sends the resolved value on its own picks, which can pin a series again after an Auto reset; Silo-Server/silo-apple#870 tracks that.Validation
mainthe series kepttrue.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-2452/
Steps on each build: pick Off in the player on episode 1, turn off Show forced subtitles, play episode 2 at its forced line. Before (
main): episode 2 still shows the forced line. After (this branch): no forced line. Desktop and phone-width web.Surface and build: web player, desktop and phone width; before =
main, after = this branch.The resolved value behind it,
GET /api/v2/watch/{episode}trimmed:Follow-ups
Risks
None identified. Existing pinned rows stay until the series is reset to Auto.
Checklist
AI Disclosure
Note
Stop sending
show_forced_subtitlesin subtitle preference requestsshowForcedSubtitlesinput fromsubtitles.useSetSubtitlePreferenceand from subtitleChoicePersistence.ts, so subtitle preference PUT requests no longer includeshow_forced_subtitlesshow_forced_subtitles; the server copies that member into the canonical profile row when providedMacroscope summarized 828e408.