From 63a9b47a26d8a22a786ddf41b4284777ba6802d8 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sat, 24 Oct 2026 23:03:20 +0000 Subject: [PATCH] Update Upscaled Regex --- ops/89.update-upscaled-regex.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ops/89.update-upscaled-regex.sql diff --git a/ops/89.update-upscaled-regex.sql b/ops/89.update-upscaled-regex.sql new file mode 100644 index 0000000..e51af45 --- /dev/null +++ b/ops/89.update-upscaled-regex.sql @@ -0,0 +1,13 @@ +-- @operation: export +-- @entity: batch +-- @name: Update Upscaled Regex +-- @exportedAt: 2026-10-24T23:03:19.267Z +-- @opIds: 15337, 15339 + +-- --- BEGIN op 15337 ( update regular_expression "Upscaled (Radarr)" ) +update "regular_expressions" set "pattern" = '(?<=\b[12]\d{3}\b).*\b(AI[ ._-]?(Enhanced?|Remaster(ed)?)|UPS(UHD)?|Upscaled?([ ._-]?UHD)?|UpRez)\b' where "name" = 'Upscaled (Radarr)' and "pattern" = '(?<=\b[12]\d{3}\b).*\b(AI[ ._-]?Enhanced?|UPS(UHD)?|Upscaled?([ ._-]?UHD)?|UpRez)\b'; +-- --- END op 15337 + +-- --- BEGIN op 15339 ( update regular_expression "Upscaled (Sonarr)" ) +update "regular_expressions" set "pattern" = '(?<=\b\d{3,4}p\b).*\b(AI[ ._-]?(Enhanced?|Remaster(ed)?)|UPS(UHD)?|Upscaled?([ ._-]?UHD)?|UpRez)\b' where "name" = 'Upscaled (Sonarr)' and "pattern" = '(?<=\b\d{3,4}p\b).*\b(AI[ ._-]?Enhanced?|UPS(UHD)?|Upscaled?([ ._-]?UHD)?|UpRez)\b'; +-- --- END op 15339