Skip to content

Support loading external subtitles with custom HTTP headers #32

Closed

Description

@bitxeno

What should the engine do?

selectSidecarSubtitle supports custom HTTP header options or forwarding the LoadOptions headers.

Motivating media or use case

When loading external WebDAV subtitles, it is not possible to set the authorized HTTP headers, which can result in subtitle loading failures.

Area

Other

Host app / integration context

No response

Would you be willing to open a PR?

No

Activity

  1. added
    enhancement
    on Jun 11, 2026
  2. superuser404notfound commented on Jun 11, 2026

    @superuser404notfound
    Owner

    Implemented on main: selectSidecarSubtitle(url:httpHeaders:) now takes custom HTTP headers for the subtitle fetch, and when you pass nothing it forwards the session's LoadOptions.httpHeaders automatically, so a WebDAV-hosted subtitle next to WebDAV-hosted media authenticates without repeating anything. An explicit dictionary (or [:]) overrides per call. The fetch rides the same reader path as the media source, so redirects and the usual retry behavior apply too.

    This ships with the next release; until then it is available from main. Thanks for the clear report with the WebDAV context, that made the right default obvious.

  3. superuser404notfound commented on Jun 11, 2026

    @superuser404notfound
    Owner

    Shipped in 3.3.0.

  4. 2 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions