Customized solution for Live stream #185

Open
opened 2025-06-14 09:19:59 +00:00 by kane-rat · 0 comments
kane-rat commented 2025-06-14 09:19:59 +00:00 (Migrated from github.com)

Hi, first - thanks, great plugin!
For my IPTV service provider Xtream API, everything worked fine for VOD/Series streams, but had to hack the plugin for Live streams. Seemed easiest solution - can this be more configurable?:

  1. StreamService.GetMediaSourceInfo(..): had to add:
case StreamType.Live:
     prefix = "/live";
     break;
  1. LiveTvService.GetChannelStreamWithDirectStreamProvider(..): had to change:
MediaSourceInfo mediaSourceInfo = plugin.StreamService.GetMediaSourceInfo(StreamType.Live, channel, restream: true);

to:

MediaSourceInfo mediaSourceInfo = plugin.StreamService.GetMediaSourceInfo(StreamType.Live, channel, extension: "ts", restream: true);
Hi, first - thanks, great plugin! For my IPTV service provider Xtream API, everything worked fine for VOD/Series streams, but had to hack the plugin for Live streams. Seemed easiest solution - can this be more configurable?: 1. StreamService.GetMediaSourceInfo(..): had to add: ``` case StreamType.Live: prefix = "/live"; break; ``` 2. LiveTvService.GetChannelStreamWithDirectStreamProvider(..): had to change: ``` MediaSourceInfo mediaSourceInfo = plugin.StreamService.GetMediaSourceInfo(StreamType.Live, channel, restream: true); ``` to: ``` MediaSourceInfo mediaSourceInfo = plugin.StreamService.GetMediaSourceInfo(StreamType.Live, channel, extension: "ts", restream: true); ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Sirherobrine23/Jellyfin_Xtream#185
No description provided.