update hdhr channel ids

This commit is contained in:
Luke Pulverenti
2017-08-15 23:40:36 -04:00
parent ee5fdd4120
commit d2b86edf05
11 changed files with 31 additions and 145 deletions

View File

@@ -202,23 +202,6 @@ namespace MediaBrowser.Providers.Manager
}
}
//if (!lockedFields.Contains(MetadataFields.DisplayMediaType))
{
var targetVideo = target as Video;
var sourceVideo = source as Video;
if (sourceVideo != null && targetVideo != null)
{
if (replaceData || string.IsNullOrEmpty(targetVideo.DisplayMediaType))
{
// Safeguard against incoming data having an emtpy name
if (!string.IsNullOrWhiteSpace(sourceVideo.DisplayMediaType))
{
targetVideo.DisplayMediaType = sourceVideo.DisplayMediaType;
}
}
}
}
if (mergeMetadataSettings)
{
MergeMetadataSettings(source, target);