Skip local metadata providers when identifying
This commit is contained in:
parent
ab4315742f
commit
a7e2271845
|
@ -669,6 +669,10 @@ namespace MediaBrowser.Providers.Manager
|
|||
temp.Item.Id = item.Id;
|
||||
|
||||
var foundImageTypes = new List<ImageType>();
|
||||
|
||||
// Only execute local providers if we are not identifying
|
||||
if (options.SearchResult is null)
|
||||
{
|
||||
foreach (var provider in providers.OfType<ILocalMetadataProvider<TItemType>>())
|
||||
{
|
||||
var providerName = provider.GetType().Name;
|
||||
|
@ -734,6 +738,7 @@ namespace MediaBrowser.Providers.Manager
|
|||
refreshResult.ErrorMessage = ex.Message;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var isLocalLocked = temp.Item.IsLocked;
|
||||
if (!isLocalLocked && (options.ReplaceAllMetadata || options.MetadataRefreshMode > MetadataRefreshMode.ValidationOnly))
|
||||
|
|
Loading…
Reference in New Issue
Block a user