From 49cd882f3634e3e689fe26873d26195812b9a060 Mon Sep 17 00:00:00 2001 From: nuxen <47067662+nuxencs@users.noreply.github.com> Date: Sun, 19 Feb 2023 20:54:17 +0100 Subject: [PATCH] Revert "feat(radarr): fixed mistakes & added regex examples" This reverts commit 3548bf0f5636c9735a6d91b593453f8c009272b5. --- docs/json/radarr/cf/dv-fel.json | 2 +- docs/json/radarr/cf/dv-hdr10.json | 2 +- docs/json/radarr/cf/dv-hlg.json | 3 +-- docs/json/radarr/cf/dv-sdr.json | 1 - docs/json/radarr/cf/dv-webdl.json | 3 +-- docs/json/radarr/cf/dv.json | 3 +-- docs/json/radarr/cf/hdr-undefined.json | 2 +- docs/json/radarr/cf/hdr.json | 3 +-- docs/json/radarr/cf/hdr10.json | 3 +-- docs/json/radarr/cf/hdr10plus-boost.json | 4 ++-- docs/json/radarr/cf/hdr10plus.json | 4 ++-- docs/json/radarr/cf/hlg.json | 3 +-- docs/json/radarr/cf/pq.json | 3 +-- 13 files changed, 14 insertions(+), 22 deletions(-) diff --git a/docs/json/radarr/cf/dv-fel.json b/docs/json/radarr/cf/dv-fel.json index ead2c1c98..175819ce8 100644 --- a/docs/json/radarr/cf/dv-fel.json +++ b/docs/json/radarr/cf/dv-fel.json @@ -19,7 +19,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\\b)(?!.*\\b(PQ)\\b)" } }, { diff --git a/docs/json/radarr/cf/dv-hdr10.json b/docs/json/radarr/cf/dv-hdr10.json index 986c54777..08be5bc72 100644 --- a/docs/json/radarr/cf/dv-hdr10.json +++ b/docs/json/radarr/cf/dv-hdr10.json @@ -1,7 +1,7 @@ { "trash_id": "e23edd2482476e595fb990b12e7c609c", "trash_score": "1500", - "trash_regex": "https://regex101.com/r/xIFQQR/1", + "trash_regex": "https://regex101.com/r/pADWJD/8", "name": "DV HDR10", "includeCustomFormatWhenRenaming": false, "specifications": [ diff --git a/docs/json/radarr/cf/dv-hlg.json b/docs/json/radarr/cf/dv-hlg.json index 1c9cc3a9c..ea9cdbf01 100644 --- a/docs/json/radarr/cf/dv-hlg.json +++ b/docs/json/radarr/cf/dv-hlg.json @@ -1,7 +1,6 @@ { "trash_id": "55d53828b9d81cbe20b02efd00aa0efd", "trash_score": "1500", - "trash_regex": "https://regex101.com/r/Bc7NTL/2", "name": "DV HLG", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HLG(\\b|\\d)))" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?=.*\\b(HLG)\\b)" } } ] diff --git a/docs/json/radarr/cf/dv-sdr.json b/docs/json/radarr/cf/dv-sdr.json index e15647a7a..4c01b72f5 100644 --- a/docs/json/radarr/cf/dv-sdr.json +++ b/docs/json/radarr/cf/dv-sdr.json @@ -1,7 +1,6 @@ { "trash_id": "a3e19f8f627608af0211acd02bf89735", "trash_score": "1500", - "trash_regex": "https://regex101.com/r/aJn0H8/1", "name": "DV SDR", "includeCustomFormatWhenRenaming": false, "specifications": [ diff --git a/docs/json/radarr/cf/dv-webdl.json b/docs/json/radarr/cf/dv-webdl.json index 96dd481d0..41b05a4ff 100644 --- a/docs/json/radarr/cf/dv-webdl.json +++ b/docs/json/radarr/cf/dv-webdl.json @@ -1,7 +1,6 @@ { "trash_id": "923b6abef9b17f937fab56cfcf89e1f1", "trash_score": "-10000", - "trash_regex": "https://regex101.com/r/Jqg9Jo/2", "name": "DV (WEBDL)", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\\b)(?!.*\\b(PQ)\\b)" } }, { diff --git a/docs/json/radarr/cf/dv.json b/docs/json/radarr/cf/dv.json index d33b8ed75..a354307dd 100644 --- a/docs/json/radarr/cf/dv.json +++ b/docs/json/radarr/cf/dv.json @@ -1,7 +1,6 @@ { "trash_id": "58d6a88f13e2db7f5059c41047876f00", "trash_score": "1500", - "trash_regex": "https://regex101.com/r/h9VdrP/2", "name": "DV", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(10[^+P])?)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(10[^+P])?)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\\b)(?!.*\\b(PQ)\\b)" } } ] diff --git a/docs/json/radarr/cf/hdr-undefined.json b/docs/json/radarr/cf/hdr-undefined.json index e299628e2..f6146f1a4 100644 --- a/docs/json/radarr/cf/hdr-undefined.json +++ b/docs/json/radarr/cf/hdr-undefined.json @@ -55,7 +55,7 @@ "negate": true, "required": true, "fields": { - "value": "\\b(HLG(\\b|\\d))" + "value": "\\b(HLG)\\b" } }, { diff --git a/docs/json/radarr/cf/hdr.json b/docs/json/radarr/cf/hdr.json index f6f21e12b..de8b90ac4 100644 --- a/docs/json/radarr/cf/hdr.json +++ b/docs/json/radarr/cf/hdr.json @@ -1,7 +1,6 @@ { "trash_id": "e61e28db95d22bedcadf030b8f156d96", "trash_score": "500", - "trash_regex": "https://regex101.com/r/Jy24ye/2", "name": "HDR", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(HDR)\\b)(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(HDR)\\b)(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\\b)(?!.*\\b(PQ)\\b)" } }, { diff --git a/docs/json/radarr/cf/hdr10.json b/docs/json/radarr/cf/hdr10.json index 40a4a0e89..0c6344715 100644 --- a/docs/json/radarr/cf/hdr10.json +++ b/docs/json/radarr/cf/hdr10.json @@ -1,7 +1,6 @@ { "trash_id": "dfb86d5941bc9075d6af23b09c2aeecd", "trash_score": "500", - "trash_regex": "https://regex101.com/r/EsT3YN/2", "name": "HDR10", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(HDR10[^+P])\\b)(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(HDR10[^+P])\\b)(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\\b)(?!.*\\b(PQ)\\b)" } } ] diff --git a/docs/json/radarr/cf/hdr10plus-boost.json b/docs/json/radarr/cf/hdr10plus-boost.json index 8126bd959..44ce4ebdb 100644 --- a/docs/json/radarr/cf/hdr10plus-boost.json +++ b/docs/json/radarr/cf/hdr10plus-boost.json @@ -1,7 +1,7 @@ { "trash_id": "b17886cb4158d9fea189859409975758", "trash_score": "901", - "trash_regex": "https://regex101.com/r/keKCbP/2", + "trash_regex": "https://regex101.com/r/hCAQEO/4", "name": "HDR10+ Boost", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +11,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(HDR10(\\+|P(lus)?)))(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(HDR10(\\+|P(lus)?)))(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\\b)(?!.*\\b(PQ)\\b)" } } ] diff --git a/docs/json/radarr/cf/hdr10plus.json b/docs/json/radarr/cf/hdr10plus.json index 256f220e8..a8fada266 100644 --- a/docs/json/radarr/cf/hdr10plus.json +++ b/docs/json/radarr/cf/hdr10plus.json @@ -1,7 +1,7 @@ { "trash_id": "b974a6cd08c1066250f1f177d7aa1225", "trash_score": "600", - "trash_regex": "https://regex101.com/r/keKCbP/2", + "trash_regex": "https://regex101.com/r/hCAQEO/4", "name": "HDR10+", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +11,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(HDR10(\\+|P(lus)?)))(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(HDR10(\\+|P(lus)?)))(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\\b)(?!.*\\b(PQ)\\b)" } } ] diff --git a/docs/json/radarr/cf/hlg.json b/docs/json/radarr/cf/hlg.json index 46b091d07..3081d33e1 100644 --- a/docs/json/radarr/cf/hlg.json +++ b/docs/json/radarr/cf/hlg.json @@ -1,7 +1,6 @@ { "trash_id": "9364dd386c9b4a1100dde8264690add7", "trash_score": "500", - "trash_regex": "https://regex101.com/r/gAoHQt/1", "name": "HLG", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(HLG(\\b|\\d)))(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(PQ)\\b)" + "value": "^(?=.*\\b(HLG)\\b)(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(PQ)\b)" } } ] diff --git a/docs/json/radarr/cf/pq.json b/docs/json/radarr/cf/pq.json index f7f2290c6..be8de8880 100644 --- a/docs/json/radarr/cf/pq.json +++ b/docs/json/radarr/cf/pq.json @@ -1,7 +1,6 @@ { "trash_id": "08d6d8834ad9ec87b1dc7ec8148e7a1f", "trash_score": "500", - "trash_regex": "https://regex101.com/r/aaUkkW/2", "name": "PQ", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -11,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "^(?=.*\\b(PQ)\\b)(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(HLG(\\b|\\d)))" + "value": "(?=.*\\b(PQ)\\b)(?!.*\\b(DV|DoVi|Dolby[ .]?Vision)\\b)(?!.*\\b(HDR(\\b|\\d)))(?!.*\\b(SDR)\\b)(?!.*\\b(HLG)\b)" } } ]