mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-18 20:24:20 +01:00
Fix slow local image validation (#990)
* Check for local image directory existence to avoid tons of exceptions
This commit is contained in:
@@ -92,10 +92,7 @@ namespace MediaBrowser.Providers.Manager
|
||||
catch (Exception ex)
|
||||
{
|
||||
localImagesFailed = true;
|
||||
if (!(item is IItemByName))
|
||||
{
|
||||
Logger.LogError(ex, "Error validating images for {0}", item.Path ?? item.Name ?? "Unknown name");
|
||||
}
|
||||
Logger.LogError(ex, "Error validating images for {0}", item.Path ?? item.Name ?? "Unknown name");
|
||||
}
|
||||
|
||||
var metadataResult = new MetadataResult<TItemType>
|
||||
|
||||
Reference in New Issue
Block a user