mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11805] Use SharedStream for LiveTV more restrictively #13006
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11805
State: closed
Merged: Yes
Changes
Only use
SharedHttpStreamfor 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.SharedHttpStreamis 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