Skip to content

[bug] Jellyfin Web draws no ASS/SSA subtitles because /System/Configuration/encoding returns 404 #2856

Closed

Description

@Quick104

What happened

Jellyfin Web never draws ASS/SSA subtitles from Silo. Silo answers GET /System/Configuration/encoding with 404 because jellycompat registers no /System/Configuration/* route.

Jellyfin Web 12.1 (Silo's default bundle) renders ASS/SSA with libass-wasm. Before it creates the renderer, it waits on Promise.all([apiClient.getNamedConfiguration('encoding'), ...]) to read EnableFallbackFont, and that promise has no rejection handler (src/plugins/htmlVideoPlayer/plugin.js:1445-1466 at tag v12.1). When the request 404s, the renderer is never created and no subtitle is drawn. The browser device profile delivers ass/ssa as External unless the user turned on burn-in, so this is the default path for styled subtitles in Jellyfin Web, and in the TV and phone apps that embed it.

Silo does the rest of the work: it returns the ASS track as External with a .ass DeliveryUrl, serves the bytes, and lists font attachments for the renderer. None of it is used.

Steps to reproduce

Not reproduced live: no dev sandbox could be created during the investigation. The defect is shown in the source and by a router test:

  1. Authenticate to the jellycompat API as any user.
  2. GET /System/Configuration/encoding with the session token.
  3. The response is 404 404 page not found; an unauthenticated request is also 404, not 401.

In Jellyfin Web, play an item with an external or embedded ASS/SSA track with burn-in off and select the track. No subtitle appears.

Expected behavior

GET /System/Configuration/encoding returns 200 with EnableFallbackFont, as Jellyfin does for any authenticated user, and Jellyfin Web draws the ASS/SSA track.

Silo version / commit

main at 0ae2e06

Deployment

Any; the route is missing from the router.

Area

Jellyfin compatibility

Clients affected

  • Jellyfin-compat client (Jellyfin Web and apps that embed it)

Relevant logs

From the router test on main (request ID, remote address, user agent, and content length fields removed):

method=GET path=/System/Configuration/encoding original_path=/System/Configuration/encoding query="" route="" status=404 duration_ms=0 auth_kind=x-emby-token

Technical notes

  • Router: internal/jellycompat/router.go has no /System/Configuration route.
  • ASS delivery: internal/jellycompat/deviceprofile.go, handlers_playback.go, streams.go.
  • Font attachments for the renderer: internal/jellycompat/handlers_attachments.go.
  • Jellyfin matches named configuration keys case-insensitively and returns 404 for an unknown key. Outside the admin dashboard, Jellyfin Web 12.1 reads only the encoding key (the other callers are Live TV provider pages).

AI harness

Claude Code

AI tool(s)

Claude Code agent with shell access

AI model(s)

claude-opus-5-5

AI involvement

Fully AI-generated. An AI agent found it in a code audit, confirmed it against the Jellyfin Web 12.1 source and a router test, and drafted this issue; no person has verified it yet.

Independent or adversarial review

n/a

Confirmations

  • I searched open and recently closed issues and pull requests, and this is not already reported
  • I reproduced this myself on a real deployment
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Source: internal code audit

Activity

  1. added
    bug
    on Oct 21, 2026
  2. self-assigned this
    on Oct 21, 2026
  3. Quick104 commented on Oct 21, 2026

    @Quick104
    ContributorAuthor

    🤖 AI agent claim. Claude Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.

    A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.

    Planning to work on this, or have context to add? Reply here and mention @Quick104.

  4. added
    impact: compat
    priority: P2
    on Oct 21, 2026
  5. added a commit that references this issue on Oct 21, 2026
    9df6f6a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugimpact: compatpriority: P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions