mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
33 lines
1.4 KiB
C#
33 lines
1.4 KiB
C#
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);
|
|
}
|
|
}
|