diff options
Diffstat (limited to 'MediaBrowser.Controller/Chapters/IChapterManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Chapters/IChapterManager.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Chapters/IChapterManager.cs b/MediaBrowser.Controller/Chapters/IChapterManager.cs index df230bf7e..b8f29d1ce 100644 --- a/MediaBrowser.Controller/Chapters/IChapterManager.cs +++ b/MediaBrowser.Controller/Chapters/IChapterManager.cs @@ -3,6 +3,7 @@ using MediaBrowser.Model.Chapters; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; +using MediaBrowser.Model.Entities; namespace MediaBrowser.Controller.Chapters { @@ -18,6 +19,22 @@ namespace MediaBrowser.Controller.Chapters void AddParts(IEnumerable<IChapterProvider> chapterProviders); /// <summary> + /// Gets the chapters. + /// </summary> + /// <param name="itemId">The item identifier.</param> + /// <returns>List{ChapterInfo}.</returns> + IEnumerable<ChapterInfo> GetChapters(string itemId); + + /// <summary> + /// Saves the chapters. + /// </summary> + /// <param name="itemId">The item identifier.</param> + /// <param name="chapters">The chapters.</param> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns>Task.</returns> + Task SaveChapters(string itemId, IEnumerable<ChapterInfo> chapters, CancellationToken cancellationToken); + + /// <summary> /// Searches the specified video. /// </summary> /// <param name="video">The video.</param> |
