aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorThomas Jones <tjwalkr3@gmail.com>2025-10-04 08:58:51 -0600
committerGitHub <noreply@github.com>2025-10-04 08:58:51 -0600
commitbf69f9d8a8162d6de8a0c23a158a4ea0570fa93e (patch)
tree5f5cb7868521d07cc85babe6389dc0782be9cc02 /Emby.Server.Implementations
parentbadf22fcc21e41090ee164de372fa5badc675b5f (diff)
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>
Diffstat (limited to 'Emby.Server.Implementations')
-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