From 523b54d5bd62fd766ab3d81b0cad84e030d143a7 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Wed, 17 Aug 2022 18:46:38 +0200 Subject: [PATCH] Temp fix for Resolution Condition - Temp fix for Resolution Condition --- docs/json/sonarr/cf/series/x265-hd.json | 4 +-- docs/json/sonarr/cf/series/x265-no-hdrdv.json | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 docs/json/sonarr/cf/series/x265-no-hdrdv.json diff --git a/docs/json/sonarr/cf/series/x265-hd.json b/docs/json/sonarr/cf/series/x265-hd.json index 1e450f962..9ce85dd09 100644 --- a/docs/json/sonarr/cf/series/x265-hd.json +++ b/docs/json/sonarr/cf/series/x265-hd.json @@ -15,11 +15,11 @@ }, { "name": "Not 2160p", - "implementation": "ResolutionSpecification", + "implementation": "ReleaseTitleSpecification", "negate": true, "required": true, "fields": { - "value": 6 + "value": "\\b(2160p)\\b" } } ] diff --git a/docs/json/sonarr/cf/series/x265-no-hdrdv.json b/docs/json/sonarr/cf/series/x265-no-hdrdv.json new file mode 100644 index 000000000..7a0618208 --- /dev/null +++ b/docs/json/sonarr/cf/series/x265-no-hdrdv.json @@ -0,0 +1,35 @@ +{ + "trash_id": "9b64dff695c2115facf1b6ea59c9bd07", + "trash_score": "-10000", + "name": "x265 (no HDR/DV)", + "includeCustomFormatWhenRenaming": false, + "specifications": [ + { + "name": "x265/HEVC", + "implementation": "ReleaseTitleSpecification", + "negate": false, + "required": true, + "fields": { + "value": "[xh][ .]?265|\\bHEVC(\\b|\\d)" + } + }, + { + "name": "Not HDR/DV", + "implementation": "ReleaseTitleSpecification", + "negate": true, + "required": true, + "fields": { + "value": "\\b(dv|dovi|dolby[ .]?vision|hdr)\\b" + } + }, + { + "name": "Not 2160p", + "implementation": "ReleaseTitleSpecification", + "negate": true, + "required": true, + "fields": { + "value": "\\b(2160p)\\b" + } + } + ] +}