From f5f75ed2e1b10dc1f4e55d5cdd9dd7fd69ea8f2b Mon Sep 17 00:00:00 2001
From: Seven Rats <79296037+sevenrats@users.noreply.github.com>
Date: Sun, 3 May 2026 06:18:20 -0400
Subject: feat/audiobook_chapters (#16518)
feat/audiobook_chapters
---
MediaBrowser.Controller/Chapters/IChapterManager.cs | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
(limited to 'MediaBrowser.Controller')
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
@@ -13,12 +13,19 @@ namespace MediaBrowser.Controller.Chapters;
///
public interface IChapterManager
{
+ ///
+ /// Gets a value indicating whether the specified item type is supported for chapter operations.
+ ///
+ /// The item to check.
+ /// true if the item type supports chapters; otherwise, false.
+ bool Supports(BaseItem item);
+
///
/// Saves the chapters.
///
- /// The video.
+ /// The item.
/// The set of chapters.
- void SaveChapters(Video video, IReadOnlyList chapters);
+ void SaveChapters(BaseItem item, IReadOnlyList chapters);
///
/// Gets a single chapter of a BaseItem on a specific index.
--
cgit v1.2.3