mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 07:46:32 +01:00
update hdhr channel ids
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user