From bdf8bfcc6f280d00b2755f498cac509230240cd5 Mon Sep 17 00:00:00 2001 From: nuxen <47067662+nuxencs@users.noreply.github.com> Date: Sun, 19 Feb 2023 21:16:51 +0100 Subject: [PATCH] fix(starr): revert changes and fix HDR CFs --- docs/json/radarr/cf/dv-hdr10.json | 2 +- docs/json/radarr/cf/dv-hlg.json | 2 +- docs/json/radarr/cf/dv-sdr.json | 2 +- docs/json/radarr/cf/dv.json | 2 +- docs/json/radarr/cf/hdr.json | 22 ++-------------------- docs/json/radarr/cf/hdr10.json | 11 +---------- docs/json/radarr/cf/hdr10plus-boost.json | 11 +---------- docs/json/radarr/cf/hdr10plus.json | 11 +---------- docs/json/sonarr/cf/dv-hdr10.json | 2 +- docs/json/sonarr/cf/dv-hlg.json | 2 +- docs/json/sonarr/cf/dv-sdr.json | 2 +- docs/json/sonarr/cf/dv.json | 2 +- docs/json/sonarr/cf/hdr.json | 22 ++-------------------- docs/json/sonarr/cf/hdr10.json | 11 +---------- docs/json/sonarr/cf/hdr10plus-boost.json | 11 +---------- docs/json/sonarr/cf/hdr10plus.json | 11 +---------- 16 files changed, 18 insertions(+), 108 deletions(-) diff --git a/docs/json/radarr/cf/dv-hdr10.json b/docs/json/radarr/cf/dv-hdr10.json index a30bf5c52..560acc5a8 100644 --- a/docs/json/radarr/cf/dv-hdr10.json +++ b/docs/json/radarr/cf/dv-hdr10.json @@ -11,7 +11,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/radarr/cf/dv-hlg.json b/docs/json/radarr/cf/dv-hlg.json index a8e66d394..ddcb73a7a 100644 --- a/docs/json/radarr/cf/dv-hlg.json +++ b/docs/json/radarr/cf/dv-hlg.json @@ -19,7 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/radarr/cf/dv-sdr.json b/docs/json/radarr/cf/dv-sdr.json index a7c90faae..5f3988582 100644 --- a/docs/json/radarr/cf/dv-sdr.json +++ b/docs/json/radarr/cf/dv-sdr.json @@ -19,7 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/radarr/cf/dv.json b/docs/json/radarr/cf/dv.json index d300cc56a..b73842b4f 100644 --- a/docs/json/radarr/cf/dv.json +++ b/docs/json/radarr/cf/dv.json @@ -19,7 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/radarr/cf/hdr.json b/docs/json/radarr/cf/hdr.json index 935d5c27e..d1280f8e4 100644 --- a/docs/json/radarr/cf/hdr.json +++ b/docs/json/radarr/cf/hdr.json @@ -10,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "\\bHDR(\\b|\\d)" + "value": "\\b(HDR)\\b" } }, { @@ -22,24 +22,6 @@ "value": "\\b(dv|dovi|dolby[ .]?vision)\\b" } }, - { - "name": "Not HDR10+", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\+|P(lus)?\\b)" - } - }, - { - "name": "Not HDR10", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\b[^+|Plus])" - } - }, { "name": "Not PQ", "implementation": "ReleaseTitleSpecification", @@ -55,7 +37,7 @@ "negate": true, "required": true, "fields": { - "value": "\\b(HLG)\\b" + "value": "\\bHLG(\\b|\\d)" } }, { diff --git a/docs/json/radarr/cf/hdr10.json b/docs/json/radarr/cf/hdr10.json index 772059ffc..3c4da50be 100644 --- a/docs/json/radarr/cf/hdr10.json +++ b/docs/json/radarr/cf/hdr10.json @@ -19,16 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" - } - }, - { - "name": "Not HDR10+", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\+|P(lus)?\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/radarr/cf/hdr10plus-boost.json b/docs/json/radarr/cf/hdr10plus-boost.json index 847e936db..a03b7714b 100644 --- a/docs/json/radarr/cf/hdr10plus-boost.json +++ b/docs/json/radarr/cf/hdr10plus-boost.json @@ -20,16 +20,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" - } - }, - { - "name": "Not HDR10", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\b[^+|Plus])" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/radarr/cf/hdr10plus.json b/docs/json/radarr/cf/hdr10plus.json index ecd8b8927..06ecce55e 100644 --- a/docs/json/radarr/cf/hdr10plus.json +++ b/docs/json/radarr/cf/hdr10plus.json @@ -20,16 +20,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" - } - }, - { - "name": "Not HDR10", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\b[^+|Plus])" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/sonarr/cf/dv-hdr10.json b/docs/json/sonarr/cf/dv-hdr10.json index 98fde3b11..be16533f3 100644 --- a/docs/json/sonarr/cf/dv-hdr10.json +++ b/docs/json/sonarr/cf/dv-hdr10.json @@ -11,7 +11,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/sonarr/cf/dv-hlg.json b/docs/json/sonarr/cf/dv-hlg.json index c5cd3c981..e933fd771 100644 --- a/docs/json/sonarr/cf/dv-hlg.json +++ b/docs/json/sonarr/cf/dv-hlg.json @@ -19,7 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/sonarr/cf/dv-sdr.json b/docs/json/sonarr/cf/dv-sdr.json index 044c8f34a..33b8f8de9 100644 --- a/docs/json/sonarr/cf/dv-sdr.json +++ b/docs/json/sonarr/cf/dv-sdr.json @@ -19,7 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/sonarr/cf/dv.json b/docs/json/sonarr/cf/dv.json index 0a001449d..5d13d5650 100644 --- a/docs/json/sonarr/cf/dv.json +++ b/docs/json/sonarr/cf/dv.json @@ -19,7 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/sonarr/cf/hdr.json b/docs/json/sonarr/cf/hdr.json index 89a4482fc..62ae62ea7 100644 --- a/docs/json/sonarr/cf/hdr.json +++ b/docs/json/sonarr/cf/hdr.json @@ -10,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "\\bHDR(\\b|\\d)" + "value": "\\b(HDR)\\b" } }, { @@ -22,24 +22,6 @@ "value": "\\b(dv|dovi|dolby[ .]?vision)\\b" } }, - { - "name": "Not HDR10+", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\+|P(lus)?\\b)" - } - }, - { - "name": "Not HDR10", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\b[^+|Plus])" - } - }, { "name": "Not PQ", "implementation": "ReleaseTitleSpecification", @@ -55,7 +37,7 @@ "negate": true, "required": true, "fields": { - "value": "\\b(HLG)\\b" + "value": "\\bHLG(\\b|\\d)" } }, { diff --git a/docs/json/sonarr/cf/hdr10.json b/docs/json/sonarr/cf/hdr10.json index f88e070a7..16ea669fa 100644 --- a/docs/json/sonarr/cf/hdr10.json +++ b/docs/json/sonarr/cf/hdr10.json @@ -19,16 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" - } - }, - { - "name": "Not HDR10+", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\+|P(lus)?\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/sonarr/cf/hdr10plus-boost.json b/docs/json/sonarr/cf/hdr10plus-boost.json index 5f7f28815..47ab2a8a0 100644 --- a/docs/json/sonarr/cf/hdr10plus-boost.json +++ b/docs/json/sonarr/cf/hdr10plus-boost.json @@ -20,16 +20,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" - } - }, - { - "name": "Not HDR10", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\b[^+|Plus])" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, { diff --git a/docs/json/sonarr/cf/hdr10plus.json b/docs/json/sonarr/cf/hdr10plus.json index bf1c656ce..b1d0defef 100644 --- a/docs/json/sonarr/cf/hdr10plus.json +++ b/docs/json/sonarr/cf/hdr10plus.json @@ -20,16 +20,7 @@ "negate": true, "required": true, "fields": { - "value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)" - } - }, - { - "name": "Not HDR10", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "\\bHDR10(\\b[^+|Plus])" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HDR(10)?(?!\\+))\\b)" } }, {