aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Chapters/IChapterManager.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-05-04 21:26:26 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-05-04 21:26:26 +0200
commit57c0fcd674c659c658369f0aebfd5d9d6787a9d4 (patch)
tree7aff23d6f54e913a6a34cb5a2568a07298582444 /MediaBrowser.Controller/Chapters/IChapterManager.cs
parent68ab58589444091925c15ad20d36f935b7bc2e21 (diff)
parentec04313317bed62728b059108cd232e9744f6354 (diff)
Merge remote-tracking branch 'upstream/master' into epg-fixes
Diffstat (limited to 'MediaBrowser.Controller/Chapters/IChapterManager.cs')
-rw-r--r--MediaBrowser.Controller/Chapters/IChapterManager.cs11
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.