aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IMediaSourceManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Library/IMediaSourceManager.cs')
-rw-r--r--MediaBrowser.Controller/Library/IMediaSourceManager.cs7
1 files changed, 7 insertions, 0 deletions
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);
+
+ /// <summary>
+ /// Gets the open streams for the provided channel.
+ /// </summary>
+ /// <param name="channelId">The channel id.</param>
+ /// <returns>The open streams held for the channel.</returns>
+ IReadOnlyList<ILiveStream> GetLiveStreams(Guid channelId);
}
}