From 237c7f76714d55ef944ad2f45c24a201d4c14f06 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Thu, 27 Aug 2026 01:35:33 +0000 Subject: [PATCH] Update HBO --- ops/311.update-hbo.sql | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ops/311.update-hbo.sql diff --git a/ops/311.update-hbo.sql b/ops/311.update-hbo.sql new file mode 100644 index 00000000..28a2afd5 --- /dev/null +++ b/ops/311.update-hbo.sql @@ -0,0 +1,30 @@ +-- @operation: export +-- @entity: batch +-- @name: Update HBO +-- @exportedAt: 2026-08-27T01:35:32.004Z +-- @opIds: 13792, 13793, 13794 + +-- --- BEGIN op 13792 ( update regular_expression "HBO" ) +update "regular_expressions" set "pattern" = '\b(HBO)(?=[\W_]+WEB[ ._-]?(DL|RIP)\b)' where "name" = 'HBO' and "pattern" = '\b(HBO)(?![ ._-]MAX)\b(?=[ ._-]WEB[ ._-]?(DL|RIP)\b)'; +-- --- END op 13792 + +-- --- BEGIN op 13793 ( update custom_format "HBO" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = 'HBO' + AND name = 'HBO Rename Regex' + AND type = 'release_title' + AND arr_type = 'all' + AND negate = 0 + AND required = 0; +-- --- END op 13793 + +-- --- BEGIN op 13794 ( update custom_format "HBO" ) +UPDATE custom_format_conditions +SET required = 1 +WHERE custom_format_name = 'HBO' + AND name = 'HBO Regex' + AND type = 'release_title' + AND arr_type = 'all' + AND negate = 0 + AND required = 0; +-- --- END op 13794