Skip to content

Commit

Permalink
Use same media source options for other channels.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinjil committed Jun 20, 2022
1 parent 5a088fa commit 9801dde
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jellyfin.Xtream/LiveChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ private async Task<ChannelItemResult> GetVideos(string categoryId, CancellationT
Name = channel.Name,
Path = uri,
Protocol = MediaBrowser.Model.MediaInfo.MediaProtocol.Http,
SupportsDirectPlay = false,
SupportsDirectStream = true,
SupportsProbing = true,
}
};
items.Add(new ChannelItemInfo()
Expand Down
3 changes: 3 additions & 0 deletions Jellyfin.Xtream/SerieChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ private async Task<ChannelItemResult> GetEpisodes(string seriesId, int season, C
Name = episode.Title,
Path = uri,
Protocol = MediaBrowser.Model.MediaInfo.MediaProtocol.Http,
SupportsDirectPlay = false,
SupportsDirectStream = true,
SupportsProbing = true,
}
};
items.Add(new ChannelItemInfo()
Expand Down
3 changes: 3 additions & 0 deletions Jellyfin.Xtream/VodChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ private async Task<ChannelItemResult> GetVideos(string categoryId, CancellationT
Name = channel.Name,
Path = uri,
Protocol = MediaBrowser.Model.MediaInfo.MediaProtocol.Http,
SupportsDirectPlay = false,
SupportsDirectStream = true,
SupportsProbing = true,
}
};
items.Add(new ChannelItemInfo()
Expand Down

0 comments on commit 9801dde

Please sign in to comment.