From bf69f9d8a8162d6de8a0c23a158a4ea0570fa93e Mon Sep 17 00:00:00 2001 From: Thomas Jones Date: Sat, 4 Oct 2025 08:58:51 -0600 Subject: 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> --- Emby.Server.Implementations/Library/LibraryManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs') 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 -- cgit v1.2.3