jellyfin/MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs

29 lines
1.1 KiB
C#
Raw Normal View History

#nullable disable
2020-02-23 02:53:51 -07:00
#pragma warning disable CS1591
using System.Collections.Generic;
2018-12-27 16:27:57 -07:00
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
2018-12-27 16:27:57 -07:00
namespace MediaBrowser.Controller.MediaEncoding
{
public interface IEncodingManager
{
/// <summary>
/// Refreshes the chapter images.
/// </summary>
/// <param name="video">Video to use.</param>
/// <param name="directoryService">Directory service to use.</param>
/// <param name="chapters">Set of chapters to refresh.</param>
/// <param name="extractImages">Option to extract images.</param>
/// <param name="saveChapters">Option to save chapters.</param>
/// <param name="cancellationToken">CancellationToken to use for operation.</param>
/// <returns><c>true</c> if successful, <c>false</c> if not.</returns>
2020-02-23 02:53:51 -07:00
Task<bool> RefreshChapterImages(Video video, IDirectoryService directoryService, IReadOnlyList<ChapterInfo> chapters, bool extractImages, bool saveChapters, CancellationToken cancellationToken);
2018-12-27 16:27:57 -07:00
}
}