mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Do not run local providers if replacing and saving is enabled
This commit is contained in:
parent
a7e2271845
commit
b14edb8876
1 changed files with 2 additions and 2 deletions
|
@ -670,8 +670,8 @@ namespace MediaBrowser.Providers.Manager
|
|||
|
||||
var foundImageTypes = new List<ImageType>();
|
||||
|
||||
// Only execute local providers if we are not identifying
|
||||
if (options.SearchResult is null)
|
||||
// Do not execute local providers if we are identifying or replacing with NFO saving enabled
|
||||
if (options.SearchResult is null && !(item.IsSaveLocalMetadataEnabled() && options.ReplaceAllMetadata))
|
||||
{
|
||||
foreach (var provider in providers.OfType<ILocalMetadataProvider<TItemType>>())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue