You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.4 KiB
34 lines
1.4 KiB
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Controller.MediaEncoding
|
|
{
|
|
public interface IEncodingManager
|
|
{
|
|
/// <summary>
|
|
/// Gets the subtitle cache path.
|
|
/// </summary>
|
|
/// <param name="originalSubtitlePath">The original subtitle path.</param>
|
|
/// <param name="outputSubtitleExtension">The output subtitle extension.</param>
|
|
/// <returns>System.String.</returns>
|
|
string GetSubtitleCachePath(string originalSubtitlePath, string outputSubtitleExtension);
|
|
|
|
/// <summary>
|
|
/// Gets the subtitle cache path.
|
|
/// </summary>
|
|
/// <param name="mediaPath">The media path.</param>
|
|
/// <param name="subtitleStreamIndex">Index of the subtitle stream.</param>
|
|
/// <param name="outputSubtitleExtension">The output subtitle extension.</param>
|
|
/// <returns>System.String.</returns>
|
|
string GetSubtitleCachePath(string mediaPath, int subtitleStreamIndex, string outputSubtitleExtension);
|
|
|
|
/// <summary>
|
|
/// Refreshes the chapter images.
|
|
/// </summary>
|
|
/// <param name="options">The options.</param>
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
/// <returns>Task{System.Boolean}.</returns>
|
|
Task<bool> RefreshChapterImages(ChapterImageRefreshOptions options, CancellationToken cancellationToken);
|
|
}
|
|
}
|