From fef90a9722f425cdb94b532a2f9aff03e755a38a Mon Sep 17 00:00:00 2001 From: Seraphys Date: Wed, 26 Aug 2026 22:35:37 +0000 Subject: [PATCH] Update SHO --- ops/304.update-sho.sql | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ops/304.update-sho.sql diff --git a/ops/304.update-sho.sql b/ops/304.update-sho.sql new file mode 100644 index 00000000..5b25f4fe --- /dev/null +++ b/ops/304.update-sho.sql @@ -0,0 +1,30 @@ +-- @operation: export +-- @entity: batch +-- @name: Update SHO +-- @exportedAt: 2026-08-26T22:35:35.910Z +-- @opIds: 13740, 13741, 13742 + +-- --- BEGIN op 13740 ( update regular_expression "Showtime" ) +update "regular_expressions" set "pattern" = '\b(SHO(WTIME)?)(?=[\W_]+WEB[ ._-]?(DL|RIP)\b)' where "name" = 'Showtime' and "pattern" = '\b(SHO|Showtime)\b[ ._-]WEB[ ._-]?(DL|RIP)?\b'; +-- --- END op 13740 + +-- --- BEGIN op 13741 ( update custom_format "SHO" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = 'SHO' + AND name = 'SHO Rename Regex' + AND type = 'release_title' + AND arr_type = 'all' + AND negate = 0 + AND required = 0; +-- --- END op 13741 + +-- --- BEGIN op 13742 ( update custom_format "SHO" ) +UPDATE custom_format_conditions +SET required = 1 +WHERE custom_format_name = 'SHO' + AND name = 'SHO Regex' + AND type = 'release_title' + AND arr_type = 'all' + AND negate = 0 + AND required = 0; +-- --- END op 13742