From 888b8d619aec031f57cfd03410ccda52edcca958 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 20 Feb 2014 11:37:41 -0500 Subject: added encoding manager interface --- .../MediaEncoding/IEncodingManager.cs | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs (limited to 'MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs') diff --git a/MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs b/MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs new file mode 100644 index 000000000..d1e40e3f0 --- /dev/null +++ b/MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs @@ -0,0 +1,33 @@ +using System.Threading; +using System.Threading.Tasks; + +namespace MediaBrowser.Controller.MediaEncoding +{ + public interface IEncodingManager + { + /// + /// Gets the subtitle cache path. + /// + /// The original subtitle path. + /// The output subtitle extension. + /// System.String. + string GetSubtitleCachePath(string originalSubtitlePath, string outputSubtitleExtension); + + /// + /// Gets the subtitle cache path. + /// + /// The media path. + /// Index of the subtitle stream. + /// The output subtitle extension. + /// System.String. + string GetSubtitleCachePath(string mediaPath, int subtitleStreamIndex, string outputSubtitleExtension); + + /// + /// Refreshes the chapter images. + /// + /// The options. + /// The cancellation token. + /// Task{System.Boolean}. + Task RefreshChapterImages(ChapterImageRefreshOptions options, CancellationToken cancellationToken); + } +} -- cgit v1.2.3