From 482f6f7d8e4b9eb77147f20911969da30438ee3c Mon Sep 17 00:00:00 2001 From: Seraphys Date: Wed, 14 Oct 2026 01:26:57 +0000 Subject: [PATCH] Add SiCFoI + CM4v to LQ(Release Title) --- ops/97.add-sicfoi-cm4v-to-lq-release-title.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ops/97.add-sicfoi-cm4v-to-lq-release-title.sql diff --git a/ops/97.add-sicfoi-cm4v-to-lq-release-title.sql b/ops/97.add-sicfoi-cm4v-to-lq-release-title.sql new file mode 100644 index 0000000..e52cc8b --- /dev/null +++ b/ops/97.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:26:55.990Z +-- @opIds: 14703, 14706 + +-- --- BEGIN op 14703 ( 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 14703 + +-- --- BEGIN op 14706 ( 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 14706