Fixes 'replace missing metadata' overwrites existing metadata that does exist (#11136)

pull/10623/merge
scampower3 8 months ago committed by GitHub
parent 2d1cf803d3
commit 4bcabbde7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -773,7 +773,8 @@ namespace MediaBrowser.Providers.Manager
MergeData(metadata, temp, Array.Empty<MetadataField>(), false, false);
}
MergeData(temp, metadata, item.LockedFields, true, false);
// Will always replace all metadata when Scan for new and updated files is used. Else, follow the options.
MergeData(temp, metadata, item.LockedFields, options.MetadataRefreshMode == MetadataRefreshMode.Default || options.ReplaceAllMetadata, false);
}
}
}

Loading…
Cancel
Save