From dc8f16c58dd04ad39c4fd005165d75a5801304f7 Mon Sep 17 00:00:00 2001 From: Ian Walton Date: Tue, 14 Feb 2023 17:12:45 -0500 Subject: [PATCH] Block Dolby Vision from playing in profile. (not fully working due to upstream bug) --- native/nativeshell.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/native/nativeshell.js b/native/nativeshell.js index b65f5e4..743abf2 100644 --- a/native/nativeshell.js +++ b/native/nativeshell.js @@ -84,7 +84,18 @@ function getDeviceProfile() { 'DirectPlayProfiles': [{'Type': 'Video'}, {'Type': 'Audio'}, {'Type': 'Photo'}], 'ResponseProfiles': [], 'ContainerProfiles': [], - 'CodecProfiles': [], + 'CodecProfiles': [ + { + 'Type': 'Video', + 'Conditions': [ + { + 'Condition': 'NotEquals', + 'Property': 'VideoRangeType', + 'Value': 'DOVI' + } + ] + } + ], 'SubtitleProfiles': [ {'Format': 'srt', 'Method': 'External'}, {'Format': 'srt', 'Method': 'Embed'},