aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IO/IExternalDataManager.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-05-25 10:49:01 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-05-26 20:44:03 +0200
commita05bde53d46d1a074b5f17181c59086837dfb04c (patch)
treebaeac83e9b4109802ed943afc6c9fc0ff999bdeb /MediaBrowser.Controller/IO/IExternalDataManager.cs
parentd0f1df13b2660ec8a20083929a731226bfbd7c9d (diff)
Fix external data pruning on item deletion
Diffstat (limited to 'MediaBrowser.Controller/IO/IExternalDataManager.cs')
-rw-r--r--MediaBrowser.Controller/IO/IExternalDataManager.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/IO/IExternalDataManager.cs b/MediaBrowser.Controller/IO/IExternalDataManager.cs
index f69f4586c6..b2eb8fc3f1 100644
--- a/MediaBrowser.Controller/IO/IExternalDataManager.cs
+++ b/MediaBrowser.Controller/IO/IExternalDataManager.cs
@@ -16,4 +16,11 @@ public interface IExternalDataManager
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task.</returns>
Task DeleteExternalItemDataAsync(BaseItem item, CancellationToken cancellationToken);
+
+ /// <summary>
+ /// Deletes only the filesystem-side external item data (attachments, subtitles, trickplay, chapter images).
+ /// Use this when DB-side cleanup is already handled by another code path (e.g. <c>IItemPersistenceService.DeleteItem</c>).
+ /// </summary>
+ /// <param name="item">The item.</param>
+ void DeleteExternalItemFiles(BaseItem item);
}