diff options
| author | cvium <clausvium@gmail.com> | 2021-09-10 09:29:14 +0200 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-09-10 09:29:14 +0200 |
| commit | 1603d1928e888abeccc6a5fab2e1f13aa65eea6c (patch) | |
| tree | 4be38a370ab2c2340af7a547f1c79390c2de42cc /MediaBrowser.Controller/Library/IMediaSourceManager.cs | |
| parent | b96dbbf553820861eab9d1a453adcc8ce8a9ef05 (diff) | |
Kill ProgressiveFileCopier and seek to end for ongoing livetv
Diffstat (limited to 'MediaBrowser.Controller/Library/IMediaSourceManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/IMediaSourceManager.cs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/MediaBrowser.Controller/Library/IMediaSourceManager.cs b/MediaBrowser.Controller/Library/IMediaSourceManager.cs index fd3631da9..0de3ccf3f 100644 --- a/MediaBrowser.Controller/Library/IMediaSourceManager.cs +++ b/MediaBrowser.Controller/Library/IMediaSourceManager.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; -using System.IO; using System.Threading; using System.Threading.Tasks; using Jellyfin.Data.Entities; @@ -111,6 +110,13 @@ namespace MediaBrowser.Controller.Library Task<Tuple<MediaSourceInfo, IDirectStreamProvider>> GetLiveStreamWithDirectStreamProvider(string id, CancellationToken cancellationToken); /// <summary> + /// Gets the live stream info. + /// </summary> + /// <param name="id">The identifier.</param> + /// <returns>An instance of <see cref="ILiveStream"/>.</returns> + public ILiveStream GetLiveStreamInfo(string id); + + /// <summary> /// Closes the media source. /// </summary> /// <param name="id">The live stream identifier.</param> @@ -129,11 +135,4 @@ namespace MediaBrowser.Controller.Library Task<IDirectStreamProvider> GetDirectStreamProviderByUniqueId(string uniqueId, CancellationToken cancellationToken); } - - public interface IDirectStreamProvider - { - Task CopyToAsync(Stream stream, CancellationToken cancellationToken); - - string GetFilePath(); - } } |
