From 44ff998584cc671f654ac339a954b016a4c43ea4 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Mon, 20 Jul 2026 22:27:54 +0000 Subject: [PATCH] Add RlsGRp RandomBytes to UHD Bluray Tier 02 --- ...sgrp-randombytes-to-uhd-bluray-tier-02.sql | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ops/53.add-rlsgrp-randombytes-to-uhd-bluray-tier-02.sql diff --git a/ops/53.add-rlsgrp-randombytes-to-uhd-bluray-tier-02.sql b/ops/53.add-rlsgrp-randombytes-to-uhd-bluray-tier-02.sql new file mode 100644 index 0000000..e740149 --- /dev/null +++ b/ops/53.add-rlsgrp-randombytes-to-uhd-bluray-tier-02.sql @@ -0,0 +1,20 @@ +-- @operation: export +-- @entity: batch +-- @name: Add RlsGRp RandomBytes to UHD Bluray Tier 02 +-- @exportedAt: 2026-07-20T22:27:53.467Z +-- @opIds: 12381, 12384, 12387 + +-- --- BEGIN op 12381 ( create regular_expression "RandomBytes" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('RandomBytes', '[.]heb\b', NULL, NULL); +-- --- END op 12381 + +-- --- BEGIN op 12384 ( update regular_expression "RandomBytes" ) +update "regular_expressions" set "pattern" = '^(RandomBytes)$' where "name" = 'RandomBytes' and "pattern" = '[.]heb\b'; +-- --- END op 12384 + +-- --- BEGIN op 12387 ( update custom_format "UHD Bluray Tier 02" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('UHD Bluray Tier 02', 'RandomBytes', 'release_group', 'radarr', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('UHD Bluray Tier 02', 'RandomBytes', 'RandomBytes'); +-- --- END op 12387