diff options
| author | Seven Rats <79296037+sevenrats@users.noreply.github.com> | 2026-05-03 06:18:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-03 12:18:20 +0200 |
| commit | f5f75ed2e1b10dc1f4e55d5cdd9dd7fd69ea8f2b (patch) | |
| tree | 8049df344dbcf64dd35ec2bae5a9bd1ef9c3b1a1 /MediaBrowser.Controller | |
| parent | df6f706c2f632b9e1eeeabccf5511ab24f317633 (diff) | |
feat/audiobook_chapters (#16518)
feat/audiobook_chapters
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Chapters/IChapterManager.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Chapters/IChapterManager.cs b/MediaBrowser.Controller/Chapters/IChapterManager.cs index 25656fd625..edc20205aa 100644 --- a/MediaBrowser.Controller/Chapters/IChapterManager.cs +++ b/MediaBrowser.Controller/Chapters/IChapterManager.cs @@ -14,11 +14,18 @@ namespace MediaBrowser.Controller.Chapters; public interface IChapterManager { /// <summary> + /// Gets a value indicating whether the specified item type is supported for chapter operations. + /// </summary> + /// <param name="item">The item to check.</param> + /// <returns><c>true</c> if the item type supports chapters; otherwise, <c>false</c>.</returns> + bool Supports(BaseItem item); + + /// <summary> /// Saves the chapters. /// </summary> - /// <param name="video">The video.</param> + /// <param name="item">The item.</param> /// <param name="chapters">The set of chapters.</param> - void SaveChapters(Video video, IReadOnlyList<ChapterInfo> chapters); + void SaveChapters(BaseItem item, IReadOnlyList<ChapterInfo> chapters); /// <summary> /// Gets a single chapter of a BaseItem on a specific index. |
