From 98b561d62cc978ba805b9e5dadeda9c995c40cb1 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sun, 1 Feb 2026 16:54:59 +0100 Subject: [PATCH] Revert RefreshMetadata changes --- MediaBrowser.Controller/Entities/Folder.cs | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index ffb5fa14b7..b88572a67f 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 or additional parts of valid children + // Build a set of paths that are alternate versions of valid children // These items should not be deleted - they're managed by their primary video - var protectedPaths = validChildren + var alternateVersionPaths = validChildren .OfType