Validate Collection Folders on adding and removal (#11444)

This commit is contained in:
gnattu
2024-05-05 22:21:40 +08:00
committed by GitHub
parent 77a101cc98
commit 3ae0fb90cb
3 changed files with 10 additions and 4 deletions

View File

@@ -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);