From f40b5dafc5bdfc7088f42f88df4ec0e9f26765fd Mon Sep 17 00:00:00 2001 From: Seraphys Date: Tue, 24 Feb 2026 15:51:22 -0600 Subject: [PATCH] Ban SM737 for Fake DV/HDR Layer --- ops/64.ban-sm737-for-fake-dv-hdr-layer.sql | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ops/64.ban-sm737-for-fake-dv-hdr-layer.sql diff --git a/ops/64.ban-sm737-for-fake-dv-hdr-layer.sql b/ops/64.ban-sm737-for-fake-dv-hdr-layer.sql new file mode 100644 index 00000000..18b97d78 --- /dev/null +++ b/ops/64.ban-sm737-for-fake-dv-hdr-layer.sql @@ -0,0 +1,21 @@ +-- @operation: export +-- @entity: batch +-- @name: Ban SM737 for Fake DV/HDR Layer +-- @exportedAt: 2026-02-24T21:51:21.291Z +-- @opIds: 468, 469 + +-- --- BEGIN op 468 ( update regular_expression "SM737" ) +update "regular_expressions" set "description" = 'Banned for Fake DV/HDR Layer' where "name" = 'SM737' and "description" = ''; + +insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) +SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('SM737') LIMIT 1; +-- --- END op 468 + +-- --- BEGIN op 469 ( update custom_format "Banned Groups (Efficient)" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('Banned Groups (Efficient)', 'SM737', 'release_group', 'all', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'SM737', 'SM737'); +-- --- END op 469