From d47630849adeca4f80dd013df2834037f1ad75e2 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Fri, 28 Aug 2026 20:06:40 +0000 Subject: [PATCH] Fix 2.0 Stereo and 7.1 Surround --- ops/80.fix-2-0-stereo-and-7-1-surround.sql | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 ops/80.fix-2-0-stereo-and-7-1-surround.sql diff --git a/ops/80.fix-2-0-stereo-and-7-1-surround.sql b/ops/80.fix-2-0-stereo-and-7-1-surround.sql new file mode 100644 index 0000000..97bd30b --- /dev/null +++ b/ops/80.fix-2-0-stereo-and-7-1-surround.sql @@ -0,0 +1,89 @@ +-- @operation: export +-- @entity: batch +-- @name: Fix 2.0 Stereo and 7.1 Surround +-- @exportedAt: 2026-08-28T20:06:39.131Z +-- @opIds: 13871, 13872, 13873, 13874, 13882, 13883, 13884, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902 + +-- --- BEGIN op 13871 ( update regular_expression "Stereo (Radarr)" ) +update "regular_expressions" set "name" = 'Stereo (Radarr)' where "name" = 'Stereo'; +-- --- END op 13871 + +-- --- BEGIN op 13872 ( 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 13872 + +-- --- BEGIN op 13873 ( create regular_expression "Stereo (Sonarr)" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('Stereo (Sonarr)', '(?<=\b[12]\d{3}\b.*?)(?