diff options
| author | gnattu <gnattu@users.noreply.github.com> | 2024-05-05 22:21:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-05 08:21:40 -0600 |
| commit | 3ae0fb90cba3040ad36d3a9f591ee6b3c1a46766 (patch) | |
| tree | b96de9ed4be9f1a12fb87fdbeada3b18d03ccfc4 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 77a101cc982a3d0aa14d230999cca2a452153a20 (diff) | |
Validate Collection Folders on adding and removal (#11444)
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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<double>(), new MetadataRefreshOptions(new DirectoryService(_fileSystem)), recursive: false, + allowRemoveRoot: removeRoot, cancellationToken: cancellationToken).ConfigureAwait(false); await GetUserRootFolder().RefreshMetadata(cancellationToken).ConfigureAwait(false); |
