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