From 57ff5f6e3a88fea5100c30378795625764d572f7 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Thu, 22 Oct 2026 20:36:47 +0000 Subject: [PATCH] Add DUSKLiGHT to HEVC Tier 1 --- ops/383.add-dusklight-to-hevc-tier-1.sql | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ops/383.add-dusklight-to-hevc-tier-1.sql diff --git a/ops/383.add-dusklight-to-hevc-tier-1.sql b/ops/383.add-dusklight-to-hevc-tier-1.sql new file mode 100644 index 00000000..a77e8fd4 --- /dev/null +++ b/ops/383.add-dusklight-to-hevc-tier-1.sql @@ -0,0 +1,44 @@ +-- @operation: export +-- @entity: batch +-- @name: Add DUSKLiGHT to HEVC Tier 1 +-- @exportedAt: 2026-10-22T20:36:46.109Z +-- @opIds: 15129, 15130, 15131, 15132, 15133 + +-- --- BEGIN op 15129 ( create regular_expression "STC" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('STC', '(?<=^|[\s.-])4kHdHub\b', NULL, NULL); + +insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('STC', 'Release Group'); + +insert into "tags" ("name") values ('WEB-DL') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('STC', 'WEB-DL'); +-- --- END op 15129 + +-- --- BEGIN op 15130 ( update regular_expression "STC" ) +update "regular_expressions" set "pattern" = '(?<=^|[\s.-])STC\b' where "name" = 'STC' and "pattern" = '(?<=^|[\s.-])4kHdHub\b'; +-- --- END op 15130 + +-- --- BEGIN op 15131 ( create regular_expression "DUSKLiGHT" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('DUSKLiGHT', '(?<=^|[\s.-])4kHdHub\b', NULL, NULL); + +insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('DUSKLiGHT', 'Release Group'); + +insert into "tags" ("name") values ('WEB-DL') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('DUSKLiGHT', 'WEB-DL'); +-- --- END op 15131 + +-- --- BEGIN op 15132 ( update regular_expression "DUSKLiGHT" ) +update "regular_expressions" set "pattern" = '(?<=^|[\s.-])DUSKLiGHT\b' where "name" = 'DUSKLiGHT' and "pattern" = '(?<=^|[\s.-])4kHdHub\b'; +-- --- END op 15132 + +-- --- BEGIN op 15133 ( update custom_format "1080p WEB-DL HEVC Tier 1" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('1080p WEB-DL HEVC Tier 1', 'DUSKLiGHT', 'release_group', 'all', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p WEB-DL HEVC Tier 1', 'DUSKLiGHT', 'DUSKLiGHT'); +-- --- END op 15133