diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-10 13:36:06 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-10 13:36:06 -0400 |
| commit | 437062b29e3e3456c15659666d6015356695913c (patch) | |
| tree | 897d3aceed4225203b0343c311edf5fb0c58e5cd /MediaBrowser.Controller/Chapters/IChapterManager.cs | |
| parent | 5d08aa39a9606886884f0b3f0c6b93c87d321111 (diff) | |
switch to subtitle filter
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> |
