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
Web subtitle handler swallows ListDownloadedSubtitles errors and returns 404 (masks real failures) #248
The web player intermittently fails to render a selected subtitle track (reported in Chrome; worked in Safari/Infuse; the reporter's instance later self-resolved). Root cause located in code: the stream handler ignores errors from listing downloaded subtitles and falls through to a generic 404, so a real DB/object-store failure is reported to the client as 'subtitle not found' with no server-side signal — which makes it look intermittent and hard to diagnose. Originally triaged cannot-reproduce; reopened as confirmed after locating the latent cause.
Code references
Verified against origin/main on 2026-06-29. Suggested: log the error and return 500 (or serve the track by index) instead of masking it as a 404.
internal/api/handlers/stream.go:242-243: ListDownloadedSubtitles error is swallowed by if err == nil (not logged, not surfaced)
internal/api/handlers/stream.go:277: control falls through to writeError(404, 'Subtitle track not found'), turning an internal error into a 404
Activity
fix(api): surface ListDownloadedSubtitles errors instead of masking a…
fluxis commentedon Jul 3, 2026
💬 bulderi in Discord:
still not solved for me, but the subtitles did come back after i had paused it for close to 5 min
fix(api): surface ListDownloadedSubtitles errors instead of masking a…
fluxis commentedon Jul 18, 2026
💬 spoked in Discord:
this is still an issue
fluxis commentedon Jul 18, 2026
💬 spoked in Discord:
happens to me sometimes too..