From 446cc049a5058b2bf05e16072648bad95ff63638 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Thu, 10 Sep 2026 02:53:21 +0000 Subject: [PATCH] Fix Hulu --- ops/75.fix-hulu.sql | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ops/75.fix-hulu.sql diff --git a/ops/75.fix-hulu.sql b/ops/75.fix-hulu.sql new file mode 100644 index 0000000..4e73f29 --- /dev/null +++ b/ops/75.fix-hulu.sql @@ -0,0 +1,24 @@ +-- @operation: export +-- @entity: batch +-- @name: Fix Hulu +-- @exportedAt: 2026-09-10T02:53:20.506Z +-- @opIds: 14410, 14411 + +-- --- BEGIN op 14410 ( update quality_profile "[German] UHD Remux + WEB" ) +DELETE FROM quality_profile_custom_formats +WHERE quality_profile_name = '[German] UHD Remux + WEB' + AND custom_format_name = 'Hulu' + AND arr_type = 'radarr' + AND score = 0; +-- --- END op 14410 + +-- --- BEGIN op 14411 ( update quality_profile "[German] UHD Remux + WEB" ) +INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score) +SELECT '[German] UHD Remux + WEB', 'Hulu', 'sonarr', 75 +WHERE NOT EXISTS ( + SELECT 1 FROM quality_profile_custom_formats + WHERE quality_profile_name = '[German] UHD Remux + WEB' + AND custom_format_name = 'Hulu' + AND arr_type = 'sonarr' +); +-- --- END op 14411