2
0

IEncodingManager.cs 1.1 KB

12345678910111213141516171819202122232425262728
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System.Collections.Generic;
  4. using System.Threading;
  5. using System.Threading.Tasks;
  6. using MediaBrowser.Controller.Entities;
  7. using MediaBrowser.Controller.Providers;
  8. using MediaBrowser.Model.Entities;
  9. namespace MediaBrowser.Controller.MediaEncoding
  10. {
  11. public interface IEncodingManager
  12. {
  13. /// <summary>
  14. /// Refreshes the chapter images.
  15. /// </summary>
  16. /// <param name="video">Video to use.</param>
  17. /// <param name="directoryService">Directory service to use.</param>
  18. /// <param name="chapters">Set of chapters to refresh.</param>
  19. /// <param name="extractImages">Option to extract images.</param>
  20. /// <param name="saveChapters">Option to save chapters.</param>
  21. /// <param name="cancellationToken">CancellationToken to use for operation.</param>
  22. /// <returns><c>true</c> if successful, <c>false</c> if not.</returns>
  23. Task<bool> RefreshChapterImages(Video video, IDirectoryService directoryService, IReadOnlyList<ChapterInfo> chapters, bool extractImages, bool saveChapters, CancellationToken cancellationToken);
  24. }
  25. }