From f0c3ddc1e6babd1e65e09e2875e0dd16dd98c85c Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sat, 4 Jul 2026 21:28:21 +0000 Subject: [PATCH] Update Profile Defaults --- ops/47.update-profile-defaults.sql | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 ops/47.update-profile-defaults.sql diff --git a/ops/47.update-profile-defaults.sql b/ops/47.update-profile-defaults.sql new file mode 100644 index 0000000..6610bf6 --- /dev/null +++ b/ops/47.update-profile-defaults.sql @@ -0,0 +1,49 @@ +-- @operation: export +-- @entity: batch +-- @name: Update Profile Defaults +-- @exportedAt: 2026-07-04T21:28:20.677Z +-- @opIds: 11821, 11823, 11824, 11825 + +-- --- BEGIN op 11821 ( update quality_profile "[German] HD Bluray + WEB" ) +INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score) +SELECT '[German] HD Bluray + WEB', 'x265 (HD)', 'radarr', 0 +WHERE NOT EXISTS ( + SELECT 1 FROM quality_profile_custom_formats + WHERE quality_profile_name = '[German] HD Bluray + WEB' + AND custom_format_name = 'x265 (HD)' + AND arr_type = 'radarr' +); +-- --- END op 11821 + +-- --- BEGIN op 11823 ( update quality_profile "[German] HD Remux + WEB" ) +INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score) +SELECT '[German] HD Remux + WEB', 'x265 (HD)', 'radarr', 0 +WHERE NOT EXISTS ( + SELECT 1 FROM quality_profile_custom_formats + WHERE quality_profile_name = '[German] HD Remux + WEB' + AND custom_format_name = 'x265 (HD)' + AND arr_type = 'radarr' +); +-- --- END op 11823 + +-- --- BEGIN op 11824 ( update quality_profile "[German] HD Bluray + WEB" ) +INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score) +SELECT '[German] HD Bluray + WEB', 'x265 (HD)', 'sonarr', 0 +WHERE NOT EXISTS ( + SELECT 1 FROM quality_profile_custom_formats + WHERE quality_profile_name = '[German] HD Bluray + WEB' + AND custom_format_name = 'x265 (HD)' + AND arr_type = 'sonarr' +); +-- --- END op 11824 + +-- --- BEGIN op 11825 ( update quality_profile "[German] HD Remux + WEB" ) +INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score) +SELECT '[German] HD Remux + WEB', 'x265 (HD)', 'sonarr', 0 +WHERE NOT EXISTS ( + SELECT 1 FROM quality_profile_custom_formats + WHERE quality_profile_name = '[German] HD Remux + WEB' + AND custom_format_name = 'x265 (HD)' + AND arr_type = 'sonarr' +); +-- --- END op 11825