aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Chapters/IChapterManager.cs
diff options
context:
space:
mode:
authorKGT1 <kilian.gamn@gmx.de>2026-05-03 22:35:57 +0200
committerGitHub <noreply@github.com>2026-05-03 22:35:57 +0200
commit4464b2e2ed9d8cc3f4c520ee76dfedac3557cf0d (patch)
tree4fdf6dc5fff74c21b3b2cd74c1d3d5fd695b0638 /MediaBrowser.Controller/Chapters/IChapterManager.cs
parent950c6525d1ab456115c4ee80b8fed86c5a81eaf5 (diff)
parent622947e37425f3620432995cde5d4a0809d91694 (diff)
Merge branch 'jellyfin:master' into removeGenericConfigurationEndpoint
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.