Browse Source

Validate wizard-created libraries immediately instead of only doing it after a library refresh was triggered (#14942)

Co-authored-by: Derpipose <90276123+Derpipose@users.noreply.github.com>
Thomas Jones 1 week ago
parent
commit
bf69f9d8a8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Emby.Server.Implementations/Library/LibraryManager.cs

+ 2 - 2
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