From 5c519270b84cc07928bd45a14f38f9b1add24d01 Mon Sep 17 00:00:00 2001 From: Tim Eisele Date: Mon, 13 Oct 2025 20:32:41 +0200 Subject: Remove chapters on file change (#14984) --- MediaBrowser.Controller/Persistence/IChapterRepository.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Controller/Persistence/IChapterRepository.cs') diff --git a/MediaBrowser.Controller/Persistence/IChapterRepository.cs b/MediaBrowser.Controller/Persistence/IChapterRepository.cs index 0844ddb364..64b90fd638 100644 --- a/MediaBrowser.Controller/Persistence/IChapterRepository.cs +++ b/MediaBrowser.Controller/Persistence/IChapterRepository.cs @@ -1,5 +1,7 @@ using System; using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; using MediaBrowser.Model.Entities; namespace MediaBrowser.Controller.Persistence; @@ -13,7 +15,9 @@ public interface IChapterRepository /// Deletes the chapters. /// /// The item. - void DeleteChapters(Guid itemId); + /// The cancellation token. + /// Task. + Task DeleteChaptersAsync(Guid itemId, CancellationToken cancellationToken); /// /// Saves the chapters. -- cgit v1.2.3