From ce7f298c56e001ad0d82f7b4a06f8e9bf2a640bb Mon Sep 17 00:00:00 2001 From: Seraphys Date: Fri, 28 Aug 2026 20:06:31 +0000 Subject: [PATCH] Fix 2.0 Stereo and 7.1 Surround --- ops/120.fix-2-0-stereo-and-7-1-surround.sql | 85 +++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 ops/120.fix-2-0-stereo-and-7-1-surround.sql diff --git a/ops/120.fix-2-0-stereo-and-7-1-surround.sql b/ops/120.fix-2-0-stereo-and-7-1-surround.sql new file mode 100644 index 0000000..b31bd31 --- /dev/null +++ b/ops/120.fix-2-0-stereo-and-7-1-surround.sql @@ -0,0 +1,85 @@ +-- @operation: export +-- @entity: batch +-- @name: Fix 2.0 Stereo and 7.1 Surround +-- @exportedAt: 2026-08-28T20:06:30.446Z +-- @opIds: 13867, 13868, 13869, 13870, 13879, 13880, 13881, 13888, 13889, 13890, 13891, 13892, 13893, 13894 + +-- --- BEGIN op 13867 ( update regular_expression "Stereo (Radarr)" ) +update "regular_expressions" set "name" = 'Stereo (Radarr)' where "name" = 'Stereo'; +-- --- END op 13867 + +-- --- BEGIN op 13868 ( update custom_format "2.0 Stereo" ) +update "condition_patterns" set "regular_expression_name" = 'Stereo (Radarr)' where "custom_format_name" = '2.0 Stereo' and "condition_name" = 'Stereo' and "regular_expression_name" in ('Stereo', 'Stereo (Radarr)'); +-- --- END op 13868 + +-- --- BEGIN op 13869 ( create regular_expression "Stereo (Sonarr)" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('Stereo (Sonarr)', '(?<=\b[12]\d{3}\b.*?)(?