From 3ae0fb90cba3040ad36d3a9f591ee6b3c1a46766 Mon Sep 17 00:00:00 2001 From: gnattu Date: Sun, 5 May 2024 22:21:40 +0800 Subject: Validate Collection Folders on adding and removal (#11444) --- Emby.Server.Implementations/Library/LibraryManager.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs') diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 3b5714f8e..cca835e4f 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -1038,6 +1038,7 @@ namespace Emby.Server.Implementations.Library new Progress(), new MetadataRefreshOptions(new DirectoryService(_fileSystem)), recursive: false, + allowRemoveRoot: removeRoot, cancellationToken: cancellationToken).ConfigureAwait(false); await GetUserRootFolder().RefreshMetadata(cancellationToken).ConfigureAwait(false); -- cgit v1.2.3