diff --git a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs index 36c02083d..60de1def5 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs @@ -477,8 +477,8 @@ public static string FormatVideoDynamicRange(MediaInfoModel mediaInfo) var videoDynamicRange = ""; if (mediaInfo.VideoBitDepth >= 10 && - !string.IsNullOrEmpty(mediaInfo.VideoColourPrimaries) && - !string.IsNullOrEmpty(mediaInfo.VideoTransferCharacteristics)) + mediaInfo.VideoColourPrimaries.IsNotNullOrWhiteSpace() && + mediaInfo.VideoTransferCharacteristics.IsNotNullOrWhiteSpace()) { if (mediaInfo.VideoColourPrimaries.EqualsIgnoreCase(ValidHdrColourPrimaries) && ValidHdrTransferFunctions.Any(mediaInfo.VideoTransferCharacteristics.Contains)) diff --git a/src/NzbDrone.Core/Organizer/FileNameSampleService.cs b/src/NzbDrone.Core/Organizer/FileNameSampleService.cs index 28cb60982..5d03e7940 100644 --- a/src/NzbDrone.Core/Organizer/FileNameSampleService.cs +++ b/src/NzbDrone.Core/Organizer/FileNameSampleService.cs @@ -30,7 +30,7 @@ public FileNameSampleService(IBuildFileNames buildFileNames) VideoBitDepth = 10, VideoMultiViewCount = 2, VideoColourPrimaries = "BT.2020", - VideoTransferCharacteristics = "PQ", + VideoTransferCharacteristics = "HLG", AudioFormat = "DTS", AudioChannels = 6, AudioChannelPositions = "3/2/0.1", @@ -44,7 +44,7 @@ public FileNameSampleService(IBuildFileNames buildFileNames) VideoBitDepth = 10, VideoMultiViewCount = 2, VideoColourPrimaries = "BT.2020", - VideoTransferCharacteristics = "PQ", + VideoTransferCharacteristics = "HLG", AudioFormat = "DTS", AudioChannels = 6, AudioChannelPositions = "3/2/0.1",