From 2209d61937c3065297ea169f095f26642288d391 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Wed, 14 Oct 2026 01:27:04 +0000 Subject: [PATCH] Add SiCFoI + CM4v to LQ(Release Title) --- ops/78.add-sicfoi-cm4v-to-lq-release-title.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ops/78.add-sicfoi-cm4v-to-lq-release-title.sql diff --git a/ops/78.add-sicfoi-cm4v-to-lq-release-title.sql b/ops/78.add-sicfoi-cm4v-to-lq-release-title.sql new file mode 100644 index 0000000..ff78152 --- /dev/null +++ b/ops/78.add-sicfoi-cm4v-to-lq-release-title.sql @@ -0,0 +1,16 @@ +-- @operation: export +-- @entity: batch +-- @name: Add SiCFoI + CM4v to LQ(Release Title) +-- @exportedAt: 2026-10-14T01:27:03.023Z +-- @opIds: 14704, 14707 + +-- --- BEGIN op 14704 ( create regular_expression "SiCFoI + CM4v" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('SiCFoI + CM4v', '(?=.*\b(CMv4)\b).*\b(SiCFoI)\b', NULL, NULL); +-- --- END op 14704 + +-- --- BEGIN op 14707 ( update custom_format "LQ (Release Title)" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('LQ (Release Title)', 'SiCFoI + CM4v', 'release_title', 'radarr', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('LQ (Release Title)', 'SiCFoI + CM4v', 'SiCFoI + CM4v'); +-- --- END op 14707