From 50dfc369042dc0ffc46707f2cc5b6c84348be912 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sat, 27 Jun 2026 00:20:30 +0000 Subject: [PATCH] Add RBB to LQ --- ops/84.add-rbb-to-lq.sql | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ops/84.add-rbb-to-lq.sql diff --git a/ops/84.add-rbb-to-lq.sql b/ops/84.add-rbb-to-lq.sql new file mode 100644 index 0000000..48580e0 --- /dev/null +++ b/ops/84.add-rbb-to-lq.sql @@ -0,0 +1,20 @@ +-- @operation: export +-- @entity: batch +-- @name: Add RBB to LQ +-- @exportedAt: 2026-06-27T00:20:29.534Z +-- @opIds: 11392, 11395, 11398 + +-- --- BEGIN op 11392 ( create regular_expression "RBB" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('RBB', '\b(\$tore-Chill)\b', NULL, NULL); +-- --- END op 11392 + +-- --- BEGIN op 11395 ( update regular_expression "RBB" ) +update "regular_expressions" set "pattern" = '^(RBB)$' where "name" = 'RBB' and "pattern" = '\b(\$tore-Chill)\b'; +-- --- END op 11395 + +-- --- BEGIN op 11398 ( update custom_format "LQ" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('LQ', 'RBB', 'release_group', 'radarr', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('LQ', 'RBB', 'RBB'); +-- --- END op 11398