From a71c432826e57c3964b20a3b4c7698d0ce1481b5 Mon Sep 17 00:00:00 2001 From: nuxen <47067662+nuxencs@users.noreply.github.com> Date: Sun, 3 Mar 2024 15:25:44 +0100 Subject: [PATCH] fix(starr): Upscale false positives (#1818) --- docs/json/radarr/cf/upscaled.json | 4 ++-- docs/json/sonarr/cf/upscaled.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/json/radarr/cf/upscaled.json b/docs/json/radarr/cf/upscaled.json index ea9276f5a..cae3ba99d 100644 --- a/docs/json/radarr/cf/upscaled.json +++ b/docs/json/radarr/cf/upscaled.json @@ -3,7 +3,7 @@ "trash_scores": { "default": -10000 }, - "trash_regex": "https://regex101.com/r/F6dxdp/1", + "trash_regex": "https://regex101.com/r/MDx42o/1", "name": "Upscaled", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -40,7 +40,7 @@ "negate": false, "required": false, "fields": { - "value": "\\b(UPS|Up(s(caled?|UHD)|(Rez)))\\b" + "value": "(?<=\\b[12]\\d{3}\\b).*\\b(UPS|Up(s(caled?|UHD)|(Rez)))\\b" } } ] diff --git a/docs/json/sonarr/cf/upscaled.json b/docs/json/sonarr/cf/upscaled.json index 48207c5aa..b2728b3df 100644 --- a/docs/json/sonarr/cf/upscaled.json +++ b/docs/json/sonarr/cf/upscaled.json @@ -3,7 +3,7 @@ "trash_scores": { "default": -10000 }, - "trash_regex": "https://regex101.com/r/F6dxdp/1", + "trash_regex": "https://regex101.com/r/xpT0Md/1", "name": "Upscaled", "includeCustomFormatWhenRenaming": false, "specifications": [ @@ -40,7 +40,7 @@ "negate": false, "required": false, "fields": { - "value": "\\b(UPS|Up(s(caled?|UHD)|(Rez)))\\b" + "value": "(?<=\\b\\d{3,4}p\\b).*\\b(UPS|Up(s(caled?|UHD)|(Rez)))\\b" } } ]