mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-12-26 17:36:52 +00:00
Fixes 'replace missing metadata' overwrites existing metadata that does exist (#11136)
This commit is contained in:
parent
2d1cf803d3
commit
4bcabbde7b
|
@ -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…
Reference in a new issue