From 1df64ec836cf3cb92f314392464f608421f4fae3 Mon Sep 17 00:00:00 2001 From: nuxencs <47067662+nuxencs@users.noreply.github.com> Date: Fri, 1 Jul 2022 11:22:29 +0200 Subject: [PATCH 1/5] Fixed: Conditions in DTS and DTS-ES fixed and added conditions in DTS and DTS-ES to better match their respective releases. --- docs/json/radarr/dts-es.json | 11 +---------- docs/json/radarr/dts.json | 9 +++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/json/radarr/dts-es.json b/docs/json/radarr/dts-es.json index 0a4eeb2f0..438f0d7a4 100644 --- a/docs/json/radarr/dts-es.json +++ b/docs/json/radarr/dts-es.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dts[-. ]?(es|(hd[. ]?)?(hr|hi))" + "value": "dts[-. ]?es" } }, { @@ -83,15 +83,6 @@ "fields": { "value": "\\b(l?)PCM(\\b|\\d)" } - }, - { - "name": "6.1 Surround", - "implementation": "ReleaseTitleSpecification", - "negate": false, - "required": true, - "fields": { - "value": "[^0-9]6[ .][0-1]" - } } ] } \ No newline at end of file diff --git a/docs/json/radarr/dts.json b/docs/json/radarr/dts.json index 50c40f4e0..6bc5244ff 100644 --- a/docs/json/radarr/dts.json +++ b/docs/json/radarr/dts.json @@ -21,6 +21,15 @@ "value": "dts[ .-]?(ma\\b|hd[ .-]?ma|hd)(?!china|r)" } }, + { + "name": "Not DTS-HD HRA/ES", + "implementation": "ReleaseTitleSpecification", + "negate": true, + "required": true, + "fields": { + "value": "dts[-. ]?(es|(hd[. ]?)?(hr|hi))" + } + }, { "name": "Not Dolby Digital Plus", "implementation": "ReleaseTitleSpecification", From 23b881d3c65df7976df508528c5bdbe2476d5cd1 Mon Sep 17 00:00:00 2001 From: nuxencs <47067662+nuxencs@users.noreply.github.com> Date: Fri, 1 Jul 2022 11:57:16 +0200 Subject: [PATCH 2/5] Fixed: Added a word boundary to DTS-ES added a word boundary to the DTS-ES regex to avoid matching anything after DTS-ES. --- docs/json/radarr/dts-es.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/json/radarr/dts-es.json b/docs/json/radarr/dts-es.json index 438f0d7a4..4add5e3e3 100644 --- a/docs/json/radarr/dts-es.json +++ b/docs/json/radarr/dts-es.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dts[-. ]?es" + "value": "dts[-. ]?es\\b" } }, { From d8d0020e31c91ee1549119d91a7b7c249bf20bc9 Mon Sep 17 00:00:00 2001 From: nuxencs <47067662+nuxencs@users.noreply.github.com> Date: Fri, 1 Jul 2022 12:35:29 +0200 Subject: [PATCH 3/5] Fixed: Regex to recognize Basic Dolby Digital updated the regex to fix the recognition of Basic Dolby Digital to help with incorrect matching of some Custom Formats. --- docs/json/radarr/aac.json | 2 +- docs/json/radarr/atmos-undefined.json | 2 +- docs/json/radarr/dd-atmos.json | 2 +- docs/json/radarr/ddplus.json | 2 +- docs/json/radarr/dts-es.json | 2 +- docs/json/radarr/dts-hd-hra.json | 2 +- docs/json/radarr/dts-hd-ma.json | 2 +- docs/json/radarr/dts-x.json | 2 +- docs/json/radarr/dts.json | 2 +- docs/json/radarr/flac.json | 2 +- docs/json/radarr/pcm.json | 2 +- docs/json/radarr/truehd-atmos.json | 2 +- docs/json/radarr/truehd.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/json/radarr/aac.json b/docs/json/radarr/aac.json index 209fb463e..7ac3175d0 100644 --- a/docs/json/radarr/aac.json +++ b/docs/json/radarr/aac.json @@ -36,7 +36,7 @@ "negate": true, "required": true, "fields": { - "value": "(? Date: Fri, 1 Jul 2022 17:40:54 +0200 Subject: [PATCH 4/5] Raised score from `25` to `800` to match `Imax Enhanced`. - Updated: CF `[IMAX]` Raised score from `25` to `800` to match `Imax Enhanced`. --- docs/json/radarr/imax.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/json/radarr/imax.json b/docs/json/radarr/imax.json index c90eb9295..2f851eafd 100644 --- a/docs/json/radarr/imax.json +++ b/docs/json/radarr/imax.json @@ -1,6 +1,6 @@ { "trash_id": "eecf3a857724171f968a66cb5719e152", - "trash_score": "25", + "trash_score": "800", "name": "IMAX", "includeCustomFormatWhenRenaming": true, "specifications": [ From 8868d4c4146f651d0122f2496fed503ba6bc1479 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Fri, 1 Jul 2022 17:48:18 +0200 Subject: [PATCH 5/5] # 2022-07-01 # 2022-07-01 --- docs/updates.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/updates.txt b/docs/updates.txt index 2c3df4175..56f83272b 100644 --- a/docs/updates.txt +++ b/docs/updates.txt @@ -1,3 +1,10 @@ +# 2022-07-01 +Raised score from 25 to 800 to match Imax Enhanced. #650 +- Updated: CF `[IMAX]` Raised score from `25` to `800` to match `Imax Enhanced`. +Fixed: Conditions in various sound codec CFs #649 +- Fixed: Conditions in `[DTS]` and `[DTS-ES]` +- Fixed: Regex to recognize Basic Dolby Digital `[DD]`, updated the regex to fix the recognition of `DD` to help with incorrect matching of some Custom Formats. + # 2022-06-26 Added word boundary for HONE #642 - Updated: CF `[HQ-WEBDL]` Added word boundary for `HONE`.