From 23ca550053adc564e2c082eeb2f7a36439d6e814 Mon Sep 17 00:00:00 2001 From: Laurence Laforest Date: Wed, 7 Oct 2026 12:25:43 -0400 Subject: Add active stream count to live tv channels --- MediaBrowser.Controller/Library/IMediaSourceManager.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MediaBrowser.Controller/Library/IMediaSourceManager.cs') diff --git a/MediaBrowser.Controller/Library/IMediaSourceManager.cs b/MediaBrowser.Controller/Library/IMediaSourceManager.cs index 2b6781a197..8efd67193a 100644 --- a/MediaBrowser.Controller/Library/IMediaSourceManager.cs +++ b/MediaBrowser.Controller/Library/IMediaSourceManager.cs @@ -141,5 +141,12 @@ namespace MediaBrowser.Controller.Library void SetDefaultAudioAndSubtitleStreamIndices(BaseItem item, MediaSourceInfo source, User user); Task AddMediaInfoWithProbe(MediaSourceInfo mediaSource, bool isAudio, string cacheKey, bool addProbeDelay, bool isLiveStream, CancellationToken cancellationToken); + + /// + /// Gets the open streams for the provided channel. + /// + /// The channel id. + /// The open streams held for the channel. + IReadOnlyList GetLiveStreams(Guid channelId); } } -- cgit v1.2.3