mirror of https://github.com/jellyfin/jellyfin
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:
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue