mirror of
https://github.com/Dictionarry-Hub/database.git
synced 2026-06-23 07:33:47 +02:00
Add Banned Groups (Release Title) CF to All Profiles
This commit is contained in:
@@ -0,0 +1,272 @@
|
|||||||
|
-- @operation: export
|
||||||
|
-- @entity: batch
|
||||||
|
-- @name: Add Banned Groups (Release Title) CF to All Profiles
|
||||||
|
-- @exportedAt: 2026-05-18T17:32:47.665Z
|
||||||
|
-- @opIds: 9260, 9261, 9262, 9263, 9264, 9265, 9266, 9267, 9268, 9269, 9270, 9271, 9272, 9273, 9274, 9275, 9276, 9277, 9278, 9279, 9280, 9281, 9282, 9283, 9284, 9285
|
||||||
|
|
||||||
|
-- --- BEGIN op 9260 ( create custom_format "Banned Groups (Release Title)" )
|
||||||
|
insert into "custom_formats" ("name", "description") values ('Banned Groups (Release Title)', '');
|
||||||
|
-- --- END op 9260
|
||||||
|
|
||||||
|
-- --- BEGIN op 9261 ( update custom_format "Banned Groups (Release Title)" )
|
||||||
|
update "custom_formats" set "description" = 'Matches Release Groups that are Banned' where "name" = 'Banned Groups (Release Title)' and "description" = '';
|
||||||
|
-- --- END op 9261
|
||||||
|
|
||||||
|
-- --- BEGIN op 9262 ( update custom_format "Banned Groups (Release Title)" )
|
||||||
|
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
|
||||||
|
|
||||||
|
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('Banned Groups (Release Title)', 'Banned');
|
||||||
|
|
||||||
|
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
|
||||||
|
|
||||||
|
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('Banned Groups (Release Title)', 'Release Group');
|
||||||
|
-- --- END op 9262
|
||||||
|
|
||||||
|
-- --- BEGIN op 9263 ( update custom_format "Banned Groups (Release Title)" )
|
||||||
|
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
|
||||||
|
VALUES ('Banned Groups (Release Title)', 'DepraveD', 'release_title', 'all', 0, 0);
|
||||||
|
|
||||||
|
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Release Title)', 'DepraveD', 'DepraveD');
|
||||||
|
-- --- END op 9263
|
||||||
|
|
||||||
|
-- --- BEGIN op 9264 ( update quality_profile "1080p Balanced" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Balanced', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Balanced'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9264
|
||||||
|
|
||||||
|
-- --- BEGIN op 9265 ( update quality_profile "1080p Balanced" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Balanced', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Balanced'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9265
|
||||||
|
|
||||||
|
-- --- BEGIN op 9266 ( update quality_profile "1080p Compact" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Compact', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Compact'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9266
|
||||||
|
|
||||||
|
-- --- BEGIN op 9267 ( update quality_profile "1080p Compact" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Compact', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Compact'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9267
|
||||||
|
|
||||||
|
-- --- BEGIN op 9268 ( update quality_profile "1080p Efficient" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Efficient', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Efficient'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9268
|
||||||
|
|
||||||
|
-- --- BEGIN op 9269 ( update quality_profile "1080p Efficient" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Efficient', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Efficient'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9269
|
||||||
|
|
||||||
|
-- --- BEGIN op 9270 ( update quality_profile "1080p Quality" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Quality', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Quality'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9270
|
||||||
|
|
||||||
|
-- --- BEGIN op 9271 ( update quality_profile "1080p Quality" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Quality', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Quality'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9271
|
||||||
|
|
||||||
|
-- --- BEGIN op 9272 ( update quality_profile "1080p Quality HDR" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Quality HDR', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Quality HDR'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9272
|
||||||
|
|
||||||
|
-- --- BEGIN op 9273 ( update quality_profile "1080p Quality HDR" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Quality HDR', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Quality HDR'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9273
|
||||||
|
|
||||||
|
-- --- BEGIN op 9274 ( update quality_profile "1080p Remux" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Remux', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Remux'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9274
|
||||||
|
|
||||||
|
-- --- BEGIN op 9275 ( update quality_profile "1080p Remux" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '1080p Remux', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '1080p Remux'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9275
|
||||||
|
|
||||||
|
-- --- BEGIN op 9276 ( update quality_profile "2160p Balanced" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Balanced', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Balanced'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9276
|
||||||
|
|
||||||
|
-- --- BEGIN op 9277 ( update quality_profile "2160p Balanced" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Balanced', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Balanced'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9277
|
||||||
|
|
||||||
|
-- --- BEGIN op 9278 ( update quality_profile "2160p Efficient" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Efficient', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Efficient'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9278
|
||||||
|
|
||||||
|
-- --- BEGIN op 9279 ( update quality_profile "2160p Efficient" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Efficient', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Efficient'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9279
|
||||||
|
|
||||||
|
-- --- BEGIN op 9280 ( update quality_profile "2160p Quality" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Quality', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Quality'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9280
|
||||||
|
|
||||||
|
-- --- BEGIN op 9281 ( update quality_profile "2160p Quality" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Quality', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Quality'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9281
|
||||||
|
|
||||||
|
-- --- BEGIN op 9282 ( update quality_profile "2160p Remux" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Remux', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Remux'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9282
|
||||||
|
|
||||||
|
-- --- BEGIN op 9283 ( update quality_profile "2160p Remux" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '2160p Remux', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '2160p Remux'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9283
|
||||||
|
|
||||||
|
-- --- BEGIN op 9284 ( update quality_profile "720p Quality" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '720p Quality', 'Banned Groups (Release Title)', 'radarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '720p Quality'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'radarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9284
|
||||||
|
|
||||||
|
-- --- BEGIN op 9285 ( update quality_profile "720p Quality" )
|
||||||
|
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
|
||||||
|
SELECT '720p Quality', 'Banned Groups (Release Title)', 'sonarr', -999999
|
||||||
|
WHERE NOT EXISTS (
|
||||||
|
SELECT 1 FROM quality_profile_custom_formats
|
||||||
|
WHERE quality_profile_name = '720p Quality'
|
||||||
|
AND custom_format_name = 'Banned Groups (Release Title)'
|
||||||
|
AND arr_type = 'sonarr'
|
||||||
|
);
|
||||||
|
-- --- END op 9285
|
||||||
Reference in New Issue
Block a user