From f5915224d369446c1f5fd47c28eea5f6ef1e6dd9 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Sun, 19 May 2024 10:05:10 +0300 Subject: [PATCH] add filter to exclude when DV is together with HDR profile --- addon/lib/filter.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addon/lib/filter.js b/addon/lib/filter.js index b7f6c39..b41a3cc 100644 --- a/addon/lib/filter.js +++ b/addon/lib/filter.js @@ -119,6 +119,14 @@ export const QualityFilter = { return hdrProfiles === 'DV'; } }, + { + key: 'dolbyvisionwithhdr', + label: 'Dolby Vision + HDR', + test(quality) { + const hdrProfiles = quality?.split(' ')?.slice(1)?.join() || ''; + return hdrProfiles.includes('DV') && hdrProfiles.includes('HDR'); + } + }, { key: '4k', label: '4k',