From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- .../Library/IMediaSourceManager.cs | 97 ---------------------- 1 file changed, 97 deletions(-) delete mode 100644 MediaBrowser.Controller/Library/IMediaSourceManager.cs (limited to 'MediaBrowser.Controller/Library/IMediaSourceManager.cs') diff --git a/MediaBrowser.Controller/Library/IMediaSourceManager.cs b/MediaBrowser.Controller/Library/IMediaSourceManager.cs deleted file mode 100644 index 204033e1d..000000000 --- a/MediaBrowser.Controller/Library/IMediaSourceManager.cs +++ /dev/null @@ -1,97 +0,0 @@ -using MediaBrowser.Controller.Entities; -using MediaBrowser.Controller.Persistence; -using MediaBrowser.Model.Dto; -using MediaBrowser.Model.Entities; -using MediaBrowser.Model.MediaInfo; -using System; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; -using System.IO; - -namespace MediaBrowser.Controller.Library -{ - public interface IMediaSourceManager - { - /// - /// Adds the parts. - /// - /// The providers. - void AddParts(IEnumerable providers); - - /// - /// Gets the media streams. - /// - /// The item identifier. - /// IEnumerable<MediaStream>. - List GetMediaStreams(Guid itemId); - /// - /// Gets the media streams. - /// - /// The media source identifier. - /// IEnumerable<MediaStream>. - List GetMediaStreams(string mediaSourceId); - /// - /// Gets the media streams. - /// - /// The query. - /// IEnumerable<MediaStream>. - List GetMediaStreams(MediaStreamQuery query); - - /// - /// Gets the playack media sources. - /// - /// The identifier. - /// The user identifier. - /// if set to true [enable path substitution]. - /// The supported live media types. - /// The cancellation token. - /// IEnumerable<MediaSourceInfo>. - Task> GetPlayackMediaSources(string id, string userId, bool enablePathSubstitution, string[] supportedLiveMediaTypes, CancellationToken cancellationToken); - - /// - /// Gets the static media sources. - /// - /// The item. - /// if set to true [enable path substitution]. - /// The user. - /// IEnumerable<MediaSourceInfo>. - List GetStaticMediaSources(IHasMediaSources item, bool enablePathSubstitution, User user = null); - - /// - /// Gets the static media source. - /// - /// MediaSourceInfo. - Task GetMediaSource(IHasMediaSources item, string mediaSourceId, string liveStreamId, bool enablePathSubstitution, CancellationToken cancellationToken); - - /// - /// Opens the media source. - /// - /// The request. - /// The cancellation token. - /// Task<MediaSourceInfo>. - Task OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken); - - /// - /// Gets the live stream. - /// - /// The identifier. - /// The cancellation token. - /// Task<MediaSourceInfo>. - Task GetLiveStream(string id, CancellationToken cancellationToken); - - Task> GetLiveStreamWithDirectStreamProvider(string id, CancellationToken cancellationToken); - - /// - /// Closes the media source. - /// - /// The live stream identifier. - /// Task. - Task CloseLiveStream(string id); - } - - public interface IDirectStreamProvider - { - Task CopyToAsync(Stream stream, CancellationToken cancellationToken); - } -} -- cgit v1.2.3