mirror of
https://github.com/Dictionarry-Hub/trash-pcd.git
synced 2026-11-03 06:26:15 +01:00
17 lines
826 B
SQL
17 lines
826 B
SQL
-- @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
|