aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Library')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index ef497726e..e2d8325fe 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -3051,10 +3051,10 @@ namespace Emby.Server.Implementations.Library
}
finally
{
+ await ValidateTopLibraryFolders(CancellationToken.None).ConfigureAwait(false);
+
if (refreshLibrary)
{
- await ValidateTopLibraryFolders(CancellationToken.None).ConfigureAwait(false);
-
StartScanInBackground();
}
else