From d6a8fa14854bf662f394eceffc13a2c921e3a0ff Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sun, 1 Feb 2026 14:15:27 +0100 Subject: [PATCH] Fix part removal and double series refresh --- MediaBrowser.Controller/Entities/Folder.cs | 26 +++++++--------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index b88572a67f..ffb5fa14b7 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -459,11 +459,11 @@ namespace MediaBrowser.Controller.Entities // If it's an AggregateFolder, don't remove if (shouldRemove && itemsRemoved.Count > 0) { - // Build a set of paths that are alternate versions of valid children + // Build a set of paths that are alternate versions or additional parts of valid children // These items should not be deleted - they're managed by their primary video - var alternateVersionPaths = validChildren + var protectedPaths = validChildren .OfType