|
|
|
@ -195,7 +195,6 @@ namespace MediaBrowser.Providers.Manager
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MergeAlbumArtist(source, target, lockedFields, replaceData);
|
|
|
|
|
MergeMetascore(source, target, lockedFields, replaceData);
|
|
|
|
|
MergeCriticRating(source, target, lockedFields, replaceData);
|
|
|
|
|
MergeAwards(source, target, lockedFields, replaceData);
|
|
|
|
|
MergeTrailers(source, target, lockedFields, replaceData);
|
|
|
|
@ -246,20 +245,6 @@ namespace MediaBrowser.Providers.Manager
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void MergeMetascore(BaseItem source, BaseItem target, List<MetadataFields> lockedFields, bool replaceData)
|
|
|
|
|
{
|
|
|
|
|
var sourceCast = source as IHasMetascore;
|
|
|
|
|
var targetCast = target as IHasMetascore;
|
|
|
|
|
|
|
|
|
|
if (sourceCast != null && targetCast != null)
|
|
|
|
|
{
|
|
|
|
|
if (replaceData || !targetCast.Metascore.HasValue)
|
|
|
|
|
{
|
|
|
|
|
targetCast.Metascore = sourceCast.Metascore;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void MergeAwards(BaseItem source, BaseItem target, List<MetadataFields> lockedFields, bool replaceData)
|
|
|
|
|
{
|
|
|
|
|
var sourceCast = source as IHasAwards;
|
|
|
|
|