[PR #11805] Use SharedStream for LiveTV more restrictively #13006

Closed
opened 2026-02-07 07:05:33 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11805

State: closed
Merged: Yes


Changes

Only use SharedHttpStream for streams that appear to be MPEG-TS streams, and only use a HEAD request when there is no extension in the URL. This is the only solution I can think of without making API changes. SharedHttpStream is really uncommon for M3U Tuners where most of them is using HLS, and the ones not using HLS almost uses MPEG-TS streams exclusively. Any other weird Tuners that lies in the mime type and does not provide valid file extension, just treat that stream as normal livestream. If that does not work the only way to make that work is to add an option to the Tuner config to force the stream type, but that would not be feasible for 10.9.

Issues

Potentially:

#11679 #11554

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11805 **State:** closed **Merged:** Yes --- <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> Only use `SharedHttpStream` for streams that appear to be MPEG-TS streams, and only use a HEAD request when there is no extension in the URL. This is the only solution I can think of without making API changes. `SharedHttpStream` is really uncommon for M3U Tuners where most of them is using HLS, and the ones not using HLS almost uses MPEG-TS streams exclusively. Any other weird Tuners that lies in the mime type and does not provide valid file extension, just treat that stream as normal livestream. If that does not work the only way to make that work is to add an option to the Tuner config to force the stream type, but that would not be feasible for 10.9. **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Potentially: #11679 #11554
OVERLORD added the pull-request label 2026-02-07 07:05:33 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13006