Do not run local providers if replacing and saving is enabled
This commit is contained in:
parent
a7e2271845
commit
b14edb8876
|
@ -670,8 +670,8 @@ namespace MediaBrowser.Providers.Manager
|
||||||
|
|
||||||
var foundImageTypes = new List<ImageType>();
|
var foundImageTypes = new List<ImageType>();
|
||||||
|
|
||||||
// Only execute local providers if we are not identifying
|
// Do not execute local providers if we are identifying or replacing with NFO saving enabled
|
||||||
if (options.SearchResult is null)
|
if (options.SearchResult is null && !(item.IsSaveLocalMetadataEnabled() && options.ReplaceAllMetadata))
|
||||||
{
|
{
|
||||||
foreach (var provider in providers.OfType<ILocalMetadataProvider<TItemType>>())
|
foreach (var provider in providers.OfType<ILocalMetadataProvider<TItemType>>())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user