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>
This commit is contained in:
Thomas Jones 2025-10-04 08:58:51 -06:00 committed by GitHub
parent badf22fcc2
commit bf69f9d8a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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