Procházet zdrojové kódy

Block Dolby Vision from playing in profile. (not fully working due to upstream bug)

Ian Walton před 1 rokem
rodič
revize
dc8f16c58d
1 změnil soubory, kde provedl 12 přidání a 1 odebrání
  1. 12 1
      native/nativeshell.js

+ 12 - 1
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'},