Compare commits

...

64 Commits

Author SHA1 Message Date
Seraphys
c920863bee Add iLoveHD to 1080p Quality Tier 5 2026-03-14 19:12:17 -05:00
Seraphys
187968d26e Remove 2160p WEBRips from Efficient 2026-03-14 13:17:30 -05:00
Seraphys
8eb7ecc0e9 Reorder Qualities / UI Only 2026-03-14 13:10:43 -05:00
santiagosayshey
a9bddb8f58 chore: bump pcd schema to 1.1.0, add quality group positions to 1080p Balanced 2026-03-15 03:07:16 +10:30
Seraphys
e80eda25d9 Create YAWNTiC Regex 2026-03-13 22:20:41 -05:00
Seraphys
ce0b724728 Reduce MA Score on 1080p and below Profiles 2026-03-13 19:57:02 -05:00
Seraphys
6cf87bbc03 Update ASL Regex 2026-03-11 16:56:52 -05:00
Seraphys
6b1749afd6 Boost Extended Edition Scoring 2026-03-11 16:51:40 -05:00
Seraphys
2a1c67168b Add RARBG to Efficient Ban / Seperate Compact Efficient Banned Release Group CF 2026-03-11 16:39:01 -05:00
Seraphys
0ac911454f Add ORBiT to 1080p Quality Tier 6 2026-03-07 18:29:25 -06:00
Seraphys
d5d6c48fd5 Add GZ to 1080p Quality Tier 5 2026-03-07 18:24:52 -06:00
Seraphys
164bc7139f Add BakedFEL to 1080p Quality Tier 6 2026-03-07 18:19:27 -06:00
Seraphys
1dad05a2ed Add CART to 1080p Quality Tier 6 2026-03-07 17:47:20 -06:00
Seraphys
385a54a147 Reduce Default Delay Profile back to 300m 2026-03-06 12:12:41 -06:00
Seraphys
dc7cf30943 Refactor Score for All Profiles / Remove HDTV Fallback by Default / Lower Min Score to Reinclude Them 2026-03-06 12:10:10 -06:00
Seraphys
c2b3dfdcc8 Ban OFT / nikt0 2026-03-05 13:15:00 -06:00
Seraphys
55726f1eec Fix eXterminator / Tweak Streaming Scores 2026-03-05 10:58:27 -06:00
Seraphys
afab4ca0a9 Add eXterminator to 1080p Quality Tier 4 2026-03-05 10:37:53 -06:00
santiagosayshey
ca12304a9b tests(regex): add regex101 link for 'Sing Along' 2026-03-05 19:12:52 +10:30
Seraphys
b200c57830 Update Regex 2026-03-04 12:34:52 -06:00
santiagosayshey
2c97c483ac tweak(regex): added amazon prime unit tests, updated description to describe pattern, made delimeter between amazon/web{rip,dl} optional 2026-03-04 22:40:10 +10:30
Seraphys
54eb0ebdc5 Update Regex 2026-03-03 19:43:52 -06:00
Seraphys
d481d3bf79 Add 6 Test Series 2026-03-03 19:04:46 -06:00
Seraphys
d38ed05d7a Add 6 Movie Test Cases 2026-03-03 18:32:08 -06:00
Seraphys
8c9c2e667b Add RandomBytes to 2160p Quality Tier 5 2026-03-02 13:55:55 -06:00
Seraphys
6aa47d6520 Add BakedFEL to 2160p Quality Tier 5 2026-03-02 13:42:39 -06:00
Seraphys
fa387df844 Refactor Remux Profiles Add 576p WEB-DLs 2026-03-01 22:58:33 -06:00
Seraphys
d8b460b775 Add Not Remux to DVD Tiers 2026-03-01 22:25:17 -06:00
Seraphys
6bfebe70c5 Add Not Remux to DVD CF 2026-03-01 22:19:25 -06:00
Seraphys
b36c6a6c25 Update Regex 2026-03-01 20:10:35 -06:00
Seraphys
f172b654f1 Refactor Compact/Efficient Profiles Add 576p WEB-DLs and Shaft HDTV to End of Fallbacks 2026-03-01 16:00:00 -06:00
Seraphys
7b08fe1cdb Refactor Non Remux/Efficient Profiles Add 576p WEB-DLs and Shaft HDTV to End of Fallbacks 2026-03-01 15:16:05 -06:00
Seraphys
f40b5dafc5 Ban SM737 for Fake DV/HDR Layer 2026-02-24 15:51:22 -06:00
Seraphys
1179909663 Update Banned Group Tags and Reasoning 2026-02-24 15:49:14 -06:00
Seraphys
006fdfd624 Adjust Default Delay Profile to 600m 2026-02-24 09:26:20 -06:00
Seraphys
5593a3876e Fix Release Group (Missing) 2026-02-21 13:32:26 -06:00
Seraphys
20c21b2bcd Add 265 Requirement to UHD Bluray CF 2026-02-20 17:18:12 -06:00
Seraphys
217d7d4462 Update Remaining Codec CFs 2026-02-20 17:13:32 -06:00
Seraphys
8a590fe8bc Update Some Codec Regex 2026-02-20 16:53:05 -06:00
Seraphys
a1ece15046 Reduce AMZN 2160p Radarr Score 2026-02-19 13:24:00 -06:00
Seraphys
55bcc6d774 Tweak Streaming Scores TEST 2026-02-18 11:36:57 -06:00
Seraphys
68a562f540 Score Fix 2026-02-17 16:10:50 -06:00
Seraphys
4a558a14a1 Seperate Radarr/Sonarr Delay Profiles 2026-02-17 12:42:51 -06:00
Seraphys
132c1d2684 Tweak German DL Regex to Match Both DL and ML 2026-02-16 14:27:52 -06:00
Seraphys
757680e7f7 Ban Releases Titled German DL 2026-02-16 14:21:28 -06:00
Seraphys
af25f6b474 Unban PiRaTes 2026-02-16 13:52:19 -06:00
Seraphys
4961da7cee Create SEV Group Regex 2026-02-15 16:10:46 -06:00
Seraphys
f6e64b9939 Add Bluespots to QxR Regex 2026-02-12 08:54:38 -06:00
Seraphys
8ae929b280 Remove RARBG from 265 Profile Ban and add to Compact TV Trash Tiers 2026-02-12 08:49:00 -06:00
santiagosayshey
11e0ee1e8b fix: set qp languages to any (update logic was borked before) 2026-02-12 20:48:18 +10:30
Seraphys
0efb2c7fe3 Rename SD Tiers to DVD Tiers 2026-02-11 12:46:28 -06:00
Seraphys
a44d02d248 Add 2160p Negation to SDTV CFs 2026-02-11 12:40:35 -06:00
Seraphys
121b0705ae Fix RARBG 2026-02-11 12:21:01 -06:00
Seraphys
9af55a6036 Ban All WEBRips on non 265 Profiles Sonarr Side 2026-02-11 12:17:34 -06:00
Seraphys
dbe53e1d32 Regroup and Reorder Quality Rankings for All Profiles for Testing 2026-02-10 12:42:20 -06:00
Seraphys
8fe8058d6d Change Default Language Settings/CF for all Profiles 2026-02-10 10:58:44 -06:00
Seraphys
811b4b35ec Change Not Original or English Conditions 2026-02-09 19:47:15 -06:00
Seraphys
78ac3c5421 Create Not Original or English CF 2026-02-09 19:02:30 -06:00
Seraphys
cad1bf0aa1 Simplify Not Only Original CF 2026-02-09 18:55:57 -06:00
Seraphys
c3d716326c Simplify Not Original CF 2026-02-09 18:52:42 -06:00
Seraphys
741efefd9c Remove WEBRip Source CFs from Sonarr Side of All Profiles 2026-02-09 11:54:22 -06:00
Seraphys
972d76e375 Increase Max Upgrade Until Score for all Profiles to 1,000,0000 (Yay OCD?) 2026-02-08 19:21:53 -06:00
Seraphys
0c0484b14e Add Remux Negation to Release Group (Missing) 2026-02-08 19:11:40 -06:00
Seraphys
8eec22ba06 Fix Release Group (Missing) CF 2026-02-08 19:06:13 -06:00
65 changed files with 33828 additions and 27 deletions

View File

@@ -0,0 +1,20 @@
-- @operation: export
-- @entity: batch
-- @name: Fix Release Group (Missing) CF
-- @exportedAt: 2026-02-09T01:06:11.523Z
-- @opIds: 1420
-- --- BEGIN op 1420 ( update custom_format "Release Group (Missing)" )
UPDATE custom_format_conditions
SET type = 'release_group'
WHERE custom_format_name = 'Release Group (Missing)'
AND name = 'Release Group (Missing)'
AND type = 'release_title'
AND arr_type = 'all'
AND negate = 1
AND required = 0;
DELETE FROM condition_patterns WHERE custom_format_name = 'Release Group (Missing)' AND condition_name = 'Release Group (Missing)' AND regular_expression_name = 'Release Group (Missing)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Release Group (Missing)', 'Release Group (Missing)', 'Release Group (Missing)');
-- --- END op 1420

View File

@@ -0,0 +1,26 @@
-- @operation: export
-- @entity: batch
-- @name: Add Remux Negation to Release Group (Missing)
-- @exportedAt: 2026-02-09T01:11:39.739Z
-- @opIds: 1422, 1423, 1424
-- --- BEGIN op 1422 ( update custom_format "Release Group (Missing)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Release Group (Missing)', 'Remux Quality Match', 'quality_modifier', 'radarr', 1, 0);
INSERT INTO condition_quality_modifiers (custom_format_name, condition_name, quality_modifier) VALUES ('Release Group (Missing)', 'Remux Quality Match', 'remux');
-- --- END op 1422
-- --- BEGIN op 1423 ( update custom_format "Release Group (Missing)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Release Group (Missing)', 'Remux Source', 'source', 'sonarr', 1, 0);
INSERT INTO condition_sources (custom_format_name, condition_name, source) VALUES ('Release Group (Missing)', 'Remux Source', 'bluray_raw');
-- --- END op 1423
-- --- BEGIN op 1424 ( update custom_format "Release Group (Missing)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Release Group (Missing)', 'Remux', 'release_title', 'all', 1, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Release Group (Missing)', 'Remux', 'Remux');
-- --- END op 1424

View File

@@ -0,0 +1,49 @@
-- @operation: export
-- @entity: batch
-- @name: Increase Max Upgrade Until Score for all Profiles to 1,000,0000 (Yay OCD?)
-- @exportedAt: 2026-02-09T01:21:52.358Z
-- @opIds: 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436
-- --- BEGIN op 1426 ( update quality_profile "1080p Balanced" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '1080p Balanced' and "upgrade_until_score" = 888888;
-- --- END op 1426
-- --- BEGIN op 1427 ( update quality_profile "1080p Compact" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '1080p Compact' and "upgrade_until_score" = 888888;
-- --- END op 1427
-- --- BEGIN op 1428 ( update quality_profile "1080p Efficient" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '1080p Efficient' and "upgrade_until_score" = 888888;
-- --- END op 1428
-- --- BEGIN op 1429 ( update quality_profile "1080p Quality" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '1080p Quality' and "upgrade_until_score" = 888888;
-- --- END op 1429
-- --- BEGIN op 1430 ( update quality_profile "1080p Quality HDR" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '1080p Quality HDR' and "upgrade_until_score" = 888888;
-- --- END op 1430
-- --- BEGIN op 1431 ( update quality_profile "1080p Remux" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '1080p Remux' and "upgrade_until_score" = 888888;
-- --- END op 1431
-- --- BEGIN op 1432 ( update quality_profile "2160p Balanced" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '2160p Balanced' and "upgrade_until_score" = 888888;
-- --- END op 1432
-- --- BEGIN op 1433 ( update quality_profile "2160p Efficient" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '2160p Efficient' and "upgrade_until_score" = 888888;
-- --- END op 1433
-- --- BEGIN op 1434 ( update quality_profile "2160p Quality" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '2160p Quality' and "upgrade_until_score" = 888888;
-- --- END op 1434
-- --- BEGIN op 1435 ( update quality_profile "2160p Remux" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '2160p Remux' and "upgrade_until_score" = 888888;
-- --- END op 1435
-- --- BEGIN op 1436 ( update quality_profile "720p Quality" )
update "quality_profiles" set "upgrade_until_score" = 1000000 where "name" = '720p Quality' and "upgrade_until_score" = 888888;
-- --- END op 1436

View File

@@ -0,0 +1,387 @@
-- @operation: export
-- @entity: batch
-- @name: Remove WEBRip Source CFs from Sonarr Side of All Profiles
-- @exportedAt: 2026-02-09T17:54:21.273Z
-- @opIds: 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490
-- --- BEGIN op 1447 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1447
-- --- BEGIN op 1448 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1448
-- --- BEGIN op 1449 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'all'
AND score = 280000;
-- --- END op 1449
-- --- BEGIN op 1450 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1450
-- --- BEGIN op 1451 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
AND score = 620000;
-- --- END op 1451
-- --- BEGIN op 1452 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1452
-- --- BEGIN op 1453 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'all'
AND score = 280000;
-- --- END op 1453
-- --- BEGIN op 1454 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1454
-- --- BEGIN op 1455 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
AND score = 620000;
-- --- END op 1455
-- --- BEGIN op 1456 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1456
-- --- BEGIN op 1457 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', '1080p WEBRip', 'radarr', 280000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'radarr'
);
-- --- END op 1457
-- --- BEGIN op 1458 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', '1080p WEBRip', 'sonarr', 280000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
);
-- --- END op 1458
-- --- BEGIN op 1459 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'all'
AND score = 280000;
-- --- END op 1459
-- --- BEGIN op 1460 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', '720p WEBRip', 'radarr', 180000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'radarr'
);
-- --- END op 1460
-- --- BEGIN op 1461 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', '720p WEBRip', 'sonarr', 180000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
);
-- --- END op 1461
-- --- BEGIN op 1462 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1462
-- --- BEGIN op 1463 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
AND score = 280000;
-- --- END op 1463
-- --- BEGIN op 1464 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 180000;
-- --- END op 1464
-- --- BEGIN op 1465 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'all'
AND score = 280000;
-- --- END op 1465
-- --- BEGIN op 1466 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1466
-- --- BEGIN op 1467 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
AND score = 620000;
-- --- END op 1467
-- --- BEGIN op 1468 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1468
-- --- BEGIN op 1469 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'all'
AND score = 280000;
-- --- END op 1469
-- --- BEGIN op 1470 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1470
-- --- BEGIN op 1471 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
AND score = 620000;
-- --- END op 1471
-- --- BEGIN op 1472 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1472
-- --- BEGIN op 1473 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', '1080p WEBRip', 'radarr', 280000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'radarr'
);
-- --- END op 1473
-- --- BEGIN op 1474 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', '1080p WEBRip', 'sonarr', 280000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
);
-- --- END op 1474
-- --- BEGIN op 1475 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'all'
AND score = 280000;
-- --- END op 1475
-- --- BEGIN op 1476 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', '720p WEBRip', 'radarr', 180000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'radarr'
);
-- --- END op 1476
-- --- BEGIN op 1477 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', '720p WEBRip', 'sonarr', 180000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
);
-- --- END op 1477
-- --- BEGIN op 1478 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1478
-- --- BEGIN op 1479 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '1080p WEBRip'
AND arr_type = 'sonarr'
AND score = 280000;
-- --- END op 1479
-- --- BEGIN op 1480 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 180000;
-- --- END op 1480
-- --- BEGIN op 1481 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1481
-- --- BEGIN op 1482 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1482
-- --- BEGIN op 1483 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', '720p WEBRip', 'radarr', 460000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'radarr'
);
-- --- END op 1483
-- --- BEGIN op 1484 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', '720p WEBRip', 'sonarr', 460000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
);
-- --- END op 1484
-- --- BEGIN op 1485 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 460000;
-- --- END op 1485
-- --- BEGIN op 1486 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1486
-- --- BEGIN op 1487 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1487
-- --- BEGIN op 1488 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1488
-- --- BEGIN op 1489 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'all'
AND score = 180000;
-- --- END op 1489
-- --- BEGIN op 1490 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = '720p WEBRip'
AND arr_type = 'sonarr'
AND score = 460000;
-- --- END op 1490

View File

@@ -0,0 +1,15 @@
-- @operation: export
-- @entity: batch
-- @name: Simplify Not Original CF
-- @exportedAt: 2026-02-10T00:52:40.489Z
-- @opIds: 1492
-- --- BEGIN op 1492 ( update custom_format "Not Original" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Not Original'
AND name = 'Not Original'
AND type = 'language'
AND arr_type = 'all'
AND negate = 0
AND required = 1;
-- --- END op 1492

View File

@@ -0,0 +1,15 @@
-- @operation: export
-- @entity: batch
-- @name: Simplify Not Only Original CF
-- @exportedAt: 2026-02-10T00:55:56.267Z
-- @opIds: 1494
-- --- BEGIN op 1494 ( update custom_format "Not Only Original" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Not Only Original'
AND name = 'Original'
AND type = 'language'
AND arr_type = 'all'
AND negate = 0
AND required = 1;
-- --- END op 1494

View File

@@ -0,0 +1,65 @@
-- @operation: export
-- @entity: batch
-- @name: Create Not Original or English CF
-- @exportedAt: 2026-02-10T01:02:29.481Z
-- @opIds: 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508
-- --- BEGIN op 1496 ( create custom_format "Not Original or English" )
insert into "custom_formats" ("name", "description") values ('Not Original or English', '');
-- --- END op 1496
-- --- BEGIN op 1497 ( update custom_format "Not Original or English" )
update "custom_formats" set "description" = 'Matches releases that don''''t include the Original or English language track. Multiple audio tracks is allowed' where "name" = 'Not Original or English' and "description" = '';
-- --- END op 1497
-- --- BEGIN op 1498 ( update custom_format "Not Original or English" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Not Original or English', 'Original', 'language', 'all', 1, 0);
INSERT INTO condition_languages (custom_format_name, condition_name, language_name, except_language) VALUES ('Not Original or English', 'Original', 'Original', 0);
-- --- END op 1498
-- --- BEGIN op 1499 ( update custom_format "Not Original or English" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Not Original or English', 'English', 'language', 'all', 1, 0);
INSERT INTO condition_languages (custom_format_name, condition_name, language_name, except_language) VALUES ('Not Original or English', 'English', 'English', 0);
-- --- END op 1499
-- --- BEGIN op 1500 ( update custom_format "Not Original or English" )
insert into "tags" ("name") values ('Language') on conflict ("name") do nothing;
INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('Not Original or English', 'Language');
-- --- END op 1500
-- --- BEGIN op 1501 ( update custom_format "Not Only Original" )
update "custom_formats" set "description" = 'Matches releases that don''t include the Original language track. Multiple audio tracks are NOT allowed.' where "name" = 'Not Only Original' and "description" = 'Matches releases that don''t include the Original language track. Multiple audio tracks is NOT allowed.';
-- --- END op 1501
-- --- BEGIN op 1502 ( update custom_format "Not Only Original" )
update "custom_formats" set "description" = 'Matches releases that don''t include the Original language. Multiple audio tracks are NOT allowed.' where "name" = 'Not Only Original' and "description" = 'Matches releases that don''t include the Original language track. Multiple audio tracks are NOT allowed.';
-- --- END op 1502
-- --- BEGIN op 1503 ( update custom_format "Not Original" )
update "custom_formats" set "description" = 'Matches releases that don''''t include the Original language. Multiple audio tracks is allowed' where "name" = 'Not Original' and "description" = 'Matches releases that don''''t include the Original language track. Multiple audio tracks is allowed';
-- --- END op 1503
-- --- BEGIN op 1504 ( update custom_format "Not Original" )
update "custom_formats" set "description" = 'Matches releases that don''''t include the Original language. Multiple audio tracks are allowed' where "name" = 'Not Original' and "description" = 'Matches releases that don''''t include the Original language. Multiple audio tracks is allowed';
-- --- END op 1504
-- --- BEGIN op 1505 ( update custom_format "Not Original or English" )
update "custom_formats" set "description" = 'Matches releases that don''''t include the Original or English language. Multiple audio tracks is allowed' where "name" = 'Not Original or English' and "description" = 'Matches releases that don''''t include the Original or English language track. Multiple audio tracks is allowed';
-- --- END op 1505
-- --- BEGIN op 1506 ( update custom_format "Not Only Original" )
update "custom_formats" set "description" = 'Matches releases that don''t include the Original language. Other Languages are NOT allowed.' where "name" = 'Not Only Original' and "description" = 'Matches releases that don''t include the Original language. Multiple audio tracks are NOT allowed.';
-- --- END op 1506
-- --- BEGIN op 1507 ( update custom_format "Not Original" )
update "custom_formats" set "description" = 'Matches releases that don''''t include the Original language. Other Languages are allowed.' where "name" = 'Not Original' and "description" = 'Matches releases that don''''t include the Original language. Multiple audio tracks are allowed';
-- --- END op 1507
-- --- BEGIN op 1508 ( update custom_format "Not Original or English" )
update "custom_formats" set "description" = 'Matches releases that don''''t include the Original or English language. Other Languages are allowed.' where "name" = 'Not Original or English' and "description" = 'Matches releases that don''''t include the Original or English language. Multiple audio tracks is allowed';
-- --- END op 1508

View File

@@ -0,0 +1,27 @@
-- @operation: export
-- @entity: batch
-- @name: Change Not Original or English Conditions
-- @exportedAt: 2026-02-10T01:47:14.030Z
-- @opIds: 1510, 1511
-- --- BEGIN op 1510 ( update custom_format "Not Original or English" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Not Original or English'
AND name = 'English'
AND type = 'language'
AND arr_type = 'all'
AND negate = 1
AND required = 0;
-- --- END op 1510
-- --- BEGIN op 1511 ( update custom_format "Not Original or English" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Not Original or English'
AND name = 'Original'
AND type = 'language'
AND arr_type = 'all'
AND negate = 1
AND required = 0;
-- --- END op 1511

View File

@@ -0,0 +1,460 @@
-- @operation: export
-- @entity: batch
-- @name: Change Default Language Settings/CF for all Profiles
-- @exportedAt: 2026-02-10T16:58:42.574Z
-- @opIds: 1513, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562
-- --- BEGIN op 1513 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Balanced' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Balanced', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Balanced' AND type = 'simple'
);
-- --- END op 1513
-- --- BEGIN op 1514 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Compact' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Compact', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Compact' AND type = 'simple'
);
-- --- END op 1514
-- --- BEGIN op 1515 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Efficient' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Efficient', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Efficient' AND type = 'simple'
);
-- --- END op 1515
-- --- BEGIN op 1516 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality' AND type = 'simple'
);
-- --- END op 1516
-- --- BEGIN op 1517 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality HDR' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality HDR', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality HDR' AND type = 'simple'
);
-- --- END op 1517
-- --- BEGIN op 1518 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Remux' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Remux', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Remux' AND type = 'simple'
);
-- --- END op 1518
-- --- BEGIN op 1519 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Balanced' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Balanced', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Balanced' AND type = 'simple'
);
-- --- END op 1519
-- --- BEGIN op 1520 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Efficient' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Efficient', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Efficient' AND type = 'simple'
);
-- --- END op 1520
-- --- BEGIN op 1521 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Quality' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Quality', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Quality' AND type = 'simple'
);
-- --- END op 1521
-- --- BEGIN op 1522 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Remux' AND language_name = 'Original' AND type = 'simple';
-- --- END op 1522
-- --- BEGIN op 1523 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Remux' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Remux', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Remux' AND type = 'simple'
);
-- --- END op 1523
-- --- BEGIN op 1524 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '720p Quality' AND language_name = 'Original' AND type = 'simple';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '720p Quality', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '720p Quality' AND type = 'simple'
);
-- --- END op 1524
-- --- BEGIN op 1530 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1530
-- --- BEGIN op 1531 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1531
-- --- BEGIN op 1532 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1532
-- --- BEGIN op 1533 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1533
-- --- BEGIN op 1534 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1534
-- --- BEGIN op 1535 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1535
-- --- BEGIN op 1536 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1536
-- --- BEGIN op 1537 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1537
-- --- BEGIN op 1538 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1538
-- --- BEGIN op 1539 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1539
-- --- BEGIN op 1540 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1540
-- --- BEGIN op 1541 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1541
-- --- BEGIN op 1542 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1542
-- --- BEGIN op 1543 ( 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', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1543
-- --- BEGIN op 1544 ( 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', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1544
-- --- BEGIN op 1545 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1545
-- --- BEGIN op 1546 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1546
-- --- BEGIN op 1547 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1547
-- --- BEGIN op 1548 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1548
-- --- BEGIN op 1549 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1549
-- --- BEGIN op 1550 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1550
-- --- BEGIN op 1551 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1551
-- --- BEGIN op 1552 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1552
-- --- BEGIN op 1553 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1553
-- --- BEGIN op 1554 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1554
-- --- BEGIN op 1555 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1555
-- --- BEGIN op 1556 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1556
-- --- BEGIN op 1557 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1557
-- --- BEGIN op 1558 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1558
-- --- BEGIN op 1559 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1559
-- --- BEGIN op 1560 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'Not Original'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 1560
-- --- BEGIN op 1561 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'Not Original or English', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'radarr'
);
-- --- END op 1561
-- --- BEGIN op 1562 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'Not Original or English', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'Not Original or English'
AND arr_type = 'sonarr'
);
-- --- END op 1562

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,16 @@
-- @operation: export
-- @entity: batch
-- @name: Ban All WEBRips on non 265 Profiles Sonarr Side
-- @exportedAt: 2026-02-11T18:17:31.938Z
-- @opIds: 44
-- --- BEGIN op 44 ( update custom_format "Banned WEBRip" )
UPDATE custom_format_conditions
SET arr_type = 'radarr'
WHERE custom_format_name = 'Banned WEBRip'
AND name = 'Release Groups'
AND type = 'release_group'
AND arr_type = 'all'
AND negate = 1
AND required = 1;
-- --- END op 44

51
ops/44.fix-rarbg.sql Normal file
View File

@@ -0,0 +1,51 @@
-- @operation: export
-- @entity: batch
-- @name: Fix RARBG
-- @exportedAt: 2026-02-11T18:21:00.406Z
-- @opIds: 46, 47, 48, 49, 50, 51, 52
-- --- BEGIN op 46 ( update regular_expression "RARBG" )
update "regular_expressions" set "name" = 'RARBG', "pattern" = '(?<=^|[\s.-])RARBG\b' where "name" = 'RARGB' and "pattern" = '(?<=^|[\s.-])RARGB\b';
-- --- END op 46
-- --- BEGIN op 47 ( update custom_format "Banned Groups" )
update "condition_patterns" set "regular_expression_name" = 'RARBG' where "custom_format_name" = 'Banned Groups' and "condition_name" = 'RARGB' and "regular_expression_name" = 'RARGB';
-- --- END op 47
-- --- BEGIN op 48 ( update custom_format "Banned Groups (Efficient)" )
update "condition_patterns" set "regular_expression_name" = 'RARBG' where "custom_format_name" = 'Banned Groups (Efficient)' and "condition_name" = 'RARGB' and "regular_expression_name" = 'RARGB';
-- --- END op 48
-- --- BEGIN op 49 ( update custom_format "Banned Groups" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Banned Groups'
AND name = 'RARGB'
AND type = 'release_group'
AND arr_type = 'all'
AND negate = 0
AND required = 0;
-- --- END op 49
-- --- BEGIN op 50 ( update custom_format "Banned Groups" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups', 'RARBG', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups', 'RARBG', 'RARBG');
-- --- END op 50
-- --- BEGIN op 51 ( update custom_format "Banned Groups (Efficient)" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Banned Groups (Efficient)'
AND name = 'RARGB'
AND type = 'release_group'
AND arr_type = 'all'
AND negate = 0
AND required = 0;
-- --- END op 51
-- --- BEGIN op 52 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'RARBG', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'RARBG', 'RARBG');
-- --- END op 52

View File

@@ -0,0 +1,19 @@
-- @operation: export
-- @entity: batch
-- @name: Add 2160p Negation to SDTV CFs
-- @exportedAt: 2026-02-11T18:40:33.734Z
-- @opIds: 54, 55
-- --- BEGIN op 54 ( update custom_format "SDTV" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('SDTV', 'Not 2160p', 'resolution', 'all', 1, 1);
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution) VALUES ('SDTV', 'Not 2160p', '2160p');
-- --- END op 54
-- --- BEGIN op 55 ( update custom_format "SDTV Tier 1" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('SDTV Tier 1', 'Not 2160p', 'resolution', 'all', 1, 1);
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution) VALUES ('SDTV Tier 1', 'Not 2160p', '2160p');
-- --- END op 55

View File

@@ -0,0 +1,189 @@
-- @operation: export
-- @entity: batch
-- @name: Rename SD Tiers to DVD Tiers
-- @exportedAt: 2026-02-11T18:46:26.807Z
-- @opIds: 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84
-- --- BEGIN op 57 ( update custom_format "DVD Quality Tier 1" )
update "custom_formats" set "name" = 'DVD Quality Tier 1' where "name" = 'SD Quality Tier 1';
-- --- END op 57
-- --- BEGIN op 58 ( update quality_profile "1080p Balanced" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Balanced' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Balanced' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Balanced' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 58
-- --- BEGIN op 59 ( update quality_profile "1080p Compact" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Compact' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 21000;
-- --- END op 59
-- --- BEGIN op 60 ( update quality_profile "1080p Efficient" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Efficient' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Efficient' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Efficient' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 60
-- --- BEGIN op 61 ( update quality_profile "1080p Quality" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 61
-- --- BEGIN op 62 ( update quality_profile "1080p Quality HDR" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Quality HDR' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Quality HDR' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Quality HDR' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 62
-- --- BEGIN op 63 ( update quality_profile "1080p Remux" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '1080p Remux' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
-- --- END op 63
-- --- BEGIN op 64 ( update quality_profile "2160p Balanced" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Balanced' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Balanced' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Balanced' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 64
-- --- BEGIN op 65 ( update quality_profile "2160p Efficient" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Efficient' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Efficient' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Efficient' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 65
-- --- BEGIN op 66 ( update quality_profile "2160p Quality" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 66
-- --- BEGIN op 67 ( update quality_profile "2160p Remux" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '2160p Remux' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
-- --- END op 67
-- --- BEGIN op 68 ( update quality_profile "720p Quality" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '720p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'all' and "score" = 11000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '720p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'radarr' and "score" = 21000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 1' where "quality_profile_name" = '720p Quality' and "custom_format_name" = 'SD Quality Tier 1' and "arr_type" = 'sonarr' and "score" = 21000;
-- --- END op 68
-- --- BEGIN op 69 ( update custom_format "DVD Quality Tier 1" )
update "custom_formats" set "description" = 'Matches release groups who fall under DVD GPPi Tier 1' where "name" = 'DVD Quality Tier 1' and "description" = 'Matches release groups who fall under SD GPPi Tier 1';
-- --- END op 69
-- --- BEGIN op 70 ( update custom_format "DVD Quality Tier 2" )
update "custom_formats" set "description" = 'Matches release groups who fall under DVD GPPi Tier 2' where "name" = 'SD Quality Tier 2' and "description" = 'Matches release groups who fall under SD GPPi Tier 2';
-- --- END op 70
-- --- BEGIN op 71 ( update custom_format "DVD Quality Tier 2" )
DELETE FROM custom_format_tags WHERE custom_format_name = 'SD Quality Tier 2' AND tag_name = 'SD';
insert into "tags" ("name") values ('DVD') on conflict ("name") do nothing;
INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('SD Quality Tier 2', 'DVD');
-- --- END op 71
-- --- BEGIN op 72 ( update custom_format "DVD Quality Tier 2" )
update "custom_formats" set "name" = 'DVD Quality Tier 2' where "name" = 'SD Quality Tier 2';
-- --- END op 72
-- --- BEGIN op 73 ( update quality_profile "1080p Balanced" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Balanced' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Balanced' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Balanced' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 73
-- --- BEGIN op 74 ( update quality_profile "1080p Compact" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Compact' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 20000;
-- --- END op 74
-- --- BEGIN op 75 ( update quality_profile "1080p Efficient" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Efficient' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Efficient' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Efficient' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 75
-- --- BEGIN op 76 ( update quality_profile "1080p Quality" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 76
-- --- BEGIN op 77 ( update quality_profile "1080p Quality HDR" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Quality HDR' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Quality HDR' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Quality HDR' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 77
-- --- BEGIN op 78 ( update quality_profile "1080p Remux" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '1080p Remux' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
-- --- END op 78
-- --- BEGIN op 79 ( update quality_profile "2160p Balanced" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Balanced' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Balanced' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Balanced' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 79
-- --- BEGIN op 80 ( update quality_profile "2160p Efficient" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Efficient' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Efficient' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Efficient' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 80
-- --- BEGIN op 81 ( update quality_profile "2160p Quality" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 81
-- --- BEGIN op 82 ( update quality_profile "2160p Remux" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '2160p Remux' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
-- --- END op 82
-- --- BEGIN op 83 ( update quality_profile "720p Quality" )
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '720p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'all' and "score" = 10000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '720p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'radarr' and "score" = 20000;
update "quality_profile_custom_formats" set "custom_format_name" = 'DVD Quality Tier 2' where "quality_profile_name" = '720p Quality' and "custom_format_name" = 'SD Quality Tier 2' and "arr_type" = 'sonarr' and "score" = 20000;
-- --- END op 83
-- --- BEGIN op 84 ( update custom_format "DVD Quality Tier 1" )
DELETE FROM custom_format_tags WHERE custom_format_name = 'DVD Quality Tier 1' AND tag_name = 'SD';
insert into "tags" ("name") values ('DVD') on conflict ("name") do nothing;
INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('DVD Quality Tier 1', 'DVD');
-- --- END op 84

View File

@@ -0,0 +1,257 @@
-- @operation: export
-- @entity: batch
-- @name: fix: set qp languages to any (update logic was borked before)
-- @exportedAt: 2026-02-12T10:14:28.677Z
-- @opIds: 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028
-- --- BEGIN op 2004 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Balanced' AND language_name = 'Any' AND type = 'simple';
-- --- END op 2004
-- --- BEGIN op 2005 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Balanced' AND language_name = 'Original';
-- --- END op 2005
-- --- BEGIN op 2006 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Compact' AND language_name = 'Any';
-- --- END op 2006
-- --- BEGIN op 2007 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Compact' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Compact', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Compact'
);
-- --- END op 2007
-- --- BEGIN op 2008 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Balanced', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Balanced'
);
-- --- END op 2008
-- --- BEGIN op 2009 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Efficient' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Efficient', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Efficient'
);
-- --- END op 2009
-- --- BEGIN op 2010 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Efficient' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Efficient', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Efficient'
);
-- --- END op 2010
-- --- BEGIN op 2011 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality'
);
-- --- END op 2011
-- --- BEGIN op 2012 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality'
);
-- --- END op 2012
-- --- BEGIN op 2013 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality HDR' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality HDR', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality HDR'
);
-- --- END op 2013
-- --- BEGIN op 2014 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality HDR' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality HDR', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality HDR'
);
-- --- END op 2014
-- --- BEGIN op 2015 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality HDR' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality HDR', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality HDR'
);
-- --- END op 2015
-- --- BEGIN op 2016 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Quality HDR' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Quality HDR', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Quality HDR'
);
-- --- END op 2016
-- --- BEGIN op 2017 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Remux' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Remux', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Remux'
);
-- --- END op 2017
-- --- BEGIN op 2018 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '1080p Remux' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '1080p Remux', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '1080p Remux'
);
-- --- END op 2018
-- --- BEGIN op 2019 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Balanced' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Balanced', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Balanced'
);
-- --- END op 2019
-- --- BEGIN op 2020 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Balanced' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Balanced', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Balanced'
);
-- --- END op 2020
-- --- BEGIN op 2021 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Efficient' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Efficient', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Efficient'
);
-- --- END op 2021
-- --- BEGIN op 2022 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Efficient' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Efficient', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Efficient'
);
-- --- END op 2022
-- --- BEGIN op 2023 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Quality' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Quality', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Quality'
);
-- --- END op 2023
-- --- BEGIN op 2024 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Quality' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Quality', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Quality'
);
-- --- END op 2024
-- --- BEGIN op 2025 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Remux' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Remux', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Remux'
);
-- --- END op 2025
-- --- BEGIN op 2026 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '2160p Remux' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '2160p Remux', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '2160p Remux'
);
-- --- END op 2026
-- --- BEGIN op 2027 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '720p Quality' AND language_name = 'Any';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '720p Quality', 'Original', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '720p Quality'
);
-- --- END op 2027
-- --- BEGIN op 2028 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_languages WHERE quality_profile_name = '720p Quality' AND language_name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT '720p Quality', 'Any', 'simple'
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_languages
WHERE quality_profile_name = '720p Quality'
);
-- --- END op 2028

View File

@@ -0,0 +1,29 @@
-- @operation: export
-- @entity: batch
-- @name: Remove RARBG from 265 Profile Ban and add to Compact TV Trash Tiers
-- @exportedAt: 2026-02-12T14:48:59.791Z
-- @opIds: 87, 88, 89
-- --- BEGIN op 87 ( update custom_format "Banned Groups (Efficient)" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Banned Groups (Efficient)'
AND name = 'RARBG'
AND type = 'release_group'
AND arr_type = 'all'
AND negate = 0
AND required = 0;
-- --- END op 87
-- --- BEGIN op 88 ( update custom_format "1080p Compact TV Trash Tier 1" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Compact TV Trash Tier 1', 'RARBG', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Compact TV Trash Tier 1', 'RARBG', 'RARBG');
-- --- END op 88
-- --- BEGIN op 89 ( update custom_format "1080p Compact TV Trash Tier 2" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Compact TV Trash Tier 2', 'RARBG', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Compact TV Trash Tier 2', 'RARBG', 'RARBG');
-- --- END op 89

View File

@@ -0,0 +1,9 @@
-- @operation: export
-- @entity: batch
-- @name: Add Bluespots to QxR Regex
-- @exportedAt: 2026-02-12T14:54:36.723Z
-- @opIds: 91
-- --- BEGIN op 91 ( update regular_expression "QxR" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])(QxR|afm72|Bandi|Bluespots|Celdra|FreetheFish|Garshasp|Ghost|Ime|Kappa|Langbard|LION|Panda|MONOLITH|Natty|r00t|RCVR|RZeroX|SAMPA|Silence|t3nzin|Tigole|YOGI)\b' where "name" = 'QxR' and "pattern" = '(?<=^|[\s.-])(QxR|afm72|Bandi|Celdra|FreetheFish|Garshasp|Ghost|Ime|Kappa|Langbard|LION|Panda|MONOLITH|Natty|r00t|RCVR|RZeroX|SAMPA|Silence|t3nzin|Tigole|YOGI)\b';
-- --- END op 91

View File

@@ -0,0 +1,21 @@
-- @operation: export
-- @entity: batch
-- @name: Create SEV Group Regex
-- @exportedAt: 2026-02-15T22:10:45.323Z
-- @opIds: 97, 98
-- --- BEGIN op 97 ( create regular_expression "SEV" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('SEV', '(?<=^|[\s.-])(QxR|afm72|Bandi|Bluespots|Celdra|FreetheFish|Garshasp|Ghost|Ime|Kappa|Langbard|LION|Panda|MONOLITH|Natty|r00t|RCVR|RZeroX|SAMPA|Silence|t3nzin|Tigole|YOGI)\b', NULL, NULL);
insert into "tags" ("name") values ('HEVC') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('SEV', 'HEVC');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('SEV', 'Release Group');
-- --- END op 97
-- --- BEGIN op 98 ( update regular_expression "SEV" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])(SEV|D0ct0rLew|Kira)\b' where "name" = 'SEV' and "pattern" = '(?<=^|[\s.-])(QxR|afm72|Bandi|Bluespots|Celdra|FreetheFish|Garshasp|Ghost|Ime|Kappa|Langbard|LION|Panda|MONOLITH|Natty|r00t|RCVR|RZeroX|SAMPA|Silence|t3nzin|Tigole|YOGI)\b';
-- --- END op 98

25
ops/51.unban-pirates.sql Normal file
View File

@@ -0,0 +1,25 @@
-- @operation: export
-- @entity: batch
-- @name: Unban PiRaTes
-- @exportedAt: 2026-02-16T19:52:18.238Z
-- @opIds: 100, 101
-- --- BEGIN op 100 ( update custom_format "Banned Groups" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Banned Groups'
AND name = 'PiRaTeS'
AND type = 'release_group'
AND arr_type = 'all'
AND negate = 0
AND required = 0;
-- --- END op 100
-- --- BEGIN op 101 ( update custom_format "Banned Groups (Efficient)" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Banned Groups (Efficient)'
AND name = 'PiRaTeS'
AND type = 'release_group'
AND arr_type = 'all'
AND negate = 0
AND required = 0;
-- --- END op 101

View File

@@ -0,0 +1,288 @@
-- @operation: export
-- @entity: batch
-- @name: Ban Releases Titled German DL
-- @exportedAt: 2026-02-16T20:21:27.239Z
-- @opIds: 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130
-- --- BEGIN op 103 ( create regular_expression "German DL" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('German DL', '\b(BEN[ ._-]THE[ ._-]MEN)\b', NULL, NULL);
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('German DL', 'Release Group');
insert into "tags" ("name") values ('WEB-DL') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('German DL', 'WEB-DL');
-- --- END op 103
-- --- BEGIN op 104 ( update regular_expression "German DL" )
update "regular_expressions" set "pattern" = '\b(GERMAN[ ._-]DL)\b' where "name" = 'German DL' and "pattern" = '\b(BEN[ ._-]THE[ ._-]MEN)\b';
-- --- END op 104
-- --- BEGIN op 105 ( create custom_format "German DL" )
insert into "custom_formats" ("name", "description") values ('German DL', '');
-- --- END op 105
-- --- BEGIN op 106 ( update custom_format "German DL" )
update "custom_formats" set "description" = 'Releases titled with German DL' where "name" = 'German DL' and "description" = '';
-- --- END op 106
-- --- BEGIN op 107 ( update custom_format "German DL" )
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('German DL', 'Banned');
insert into "tags" ("name") values ('Enhancement') on conflict ("name") do nothing;
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('German DL', 'Enhancement');
-- --- END op 107
-- --- BEGIN op 108 ( update custom_format "German DL" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('German DL', 'German DL', 'release_title', 'all', 0, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('German DL', 'German DL', 'German DL');
-- --- END op 108
-- --- BEGIN op 109 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 109
-- --- BEGIN op 110 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 110
-- --- BEGIN op 111 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 111
-- --- BEGIN op 112 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 112
-- --- BEGIN op 113 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 113
-- --- BEGIN op 114 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 114
-- --- BEGIN op 115 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 115
-- --- BEGIN op 116 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 116
-- --- BEGIN op 117 ( 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', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 117
-- --- BEGIN op 118 ( 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', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 118
-- --- BEGIN op 119 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 119
-- --- BEGIN op 120 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 120
-- --- BEGIN op 121 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 121
-- --- BEGIN op 122 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 122
-- --- BEGIN op 123 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 123
-- --- BEGIN op 124 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 124
-- --- BEGIN op 125 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 125
-- --- BEGIN op 126 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 126
-- --- BEGIN op 127 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 127
-- --- BEGIN op 128 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 128
-- --- BEGIN op 129 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'German DL', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'German DL'
AND arr_type = 'radarr'
);
-- --- END op 129
-- --- BEGIN op 130 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'German DL', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'German DL'
AND arr_type = 'sonarr'
);
-- --- END op 130

View File

@@ -0,0 +1,9 @@
-- @operation: export
-- @entity: batch
-- @name: Tweak German DL Regex to Match Both DL and ML
-- @exportedAt: 2026-02-16T20:27:48.857Z
-- @opIds: 132
-- --- BEGIN op 132 ( update regular_expression "German DL" )
update "regular_expressions" set "pattern" = '\b(GERMAN[ ._-][DM]L)\b' where "name" = 'German DL' and "pattern" = '\b(GERMAN[ ._-]DL)\b';
-- --- END op 132

View File

@@ -0,0 +1,13 @@
-- @operation: export
-- @entity: batch
-- @name: Seperate Radarr/Sonarr Delay Profiles
-- @exportedAt: 2026-02-17T18:42:50.657Z
-- @opIds: 147, 148
-- --- BEGIN op 147 ( update delay_profile "Radarr" )
update "delay_profiles" set "name" = 'Radarr' where "name" = 'Dictionarry';
-- --- END op 147
-- --- BEGIN op 148 ( create delay_profile "Sonarr" )
insert into "delay_profiles" ("name", "preferred_protocol", "usenet_delay", "torrent_delay", "bypass_if_highest_quality", "bypass_if_above_custom_format_score", "minimum_custom_format_score") values ('Sonarr', 'prefer_torrent', 300, 300, 0, 0, NULL);
-- --- END op 148

1873
ops/55.score-fix.sql Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,145 @@
-- @operation: export
-- @entity: batch
-- @name: Tweak Streaming Scores TEST
-- @exportedAt: 2026-02-18T17:36:55.345Z
-- @opIds: 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375
-- --- BEGIN op 360 ( update quality_profile "2160p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 360
-- --- BEGIN op 361 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
AND score = -1000;
-- --- END op 361
-- --- BEGIN op 362 ( update quality_profile "2160p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'iT'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 362
-- --- BEGIN op 363 ( update quality_profile "2160p Balanced" )
UPDATE quality_profile_custom_formats
SET score = -2000
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'iTunes Enhancement'
AND arr_type = 'radarr'
AND score = -3000;
-- --- END op 363
-- --- BEGIN op 364 ( update quality_profile "2160p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 364
-- --- BEGIN op 365 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
AND score = -1000;
-- --- END op 365
-- --- BEGIN op 366 ( update quality_profile "2160p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'iT'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 366
-- --- BEGIN op 367 ( update quality_profile "2160p Efficient" )
UPDATE quality_profile_custom_formats
SET score = -2000
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'iTunes Enhancement'
AND arr_type = 'radarr'
AND score = -3000;
-- --- END op 367
-- --- BEGIN op 368 ( update quality_profile "2160p Quality" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 368
-- --- BEGIN op 369 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
AND score = -1000;
-- --- END op 369
-- --- BEGIN op 370 ( update quality_profile "2160p Quality" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'iT'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 370
-- --- BEGIN op 371 ( update quality_profile "2160p Quality" )
UPDATE quality_profile_custom_formats
SET score = -2000
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'iTunes Enhancement'
AND arr_type = 'radarr'
AND score = -3000;
-- --- END op 371
-- --- BEGIN op 372 ( update quality_profile "2160p Remux" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 372
-- --- BEGIN op 373 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
AND score = -1000;
-- --- END op 373
-- --- BEGIN op 374 ( update quality_profile "2160p Remux" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'iT'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 374
-- --- BEGIN op 375 ( update quality_profile "2160p Remux" )
UPDATE quality_profile_custom_formats
SET score = -2000
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'iTunes Enhancement'
AND arr_type = 'radarr'
AND score = -3000;
-- --- END op 375

View File

@@ -0,0 +1,317 @@
-- @operation: export
-- @entity: batch
-- @name: Reduce AMZN 2160p Radarr Score
-- @exportedAt: 2026-02-19T19:23:59.507Z
-- @opIds: 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408
-- --- BEGIN op 377 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'AMZN', 'radarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
);
-- --- END op 377
-- --- BEGIN op 378 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'AMZN', 'sonarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'AMZN'
AND arr_type = 'sonarr'
);
-- --- END op 378
-- --- BEGIN op 379 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'AMZN'
AND arr_type = 'all'
AND score = 2000;
-- --- END op 379
-- --- BEGIN op 380 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Amazon Enhancement', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 380
-- --- BEGIN op 381 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Amazon Enhancement', 'sonarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 381
-- --- BEGIN op 382 ( update quality_profile "2160p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'all'
AND score = 1000;
-- --- END op 382
-- --- BEGIN op 383 ( update quality_profile "2160p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 1000
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
AND score = 2000;
-- --- END op 383
-- --- BEGIN op 384 ( update quality_profile "2160p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
AND score = 1000;
-- --- END op 384
-- --- BEGIN op 385 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'AMZN', 'radarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
);
-- --- END op 385
-- --- BEGIN op 386 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'AMZN', 'sonarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'AMZN'
AND arr_type = 'sonarr'
);
-- --- END op 386
-- --- BEGIN op 387 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'AMZN'
AND arr_type = 'all'
AND score = 2000;
-- --- END op 387
-- --- BEGIN op 388 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Amazon Enhancement', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 388
-- --- BEGIN op 389 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Amazon Enhancement', 'sonarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 389
-- --- BEGIN op 390 ( update quality_profile "2160p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'all'
AND score = 1000;
-- --- END op 390
-- --- BEGIN op 391 ( update quality_profile "2160p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 1000
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
AND score = 2000;
-- --- END op 391
-- --- BEGIN op 392 ( update quality_profile "2160p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
AND score = 1000;
-- --- END op 392
-- --- BEGIN op 393 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'AMZN', 'radarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
);
-- --- END op 393
-- --- BEGIN op 394 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'AMZN', 'sonarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'AMZN'
AND arr_type = 'sonarr'
);
-- --- END op 394
-- --- BEGIN op 395 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'AMZN'
AND arr_type = 'all'
AND score = 2000;
-- --- END op 395
-- --- BEGIN op 396 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Amazon Enhancement', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 396
-- --- BEGIN op 397 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Amazon Enhancement', 'sonarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 397
-- --- BEGIN op 398 ( update quality_profile "2160p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'all'
AND score = 1000;
-- --- END op 398
-- --- BEGIN op 399 ( update quality_profile "2160p Quality" )
UPDATE quality_profile_custom_formats
SET score = 1000
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
AND score = 2000;
-- --- END op 399
-- --- BEGIN op 400 ( update quality_profile "2160p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
AND score = 1000;
-- --- END op 400
-- --- BEGIN op 401 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'AMZN', 'radarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
);
-- --- END op 401
-- --- BEGIN op 402 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'AMZN', 'sonarr', 2000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'AMZN'
AND arr_type = 'sonarr'
);
-- --- END op 402
-- --- BEGIN op 403 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'AMZN'
AND arr_type = 'all'
AND score = 2000;
-- --- END op 403
-- --- BEGIN op 404 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Amazon Enhancement', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 404
-- --- BEGIN op 405 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Amazon Enhancement', 'sonarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 405
-- --- BEGIN op 406 ( update quality_profile "2160p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'all'
AND score = 1000;
-- --- END op 406
-- --- BEGIN op 407 ( update quality_profile "2160p Remux" )
UPDATE quality_profile_custom_formats
SET score = 1000
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'AMZN'
AND arr_type = 'radarr'
AND score = 2000;
-- --- END op 407
-- --- BEGIN op 408 ( update quality_profile "2160p Remux" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Amazon Enhancement'
AND arr_type = 'radarr'
AND score = 1000;
-- --- END op 408

View File

@@ -0,0 +1,25 @@
-- @operation: export
-- @entity: batch
-- @name: Update Some Codec Regex
-- @exportedAt: 2026-02-20T22:53:02.772Z
-- @opIds: 410, 411, 412, 413, 414
-- --- BEGIN op 410 ( update regular_expression "VVC" )
update "regular_expressions" set "pattern" = '[xh][ ._-]?266|\bVVC(\b|\d)' where "name" = 'VVC' and "pattern" = '(?<=^|[\s.-])VVC\b';
-- --- END op 410
-- --- BEGIN op 411 ( update regular_expression "Xvid" )
update "regular_expressions" set "pattern" = '\b(Xvid)\b' where "name" = 'Xvid' and "pattern" = '(?i)[-. ]Xvid';
-- --- END op 411
-- --- BEGIN op 412 ( update regular_expression "Remux" )
update "regular_expressions" set "pattern" = '\b(Remux)\b' where "name" = 'Remux' and "pattern" = 'Remux';
-- --- END op 412
-- --- BEGIN op 413 ( update regular_expression "h264" )
update "regular_expressions" set "pattern" = '[h][ ._-]?264' where "name" = 'h264' and "pattern" = '(?i)h\s*\.?\s*264';
-- --- END op 413
-- --- BEGIN op 414 ( update regular_expression "h265" )
update "regular_expressions" set "pattern" = '[h][ ._-]?265' where "name" = 'h265' and "pattern" = '(?i)h\s*\.?\s*265';
-- --- END op 414

View File

@@ -0,0 +1,17 @@
-- @operation: export
-- @entity: batch
-- @name: Update Remaining Codec CFs
-- @exportedAt: 2026-02-20T23:13:31.105Z
-- @opIds: 419, 420, 421
-- --- BEGIN op 419 ( update regular_expression "x265" )
update "regular_expressions" set "pattern" = '^(?!.*remux).*([x][ ._-]?265|\bHEVC(\b|\d))' where "name" = 'x265' and "pattern" = '^(?!.*(?i:remux))(?=.*([x]\s?(\.?265)\b|HEVC|\bDS4K\b)).*$';
-- --- END op 419
-- --- BEGIN op 420 ( update regular_expression "x265 (Efficient)" )
update "regular_expressions" set "pattern" = '^(?!.*remux).*([xh][ ._-]?265|\bHEVC(\b|\d))' where "name" = 'x265 (Efficient)' and "pattern" = '^(?!.*(?i:remux))(?=.*([xh]\s?(\.?265)\b|HEVC|\bDS4K\b)).*$';
-- --- END op 420
-- --- BEGIN op 421 ( update regular_expression "x264" )
update "regular_expressions" set "pattern" = '^(?!.*remux).*[xh][ ._-]?264' where "name" = 'x264' and "pattern" = '^(?!.*(?i:remux)).*([xh](\.?264)|DVDRip)';
-- --- END op 421

View File

@@ -0,0 +1,12 @@
-- @operation: export
-- @entity: batch
-- @name: Add 265 Requirement to UHD Bluray CF
-- @exportedAt: 2026-02-20T23:18:11.359Z
-- @opIds: 423
-- --- BEGIN op 423 ( update custom_format "UHD Bluray" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('UHD Bluray', 'x265', 'release_title', 'all', 0, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('UHD Bluray', 'x265', 'x265');
-- --- END op 423

View File

@@ -0,0 +1,71 @@
-- @operation: export
-- @entity: batch
-- @name: Fix Release Group (Missing)
-- @exportedAt: 2026-02-21T19:32:25.523Z
-- @opIds: 425, 426, 427, 428, 429, 430
-- --- BEGIN op 425 ( update custom_format "Release Group (Missing)" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Release Group (Missing)'
AND name = 'DVD'
AND type = 'source'
AND arr_type = 'all'
AND negate = 1
AND required = 0;
-- --- END op 425
-- --- BEGIN op 426 ( update custom_format "Release Group (Missing)" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Release Group (Missing)'
AND name = 'HDTV'
AND type = 'source'
AND arr_type = 'all'
AND negate = 1
AND required = 0;
-- --- END op 426
-- --- BEGIN op 427 ( update custom_format "Release Group (Missing)" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Release Group (Missing)'
AND name = 'Release Group (Missing)'
AND type = 'release_group'
AND arr_type = 'all'
AND negate = 1
AND required = 0;
-- --- END op 427
-- --- BEGIN op 428 ( update custom_format "Release Group (Missing)" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Release Group (Missing)'
AND name = 'Remux'
AND type = 'release_title'
AND arr_type = 'all'
AND negate = 1
AND required = 0;
-- --- END op 428
-- --- BEGIN op 429 ( update custom_format "Release Group (Missing)" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Release Group (Missing)'
AND name = 'Remux Quality Match'
AND type = 'quality_modifier'
AND arr_type = 'radarr'
AND negate = 1
AND required = 0;
-- --- END op 429
-- --- BEGIN op 430 ( update custom_format "Release Group (Missing)" )
UPDATE custom_format_conditions
SET required = 1
WHERE custom_format_name = 'Release Group (Missing)'
AND name = 'Remux Source'
AND type = 'source'
AND arr_type = 'sonarr'
AND negate = 1
AND required = 0;
-- --- END op 430

View File

@@ -0,0 +1,13 @@
-- @operation: export
-- @entity: batch
-- @name: Adjust Default Delay Profile to 600m
-- @exportedAt: 2026-02-24T15:26:18.720Z
-- @opIds: 432, 433
-- --- BEGIN op 432 ( update delay_profile "Radarr" )
update "delay_profiles" set "usenet_delay" = 600, "torrent_delay" = 600 where "name" = 'Radarr' and "usenet_delay" = 300 and "torrent_delay" = 300;
-- --- END op 432
-- --- BEGIN op 433 ( update delay_profile "Sonarr" )
update "delay_profiles" set "usenet_delay" = 600, "torrent_delay" = 600 where "name" = 'Sonarr' and "usenet_delay" = 300 and "torrent_delay" = 300;
-- --- END op 433

View File

@@ -0,0 +1,274 @@
-- @operation: export
-- @entity: batch
-- @name: Update Banned Group Tags and Reasoning
-- @exportedAt: 2026-02-24T21:49:13.062Z
-- @opIds: 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466
-- --- BEGIN op 435 ( update regular_expression "NoGroup" )
update "regular_expressions" set "description" = 'Banned for adding a Fake Group just to force parsing' where "name" = 'NoGroup' and "description" = '';
-- --- END op 435
-- --- BEGIN op 436 ( update regular_expression "Release Group (Missing)" )
update "regular_expressions" set "description" = 'Banned for No Release Group' where "name" = 'Release Group (Missing)' and "description" = '';
-- --- END op 436
-- --- BEGIN op 437 ( update regular_expression "126811" )
update "regular_expressions" set "description" = 'Matches the release group `126811` only if it is:
- Preceded by the start of the string (`^`), a whitespace character (`\s`), a period (`.`), or a hyphen (`-`).
- Followed by a word boundary (`\b`), ensuring it ends cleanly without being part of a longer word.' where "name" = '126811' and "description" = '';
-- --- END op 437
-- --- BEGIN op 438 ( update regular_expression "4K4U" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = '4K4U' and "description" = 'Matches the release group `4K4U` only if it is:
- Preceded by the start of the string (`^`), a whitespace character (`\s`), a period (`.`), or a hyphen (`-`).
- Followed by a word boundary (`\b`), ensuring it ends cleanly without being part of a longer word. ';
-- --- END op 438
-- --- BEGIN op 439 ( update regular_expression "BLASPHEMY" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'BLASPHEMY' and "description" = '';
-- --- END op 439
-- --- BEGIN op 440 ( update regular_expression "BTM" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'BTM' and "description" = '';
-- --- END op 440
-- --- BEGIN op 441 ( update regular_expression "E" )
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('E') LIMIT 1;
-- --- END op 441
-- --- BEGIN op 442 ( update regular_expression "E" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('E') AND tag_name = 'WEB-DL';
-- --- END op 442
-- --- BEGIN op 443 ( update regular_expression "4K4U" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('4K4U') AND tag_name = 'Remux';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('4K4U') LIMIT 1;
-- --- END op 443
-- --- BEGIN op 444 ( update regular_expression "AOC" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('AOC') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('AOC') LIMIT 1;
-- --- END op 444
-- --- BEGIN op 445 ( update regular_expression "BLASPHEMY" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('BLASPHEMY') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('BLASPHEMY') LIMIT 1;
-- --- END op 445
-- --- BEGIN op 446 ( update regular_expression "BTM" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('BTM') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('BTM') LIMIT 1;
-- --- END op 446
-- --- BEGIN op 447 ( update regular_expression "CLASSiCALHD" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('CLASSiCALHD') AND tag_name = 'WEB-DL';
-- --- END op 447
-- --- BEGIN op 448 ( update regular_expression "CREATiVE24" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('CREATiVE24') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('CREATiVE24') LIMIT 1;
-- --- END op 448
-- --- BEGIN op 449 ( update regular_expression "DeViSiVE" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('DeViSiVE') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('DeViSiVE') LIMIT 1;
-- --- END op 449
-- --- BEGIN op 450 ( update regular_expression "DRX" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('DRX') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('DRX') LIMIT 1;
-- --- END op 450
-- --- BEGIN op 451 ( update regular_expression "HDS" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'HDS' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('HDS') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('HDS') LIMIT 1;
-- --- END op 451
-- --- BEGIN op 452 ( update regular_expression "iVy" )
update "regular_expressions" set "description" = 'Banned for Low Quality. Allowed on HEVC Profiles' where "name" = 'iVy' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('iVy') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('iVy') LIMIT 1;
-- --- END op 452
-- --- BEGIN op 453 ( update regular_expression "MeGusta" )
update "regular_expressions" set "description" = 'Banned for Low Quality. Allowed on HEVC Profiles' where "name" = 'MeGusta' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('MeGusta') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('MeGusta') LIMIT 1;
-- --- END op 453
-- --- BEGIN op 454 ( update regular_expression "MgB" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('MgB') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('MgB') LIMIT 1;
-- --- END op 454
-- --- BEGIN op 455 ( update regular_expression "NhaNc3" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('NhaNc3') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('NhaNc3') LIMIT 1;
-- --- END op 455
-- --- BEGIN op 456 ( update regular_expression "PSA" )
update "regular_expressions" set "description" = 'Banned for Low Quality. Allowed on HEVC Profiles' where "name" = 'PSA' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('PSA') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('PSA') LIMIT 1;
-- --- END op 456
-- --- BEGIN op 457 ( update regular_expression "RARBG" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('RARBG') AND tag_name = 'Bluray';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('RARBG') AND tag_name = 'Remux';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('RARBG') LIMIT 1;
-- --- END op 457
-- --- BEGIN op 458 ( update regular_expression "RARBG" )
update "regular_expressions" set "description" = 'Banned for Low Quality. Allowed on HEVC Profiles' where "name" = 'RARBG' and "description" = 'Banned for Low Quality';
-- --- END op 458
-- --- BEGIN op 459 ( update regular_expression "SHD" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('SHD') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('SHD') LIMIT 1;
-- --- END op 459
-- --- BEGIN op 460 ( update regular_expression "STUTTERSHIT" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'STUTTERSHIT' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('STUTTERSHIT') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('STUTTERSHIT') LIMIT 1;
-- --- END op 460
-- --- BEGIN op 461 ( update regular_expression "TvR" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('TvR') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('TvR') LIMIT 1;
-- --- END op 461
-- --- BEGIN op 462 ( update regular_expression "UnKn0wn" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'UnKn0wn' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('UnKn0wn') AND tag_name = 'Remux';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('UnKn0wn') LIMIT 1;
-- --- END op 462
-- --- BEGIN op 463 ( update regular_expression "VD0N" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'VD0N' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('VD0N') AND tag_name = 'WEB-DL';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('VD0N') LIMIT 1;
-- --- END op 463
-- --- BEGIN op 464 ( update regular_expression "x0r" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'x0r' and "description" = '';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('x0r') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('x0r') LIMIT 1;
-- --- END op 464
-- --- BEGIN op 465 ( update regular_expression "YIFY" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'YIFY' and "description" = 'Matches "YIFY" when preceded by whitespace, a hyphen or dot';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('YIFY') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('YIFY') LIMIT 1;
-- --- END op 465
-- --- BEGIN op 466 ( update regular_expression "YTS" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'YTS' and "description" = 'Matches "YTS" when preceded by whitespace, a hyphen or dot';
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('YTS') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('YTS') LIMIT 1;
-- --- END op 466

View File

@@ -0,0 +1,21 @@
-- @operation: export
-- @entity: batch
-- @name: Ban SM737 for Fake DV/HDR Layer
-- @exportedAt: 2026-02-24T21:51:21.291Z
-- @opIds: 468, 469
-- --- BEGIN op 468 ( update regular_expression "SM737" )
update "regular_expressions" set "description" = 'Banned for Fake DV/HDR Layer' where "name" = 'SM737' and "description" = '';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('SM737') LIMIT 1;
-- --- END op 468
-- --- BEGIN op 469 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'SM737', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'SM737', 'SM737');
-- --- END op 469

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

45
ops/67.update-regex.sql Normal file
View File

@@ -0,0 +1,45 @@
-- @operation: export
-- @entity: batch
-- @name: Update Regex
-- @exportedAt: 2026-03-02T02:10:34.312Z
-- @opIds: 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453
-- --- BEGIN op 1444 ( update regular_expression "Amazon Prime" )
update "regular_expressions" set "pattern" = '\bAMZN\b|\bAMAZON[ ._-]WEB[ ._-]?(?:DL|RIP)\b' where "name" = 'Amazon Prime' and "pattern" = '\b(?:AMZN|(?:AMAZON)(?=\s*.(?:WEB-?DL|WEBRIP)))\b';
-- --- END op 1444
-- --- BEGIN op 1445 ( update regular_expression "Bravia Core" )
update "regular_expressions" set "pattern" = '\bBCORE\b|\bCORE[ ._-]WEB[ ._-]?(?:DL|RIP)\b' where "name" = 'Bravia Core' and "pattern" = '\b(?:BCORE|(?:CORE)(?=\s*.(?:WEB-?DL|WEBRIP)))\b';
-- --- END op 1445
-- --- BEGIN op 1446 ( update regular_expression "Crave" )
update "regular_expressions" set "pattern" = '\bCRAV\b|\bCRAVE[ ._-]WEB[ ._-]?(?:DL|RIP)\b' where "name" = 'Crave' and "pattern" = '\b(?:CRAV|(?:CRAVE)(?=\s*.(?:WEB-?DL|WEBRIP)))\b';
-- --- END op 1446
-- --- BEGIN op 1447 ( update regular_expression "Peacock TV" )
update "regular_expressions" set "pattern" = '\bPCOK\b|\bPeacock[ ._-]WEB[ ._-]?(?:DL|RIP)\b' where "name" = 'Peacock TV' and "pattern" = '\b(?:PCOK|(?:Peacock)(?=\s*.(?:WEB-?DL|WEBRIP)))\b';
-- --- END op 1447
-- --- BEGIN op 1448 ( update regular_expression "iTunes Rename" )
update "regular_expressions" set "pattern" = '\[(iT)(?![+])\b|\b(?<![+])(iT)\]' where "name" = 'iTunes Rename' and "pattern" = '\[(iT)\b|\b(iT)\]';
-- --- END op 1448
-- --- BEGIN op 1449 ( update regular_expression "HBO Max" )
update "regular_expressions" set "pattern" = '\b(HMAX|HBOM)\b|\bHBO[ ._-]?MAX[ ._-]WEB[ ._-]?(DL|RIP)\b' where "name" = 'HBO Max' and "pattern" = '\b(?:HMAX|HBOM|(?:HBO[ ._-]?MAX)(?=\s*.(?:WEB-?DL|WEBRIP)))\b';
-- --- END op 1449
-- --- BEGIN op 1450 ( update regular_expression "Amazon Prime" )
update "regular_expressions" set "pattern" = '\bAMZN\b|\bAMAZON[ ._-]WEB[ ._-]?(DL|RIP)\b' where "name" = 'Amazon Prime' and "pattern" = '\bAMZN\b|\bAMAZON[ ._-]WEB[ ._-]?(?:DL|RIP)\b';
-- --- END op 1450
-- --- BEGIN op 1451 ( update regular_expression "Bravia Core" )
update "regular_expressions" set "pattern" = '\bBCORE\b|\bCORE[ ._-]WEB[ ._-]?(DL|RIP)\b' where "name" = 'Bravia Core' and "pattern" = '\bBCORE\b|\bCORE[ ._-]WEB[ ._-]?(?:DL|RIP)\b';
-- --- END op 1451
-- --- BEGIN op 1452 ( update regular_expression "Peacock TV" )
update "regular_expressions" set "pattern" = '\bPCOK\b|\bPeacock[ ._-]WEB[ ._-]?(DL|RIP)\b' where "name" = 'Peacock TV' and "pattern" = '\bPCOK\b|\bPeacock[ ._-]WEB[ ._-]?(?:DL|RIP)\b';
-- --- END op 1452
-- --- BEGIN op 1453 ( update regular_expression "Crave" )
update "regular_expressions" set "pattern" = '\bCRAV\b|\bCRAVE[ ._-]WEB[ ._-]?(DL|RIP)\b' where "name" = 'Crave' and "pattern" = '\bCRAV\b|\bCRAVE[ ._-]WEB[ ._-]?(?:DL|RIP)\b';
-- --- END op 1453

View File

@@ -0,0 +1,12 @@
-- @operation: export
-- @entity: batch
-- @name: Add Not Remux to DVD CF
-- @exportedAt: 2026-03-02T04:19:23.978Z
-- @opIds: 1465
-- --- BEGIN op 1465 ( update custom_format "DVD" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('DVD', 'Not Remux', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('DVD', 'Not Remux', 'Remux');
-- --- END op 1465

View File

@@ -0,0 +1,19 @@
-- @operation: export
-- @entity: batch
-- @name: Add Not Remux to DVD Tiers
-- @exportedAt: 2026-03-02T04:25:16.684Z
-- @opIds: 1467, 1468
-- --- BEGIN op 1467 ( update custom_format "DVD Quality Tier 1" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('DVD Quality Tier 1', 'Not Remux', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('DVD Quality Tier 1', 'Not Remux', 'Remux');
-- --- END op 1467
-- --- BEGIN op 1468 ( update custom_format "DVD Quality Tier 2" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('DVD Quality Tier 2', 'Not Remux', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('DVD Quality Tier 2', 'Not Remux', 'Remux');
-- --- END op 1468

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
-- @operation: export
-- @entity: batch
-- @name: Add BakedFEL to 2160p Quality Tier 5
-- @exportedAt: 2026-03-02T19:42:38.187Z
-- @opIds: 1887, 1888, 1889
-- --- BEGIN op 1887 ( create regular_expression "BakedFEL" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('BakedFEL', '(?<=^|[\s.-])4KDVS\b', 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot', NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('BakedFEL', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('BakedFEL', 'Release Group');
-- --- END op 1887
-- --- BEGIN op 1888 ( update regular_expression "BakedFEL" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])BakedFEL\b' where "name" = 'BakedFEL' and "pattern" = '(?<=^|[\s.-])4KDVS\b';
-- --- END op 1888
-- --- BEGIN op 1889 ( update custom_format "2160p Quality Tier 5" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('2160p Quality Tier 5', 'BakedFEL', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('2160p Quality Tier 5', 'BakedFEL', 'BakedFEL');
-- --- END op 1889

View File

@@ -0,0 +1,32 @@
-- @operation: export
-- @entity: batch
-- @name: Add RandomBytes to 2160p Quality Tier 5
-- @exportedAt: 2026-03-02T19:55:54.301Z
-- @opIds: 1891, 1892, 1893, 1894
-- --- BEGIN op 1891 ( create regular_expression "RandomBytes" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('RandomBytes', '(?<=^|[\s.-])BakedFEL\b', 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot', NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('RandomBytes', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('RandomBytes', 'Release Group');
-- --- END op 1891
-- --- BEGIN op 1892 ( update regular_expression "RandomBytes" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])RandomBytes\b', "description" = 'Matches "RandomBytes" when preceded by whitespace, a hyphen or dot' where "name" = 'RandomBytes' and "pattern" = '(?<=^|[\s.-])BakedFEL\b' and "description" = 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot';
-- --- END op 1892
-- --- BEGIN op 1893 ( update regular_expression "BakedFEL" )
update "regular_expressions" set "description" = 'Matches "BakedFEL" when preceded by whitespace, a hyphen or dot' where "name" = 'BakedFEL' and "description" = 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot';
-- --- END op 1893
-- --- BEGIN op 1894 ( update custom_format "2160p Quality Tier 5" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('2160p Quality Tier 5', 'RandomBytes', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('2160p Quality Tier 5', 'RandomBytes', 'RandomBytes');
-- --- END op 1894

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,927 @@
-- @operation: export
-- @entity: batch
-- @name: Add 6 Test Series
-- @exportedAt: 2026-03-04T01:04:45.475Z
-- @opIds: 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1932, 1935
-- --- BEGIN op 1921 ( create test_entity "The Last of Us" )
insert into "test_entities" ("type", "tmdb_id", "title", "year", "poster_path") values ('series', 100088, 'The Last of Us', 2023, '/dmo6TYuuJgaYinXBPjrgG9mB5od.jpg');
-- --- END op 1921
-- --- BEGIN op 1922 ( create test_entity "Landman" )
insert into "test_entities" ("type", "tmdb_id", "title", "year", "poster_path") values ('series', 157741, 'Landman', 2024, '/hYthRgS1nvQkGILn9YmqsF8kSk6.jpg');
-- --- END op 1922
-- --- BEGIN op 1923 ( create test_entity "Mayor of Kingstown" )
insert into "test_entities" ("type", "tmdb_id", "title", "year", "poster_path") values ('series', 97951, 'Mayor of Kingstown', 2021, '/6rWIip9MZELAA0SKii5WqsBDCYW.jpg');
-- --- END op 1923
-- --- BEGIN op 1924 ( create test_entity "Yellowstone" )
insert into "test_entities" ("type", "tmdb_id", "title", "year", "poster_path") values ('series', 73586, 'Yellowstone', 2018, '/peNC0eyc3TQJa6x4TdKcBPNP4t0.jpg');
-- --- END op 1924
-- --- BEGIN op 1925 ( create test_release "59 releases" )
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 1080p DS4K AMZN WEB-DL x265 SDR DDP 5.1 English-YELLO', 19578857472, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 1080p AMZN WEB-DL H265 SDR DDP 5.1 English-OnlyWeb', 12922321920, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p AMZN WEB-DL DD+ 5.1 H.265-OnlyWeb', 12922321920, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman 2024 S01 1080p DS4K AMZN WEBRip DD+ 5.1 x265-YELLO', 19578857472, '["English"]', '["OnlyEncodes+ (API)"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 Complete 1080p WEBRip 10bit DDP5.1 x265-HODL', 9006219264, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman 2024 S01 1080p WEBRip DD+ 5 1 x265-iVy', 9138787328, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p WEBRip x265-KONTRAST', 11178030080, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 (1080p BluRay x265 SDR DDP 5.1 English - Ghost QxR)', 30237970432, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p x265-ELiTE', 9643579392, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p 10bit WEBRip 6CH x265 HEVC-PSA', 7352515072, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 38871316670, '["English"]', '["HDBits","Blutopia (API)","FileList.io","BroadcasTheNet","MoreThanTV","upload.cx","LST","PrivateHD","TorrentLeech"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p AMZN WEB-DL DDP 5.1 H.264-FLUX', 38871319913, '["English"]', '["BeyondHD","OnlyEncodes+ (API)"]', '["internal","halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S02.1080p.AMZN.WEB-DL.DDP5.1.H.264-FLUX', 42052805329, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p AMZN WEB-DL DD+ 5.1 H.264-Kitsune', 38871355392, '["English"]', '["Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 1080p AMZN WEB-DL H264 SDR DDP 5.1 English-OnlyWeb', 36514525184, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p AMZN WEB-DL DD+ 5.1 H.264-OnlyWeb', 36514525184, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.720p.BluRay.DD5.1.H.264-HANDJOB', 29133247594, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S02.720p.WEB-DL.DDP5.1.H.264-BTN', 14775474334, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 16642325116, '["English"]', '["HDBits","Blutopia (API)","FileList.io","BroadcasTheNet","MoreThanTV","TorrentLeech"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 720p AMZN WEB-DL DDP 5.1 H.264-FLUX', 16642328254, '["English"]', '["BeyondHD","PrivateHD","OnlyEncodes+ (API)"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S02.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 18584663593, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 720p AMZN WEB-DL DD+ 5.1 H.264-Kitsune', 16642365440, '["English"]', '["Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 720p BluRay DD 5.1 x264-BORDURE', 23707863040, '["English"]', '["Aither (API)","MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.720p.BluRay.DD5.1.H.264-BORDURE', 23707862660, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.BluRay.AAC2.0.H.264-BORDURE', 3642703820, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.576p.BluRay.DD5.1.H.264-HANDJOB', 14962947645, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.SKST.WEB-DL.DD+2.0.H.264-playWEB', 4070308431, '["English"]', '["FileList.io"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.WEB-DL.AAC2.0.H.264-DiRT', 3073404734, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 480p x264-RUBiK', 4739314688, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 (1080p BluRay x265 SDR DDP 5.1 English - DarQ HONE)', 31889145856, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p WebRip EAC3 5 1 x265-Lootera', 12343275520, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman 2024 S01 1080p BluRay DD+ 5.1 x265-DarQ HONE', 31889145856, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p BluRay DD 5.1 x264-HANDJOB', 46932344832, '["English"]', '["Blutopia (API)","Aither (API)","BeyondHD"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.1080p.BluRay.DD5.1.H.264-HANDJOB', 46932342966, '["English"]', '["BroadcasTheNet","MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.1080p.BluRay.H.264-BORDURE', 69583557285, '["English"]', '["BroadcasTheNet","MoreThanTV"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p BluRay x265-DH', 15019314176, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p BluRay x264-OFT', 25526603776, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p WEBRip x265-DH', 14456169472, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 (1080p AMZN WEB-DL H265 SDR DDP 5.1 English - HONE)', 22646857728, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman 2024 S01 1080p DS4K AMZN WEB-DL DDP 5 1 x265 - YELLO', 19578857472, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p BluRay Opus 5.1 AV1-DBMS', 9677477888, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 1080p BRRip 10Bit DDP5 1 HEVC-d3g', 23319459840, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p WEBRip DDP5 1 H265-d3g', 19455035392, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 (1080p BluRay x265 SDR TrueHD 5.1 English - Kira SEV)', 62861406208, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 720p x265-TiPEX', 5793624576, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p BluRay TrueHD 5.1 x265-Kira', 62861404762, '["English"]', '["PrivateHD"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 [2024-2025] 1080p BDRip x265 TrueHD 5.1 Kira [SEV]', 62861406208, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p EUR Blu-ray AVC TrueHD 5.1-SLIPSTREAM', 147388972616, '["English","French","German"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.1080p.BluRay.TrueHD5.1.AVC-SLIPSTREAM', 147388972616, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.2160p.AMZN.WEB-DL.DDP5.1.H.265-NTb', 63332952974, '["English"]', '["HDBits","Blutopia (API)","FileList.io","BroadcasTheNet","MoreThanTV","upload.cx","LST","TorrentLeech"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 2160p AMZN WEB-DL DDP 5.1 H.265-FLUX', 63332955859, '["English"]', '["BeyondHD","PrivateHD"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 (2160p AMZN WEB-DL H265 SDR DDP 5.1 English - HONE)', 63332958208, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 2160p AMZN WEB-DL DD+ 5.1 H.265-Kitsune', 63332995072, '["English"]', '["Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 2160p AMZN WEB-DL x265 SDR DDP 5.1 English-Vyndros', 35760103424, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman (2024) S01 (2160p AMZN WEB-DL x265 HEVC 10bit DDP 5 1 Vyndros)', 35760103424, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 COMPLETE 2160p AMZN WEB-DL MULTi DDP5 1 H265 MP4-BEN THE MEN', 67714072576, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 1080p BluRay REMUX AVC TrueHD 5.1-TRiToN', 115257851904, '["English"]', '["Blutopia (API)","Aither (API)","upload.cx","LST","PrivateHD","TorrentLeech"]', '["freeleech","freeleech 25"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman S01 BluRay 1080p TrueHD 5.1 AVC REMUX-FraMeSToR', 115256470126, '["English"]', '["BeyondHD"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 157741, 'Landman.S01.1080p.BluRay.Remux.TrueHD5.1.H.264-TRiToN', 115257850658, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
-- --- END op 1925
-- --- BEGIN op 1926 ( create test_release "54 releases" )
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown (2021) S01 (1080p PMTP WEB-DL x265 HEVC 10bit EAC3 5 1 t3nzin)', 16518675456, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p AMZN WEB-DL DD+ 5.1 H.265-ARCADE', 28672833536, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech 25"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown (2021) S01 1080p AMZN WEB-DL x265 SDR DDP 5.1 English-Ralphy', 15865906176, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p AMZN WEBRip DD+ 5.1 x265-Ralphy', 15865906176, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01-S03 1080p WEBRip x265-KONTRAST', 28747102208, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor Of Kingstown (2021) S01 Bluray EAC3 5 1 1080p x265-iVy', 11725042688, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p BluRay x265-YAWNiX', 17509844992, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor Of Kingstown (2021) S01 1080p BluRay x265 SDR AAC 5.1 English-Vyndros', 16399495168, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor Of Kingstown (2021) S01 (1080p BluRay x265 HEVC 10bit AAC 5 1 Vyndros)', 16399495168, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown (2021) S01 (1080p BluRay x265 SDR DDP 5.1 English - Ghost QxR)', 26370301952, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown 2021 S01 1080p BluRay DD+ 5.1 x265-Vialle', 26457767936, '["English"]', '["OnlyEncodes+ (API)","TorrentLeech"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01-S03 1080p 10bit WEBRip 6CH x265 -PSA', 18824570880, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p PMTP WEB-DL DD+ 5.1 H.264-TEPES', 18715572224, '["English"]', '["Blutopia (API)","BeyondHD","BroadcasTheNet","MoreThanTV","LST"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown (2021) S01 (1080p PMTP WEB-DL H264 SDR DDP 5.1 English - GRiMM) [REPACK]', 18182651904, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 REPACK 1080p PMTP WEB-DL DD+ 5.1 H.264-GRiMM', 18182651904, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S02.1080p.PMTP.WEB-DL.DDP5.1.x264-WhiteHat', 14486251995, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.Of.Kingstown.S03.1080p.PMTP.WEB-DL.DDP5.1.H264-WhiteHat', 16355178345, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown 2021 S01 1080p SKST WEB-DL DD+ 5 1 H 264-Vialle', 32187797504, '["English"]', '["TorrentLeech","OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 NORDiC 1080p WEB-DL DDP5 1 H 264-DKV', 18202007552, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S04.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 36594355610, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.Of.Kingstown.S03.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 34584791696, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S02.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 31471537337, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p AMZN WEB-DL DDP 5.1 H.264-TEPES', 40323634117, '["English"]', '["BeyondHD","MoreThanTV","LST","TorrentLeech"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p AMZN WEB-DL DD+ 5.1 H.264-TOMMY', 54020329472, '["English"]', '["Blutopia (API)","Aither (API)","FileList.io","BroadcasTheNet","upload.cx","PrivateHD","TorrentLeech","OnlyEncodes+ (API)"]', '["freeleech 75","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.720p.BluRay.DD5.1.x264-NTb', 37406445420, '["English"]', '["HDBits","FileList.io","MoreThanTV","BroadcasTheNet"]', '["halfleech","internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 NORDiC 720p WEB-DL H 264 AAC2 0-CiNEMiX', 19291764736, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S02.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 18995693838, '["English"]', '["MoreThanTV","FileList.io","BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 16461371314, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.Of.Kingstown.S03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 14757614337, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.720p.BluRay.DD5.1.x264-BORDURE', 29386853388, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.576p.BluRay.DD5.1.x264-HiSD', 21346528910, '["English"]', '["MoreThanTV","BroadcasTheNet"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.BDRip.DD5.1.x264-HiSD', 21346528910, '["English"]', '["FileList.io"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.BDRip.AAC2.0.x264-BORDURE', 4030711957, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.PMTP.WEB-DL.AAC2.0.x264-WhiteHat', 3429371749, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.1080p.BluRay.DD+5.1.x264-SbR', 89845096759, '["English"]', '["HDBits"]', '["halfleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.1080p.BluRay.DDP5.1.x264-SbR', 75383235950, '["English"]', '["BroadcasTheNet","MoreThanTV","BeyondHD"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.Extras.1080p.BluRay.DD2.0.x264-SbR', 14461860809, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 BluRay 1080p x264 DD5 1 - Pahe', 13944579072, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.1080p.BluRay.x264-BORDURE', 71452555068, '["English"]', '["MoreThanTV","BroadcasTheNet","PrivateHD"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown (2021) S01 (1080p AMZN WEB-DL H265 SDR DDP 5.1 English - HONE)', 35342327808, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p BluRay DDP5 1 HEVC-d3g', 24240029696, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p Blu-ray AVC TrueHD 5.1-SLIPSTREAM', 147221183888, '["English"]', '["HDBits"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 2160p ATVP WEB-DL AAC2 0 H 265-WADU', 47877664768, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown (2021) S01 (2160p PMTP WEB-DL H265 SDR DDP 5.1 English - HONE)', 37165895680, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 REPACK 2160p WEB-DL DD+ 5.1 H.265-TOMMY', 37229862912, '["English"]', '["OnlyEncodes+ (API)","Blutopia (API)","Aither (API)","upload.cx","LST","PrivateHD"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.2160p.WEB-DL.DDP5.1.H.265-TOMMY', 37229862147, '["English"]', '["FileList.io","BroadcasTheNet","TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.Of.Kingstown.S01.2160p.PMTP.WEB-DL.DDP5.1.HEVC-ShiNobi', 55807524087, '["English"]', '["HDBits","BeyondHD","MoreThanTV","TorrentLeech"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S02.2160p.AMZN.WEB-DL.DDP5.1.H.265-NTb', 48051799106, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.Of.Kingstown.S03.2160p.AMZN.WEB-DL.DDP5.1.H.265-NTb', 54527134090, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 2160p WEBRip DDP5 1 DV HDR H 265-R&H', 62560759808, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 2160p WEBRip DDP5 1 DV HDR AV1-R&H', 27985152000, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown (2021) S01 1080p BluRay REMUX AVC SDR TrueHD 5.1 AVC English-FraMeSToR', 115894534144, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor of Kingstown S01 1080p BluRay REMUX AVC TrueHD 5.1-FraMeSToR', 115894534144, '["English"]', '["Blutopia (API)","BeyondHD","Aither (API)","MoreThanTV","upload.cx","PrivateHD","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 97951, 'Mayor.of.Kingstown.S01.1080p.BluRay.Remux.TrueHD5.1.H.264-FraMeSToR', 115894538160, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
-- --- END op 1926
-- --- BEGIN op 1927 ( create test_release "130 releases" )
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p HMAX WEB-DL x265 SDR DDP Atmos 5.1 English - Goki TAoE)', 16512368640, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p HMAX WEB-DL x265 SDR DDP Atmos 5.1 English - Ghost QxR)', 34363658240, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p DS4K AMZN WEB-DL x265 SDR DDP Atmos 5.1 English - Ghost QxR)', 41609383936, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 + Extras (1080p AMZN WEB-DL x265 HEVC 10bit EAC3 Atmos 5 1 Ghost) QxR', 41609383936, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 1080p AMZN WEB-DL H265 SDR DDP 5.1 English-OnlyWeb', 12495737856, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p AMZN WEB-DL DD+ 5.1 H.265-OnlyWeb', 12495737856, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us (2022) S01 1080p AMZN WEB-DL x265 SDR DDP 5.1 English-Vyndros', 13551679488, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us (2022) S01 (1080p AMZN WEB-DL x265 HEVC 10bit DDP 5 1 Vyndros)', 13551679488, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p WEBRip x265-KONTRAST', 11833107456, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us 2023 S01 1080p AMZN WEB-DL x265 HEVC DDP 5 1 Atmos-PHOCiS', 25658484736, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 Bluray EAC3 5 1 1080p x265-iVy', 9878255616, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us (2023) S01 1080p BluRay x265 SDR AAC 7.1 English-Vyndros', 14526648320, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us (2023) S01 (1080p BluRay x265 HEVC 10bit AAC 7 1 Vyndros)', 14526648320, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 1080p BluRay Hybrid x265 SDR DDP Atmos 5.1 English-R1GY3B', 19106590720, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 HYBRID 1080p BluRay x265 DDPA5 1-R1GY3B', 19106590720, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p BluRay DD+ 7.1 x265-Ralphy', 17648158720, '["English"]', '["OnlyEncodes+ (API)","TorrentLeech"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p BluRay x265 SDR DDP Atmos 7.1 English - Ghost QxR)', 43085373440, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p BluRay x265 SDR DD 5.1 English - Goki TAoE)', 20862926848, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p BDRip x265 10bit AC3 5 1 - Goki)[TAoE]', 20862926848, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01-S02 1080p 10bit WEBRip 6CH x265-PSA', 13441948672, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.1080p.MAX.WEB-DL.DDP5.1.Atmos.H.264-NTb', 11798250360, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p HMAX WEB-DL DDP 5.1 Atmos H.264-FLUX', 35256005693, '["English"]', '["BeyondHD","upload.cx","LST","Blutopia (API)","FileList.io","MoreThanTV"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.1080p.HMAX.WEB-DL.DDPA5.1.H.264-NTb', 35257582251, '["English"]', '["BroadcasTheNet","HDBits"]', '["freeleech","internal","halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p HMAX WEB-DL DDP 5.1 Atmos x264-NTb', 35257582251, '["English"]', '["PrivateHD"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p HMAX WEB-DL DD+ 5.1 Atmos H.264-Muffin', 35249348608, '["English"]', '["Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.Extras.1080p.HMAX.WEB-DL.DD2.0.H.264-NTb', 6863506685, '["English"]', '["FileList.io","BroadcasTheNet","MoreThanTV","PrivateHD"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 BluRay 1080p DD5.1 x264-BHDStudio', 33350529750, '["English"]', '["BeyondHD"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 REPACK 1080p AMZN WEB-DL DD+ 5.1 Atmos H.264-FLUX', 37281574912, '["English"]', '["Aither (API)","BeyondHD"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p AMZN WEB-DL DD+ 5.1 Atmos H.264-NTb', 36056117248, '["English"]', '["Blutopia (API)","upload.cx","LST","PrivateHD","OnlyEncodes+ (API)","MoreThanTV"]', '["freeleech","halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 25832903734, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 1080p AMZN WEB-DL H264 SDR DDP 5.1 English-OnlyWeb', 34385461248, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p AMZN WEB-DL DD+ 5.1 H.264-OnlyWeb', 34385461248, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 720p HMAX WEB-DL DD+ 5.1 Atmos H.264-FLUX', 16297994240, '["English"]', '["Aither (API)","BeyondHD","LST","Blutopia (API)"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.720p.HMAX.WEB-DL.DDPA5.1.H.264-NTb', 16299567341, '["English"]', '["BroadcasTheNet","HDBits"]', '["freeleech","internal","halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.720p.HMAX.WEB-DL.DDP5.1.Atmos.H.264-playWEB', 16299926608, '["English"]', '["FileList.io","MoreThanTV"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.720p.MAX.WEB-DL.DDP5.1.x264-NTb', 6145584062, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 12949530949, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 16019876677, '["English"]', '["MoreThanTV","LST"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 720p BluRay DD5.1 x264-PEDRO', 16905132908, '["English"]', '["BeyondHD","Aither (API)","BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.Of.Us.S01.BluRay.AAC2.0.H.264-PEDRO', 3355274871, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.HMAX.WEB-DL.AAC2.0.x264-BTW', 7546264756, '["English"]', '["FileList.io","BroadcasTheNet","MoreThanTV"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p HMAX WEB-DL H265 SDR DDP Atmos 5.1 English - HONE)', 25681360896, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p HMAX WEB-DL DD+ 5.1 Atmos H.265-HONE', 25681364992, '["English"]', '["LST","OnlyEncodes+ (API)"]', '["freeleech 25"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p WebRip EAC3 5 1 x265-Lootera', 11545397248, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p BluRay x265 DDP5 1-B3YG1R', 9384353792, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p BluRay x265-DH', 11943845888, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p BluRay x265 SDR TrueHD Atmos 7.1 English - Goki TAoE)', 32371501056, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (1080p BDRip x265 10bit TrueHD 7 1 Atmos + AC3 5 1 - Goki)[TAoE]', 32371501056, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 ASL 1080p AMZN WEB-DL DD+ 5.1 H.264-Kitsune', 34690215936, '["English"]', '["Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p BluRay Opus 7.1 AV1-KIMJI', 10188439552, '["English"]', '["LST"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 1080p BluRay AV1 Opus 7 1-GHD', 8208742400, '["English"]', '["TorrentLeech","OnlyEncodes+ (API)"]', '["freeleech","halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.1080p.BluRay.TrueHD.Atmos.7.1.x264-PEDRO', 62994719676, '["English"]', '["HDBits","Aither (API)","BeyondHD","MoreThanTV"]', '["halfleech","freeleech 75","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.Of.Us.S01.1080p.BluRay.TrueHDA7.1.H.264-WiKi', 60327598641, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us 2023 S01 BluRay 1080p x264 Atmos TrueHD7 1-HDChina', 54658883584, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 1080p BluRay x264 Atmos TrueHD7 1-WiKi', 60327604224, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us 2023 S01 DS4K 1080p BluRay DD+ 7.1 DV HDR x265-Vialle', 31113785344, '["English"]', '["OnlyEncodes+ (API)"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 1080p MAX WEB-DL H265 DV HDR DDP Atmos 5.1 English-GiLG', 34372796416, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p MAX WEB-DL DD+ 5.1 Atmos DV HDR H.265-AnimeIsMyWaifu', 34303082496, '["English"]', '["Aither (API)","LST"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2023 1080p EUR Blu-ray AVC TrueHD 7.1-GLK', 169848622637, '["English"]', '["HDBits"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p EUR Blu-ray AVC TrueHD 7.1 Atmos', 169848717312, '["English","Czech","French","German","Italian","Spanish","Japanese"]', '["Blutopia (API)","BeyondHD","PrivateHD"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.1080p.BluRay.TrueHDA7.1.AVC-PTer', 169848694299, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p BluRay AC-3 TrueHD7 1 Atmos AVC-PiR8', 60084477952, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 BluRay 10Bit 1080p AC-3 TrueHD7 1 Atmos H265-d3g', 27367839744, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 1080p UHD BluRay x265 DV HDR DDP Atmos 5.1 English-NiCEHEVC', 40236101632, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.1080p.UHD.BluRay.DDP7.1.DoVi.HDR10.x265-c0kE', 62603360469, '["English"]', '["HDBits","FileList.io","MoreThanTV","TorrentLeech"]', '["halfleech","internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p UHD BluRay DD+ 7.1 DV HDR x265-c0kE', 62603362304, '["English"]', '["Blutopia (API)","Aither (API)","BeyondHD","upload.cx"]', '["freeleech 75"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 1080p UHD BluRay x265 HDR DD 5.1 English-SM737', 17002719232, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 BluRay HDR10 10Bit 1080p AC-3 TrueHD7 Atmos H265-d3g', 55380291584, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP', 229126446472, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.2160p.UHD.Blu-ray.Remux.DV.HEVC.TrueHD.7.1.Atmos-SiCFoI', 221181657150, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 UHD BluRay 2160p TrueHD Atmos 7.1 DV HEVC REMUX-FraMeSToR', 233298615833, '["English"]', '["BeyondHD","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.HDR.DV.HEVC.Atmos-PmP', 229126446472, '["English"]', '["HDBits","MoreThanTV","PrivateHD","TorrentLeech","Blutopia (API)","Aither (API)","upload.cx","LST"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 2160p UHD BluRay REMUX HEVC DV HDR TrueHD Atmos 7.1 English-PmP', 229126438912, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 BluRay 2160p DV HDR TrueHD AC3 HEVC NL-RetailSub REMUX', 228094296064, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p BluRay Remux DV HDR10+ Hybrid TrueHD 7.1 HEVC-tarunk9c', 239814295552, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.Of.Us.S01.2160p.UHD.BluRay.x265-BROADCAST', 124960936252, '["English"]', '["HDBits","TorrentLeech"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.2160p.UHD.BluRay.TrueHDA7.1.HEVC-JUNGLiST', 283870251721, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p UHD Blu-ray Atmos TrueHD7 1 x265-HDH', 55965708288, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p UHD BluRay TrueHD 7.1 Atmos HDR x265-SBinK', 33153984512, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p BluRay DoVi x265 10bit Atmos TrueHD7 1-WiKi', 122552139776, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2023 UHD Blu-ray 2160p 10bit HDR TrueHD(Atmos) 7 1 x265-beAst', 103258873856, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (2160p UHD BluRay x265 DV HDR DDP 7.1 English - DarQ HONE)', 70828171264, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (2160p UHD BluRay x265 DV HDR DDP 7.1 English - Weasley HONE)', 104149671936, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 UHD BluRay 2160p DDP 7.1 DV HDR x265-BHDStudio', 65513296811, '["English"]', '["BeyondHD","MoreThanTV"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us 2023 S01 2160p UHD BluRay DD+ 7.1 DV HDR x265-DarQ HONE', 70828171264, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 REPACK3 2160p UHD BluRay TrueHD 7.1 Atmos DV HDR x265-BROADCAST', 124960940032, '["English"]', '["LST","Blutopia (API)","Aither (API)","BeyondHD"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 2160p USA UHD BluRay HEVC DV HDR TrueHD Atmos 7.1 MULTI-JUNGLiST', 283870265344, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p UHD Blu-ray DoVi HDR10 HEVC TrueHD 7.1-JUNGLiST', 283870251721, '["English","Czech","French","German","Italian","Spanish"]', '["HDBits","BeyondHD","MoreThanTV","TorrentLeech"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p EUR UHD Blu-ray DV HDR HEVC TrueHD 7.1 Atmos-JUNGLiST', 283870265344, '["English","Czech","French","German","Italian","Japanese","Spanish"]', '["Blutopia (API)","Aither (API)","PrivateHD"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.DV.HDR.2160p.BluRay.TrueHDA7.1.H.265-BROADCAST', 124960936252, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us (2023) S01 2160p BluRay DV HDR10 10bit x265 HEVC TrueHD Atmos 7 1-PHOCiS', 24393637888, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 2023 2160p UHD Blu-ray DV x265 10bit TrueHD 7 1 Atmos-HDS', 107700551680, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p MultiLanguage Blu-Ray HEVC DoVi TrueHD HDR10-Axelfooley', 240405102592, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p CRAV WEB-DL DD+ 5.1 Atmos H.265-NTb', 57314988032, '["English"]', '["Blutopia (API)","Aither (API)","LST","PrivateHD","HDBits","MoreThanTV"]', '["freeleech","halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 2160p NOW WEB-DL DDP5 1 Atmos H 265-WADU', 58425962496, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 REPACK 2160p AMZN WEB-DL DD+ 5.1 Atmos H.265-NTb', 60656586752, '["English"]', '["Blutopia (API)","upload.cx","TorrentLeech","PrivateHD","FileList.io","MoreThanTV","LST"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 2160p AMZN WEB-DL DDP 5.1 Atmos H.265-FLUX', 60654684297, '["English"]', '["BeyondHD"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.2160p.AMZN.WEB-DL.DDPA5.1.H.265-NTb', 60656588544, '["English"]', '["BroadcasTheNet"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (2160p AMZN WEB-DL H265 SDR DDP Atmos 5.1 English - HONE)', 60656197632, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (2160p AMZN WEB-DL H265 SDR DDP Atmos 5.1 English - NTb) [REPACK]', 60656586752, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.DV.2160p.HMAX.WEB-DL.DDPA5.1.H.265-NTb', 72581231819, '["English"]', '["HDBits","BroadcasTheNet"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p HMAX WEB-DL DD+ 5.1 Atmos HDR H.265-NTb', 72503091200, '["English"]', '["Blutopia (API)","PrivateHD","LST"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p HMAX WEB-DL DDP 5.1 Atmos DV H.265-FLUX', 72581267335, '["English"]', '["BeyondHD","LST","MoreThanTV"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.2160p.MAX.WEB-DL.DDP5.1.DV.x265-NTb', 61954046548, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 2160p MAX WEB-DL H265 DV TrueHD Atmos 7.1 English-Kitsune', 96631627776, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p MAX WEB-DL TrueHD 7.1 Atmos DV H.265-Kitsune', 96631627776, '["English"]', '["Blutopia (API)","Aither (API)","BeyondHD","MoreThanTV"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p WEB AV1 OPUS-Kab', 7792318976, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 2160p AMZN WEB-DL H265 HDR10+ DDP Atmos 5.1 English-playWEB', 60515143680, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p AMZN WEB-DL DD+ 5.1 Atmos HDR10+ H.265-playWEB', 60515143680, '["English"]', '["Blutopia (API)","Aither (API)","BeyondHD","FileList.io","MoreThanTV","LST"]', '["freeleech 75","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.2160p.MAX.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-NTb', 62000667472, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 2160p MAX WEB-DL Hybrid H265 DV HDR DDP Atmos 5.1 English-FLUX', 86885851136, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.2160p.MAX.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX', 86885848503, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","BroadcasTheNet","upload.cx","TorrentLeech","LST"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (2160p HMAX WEB-DL Hybrid H265 DV HDR DDP Atmos 5.1 English - HONE)', 72625184768, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.2160p.HMAX.WEB-DL.DDP5.1.Atmos.DoVi.HDR.H.265-playWEB', 72625249954, '["English"]', '["FileList.io"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.2160p.HMAX.WEB-DL.DDP5.1.Atmos.DV.HDR10.H.265-SMURF', 72624980205, '["English"]', '["MoreThanTV"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 Hybrid 2160p HMAX WEB-DL DDP 5.1 Atmos DV HDR x265-SMURF', 72624980205, '["English"]', '["PrivateHD"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us (2023) S01 (2160p HMAX WEB-DL Hybrid x265 DV HDR DDP Atmos 5.1 English - Goki TAoE)', 44259254272, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 2160p MAX WEB-DL DD+ 5.1 Atmos DV HDR H.265-OnlyWeb', 86076211200, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us 2023 S01 2160p HMAX Webrip DV HDR x265 10bit DD+ 5.1 Atmos-Goki(TAoE)', 44259254272, '["English"]', '["OnlyEncodes+ (API)"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 2160p WEBRip DD+ 5 1 Atmos DV HDR AV1-R&H', 26151424000, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 4K UHD [RoB]', 284976054272, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last Of Us S01 UHD 4xBD100 ViPeR', 283870265344, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 Extras 1080p BluRay REMUX AVC DD 2.0-PmP', 18231654400, '["English"]', '["Blutopia (API)","Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.Extras.1080p.BluRay.Remux.DD2.0.H.264-PmP', 18231655319, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p BluRay REMUX AVC Atmos-TRiToN', 121802299352, '["English"]', '["PrivateHD","TorrentLeech","OnlyEncodes+ (API)"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S02.1080p.Blu-ray.Remux.AVC.TrueHD.7.1.Atmos-SiCFoI', 90425852754, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.BluRay.1080p.TrueHD.Atmos.7.1.AVC.REMUX-FraMeSToR', 121802307991, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","TorrentLeech"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.1080p.BluRay.Remux.TrueHDA.7.1.H.264-SiCFoI', 120981545066, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The.Last.of.Us.S01.1080p.Blu-ray.Remux.AVC.TrueHD.7.1.Atmos-SiCFoI', 120981545066, '["English"]', '["MoreThanTV","TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 100088, 'The Last of Us S01 1080p Remux AVC TrueHD Atmos 7 1-playBD', 121478119424, '["English"]', '["TorrentLeech"]', '["freeleech"]');
-- --- END op 1927
-- --- BEGIN op 1928 ( create test_entity "Tulsa King" )
insert into "test_entities" ("type", "tmdb_id", "title", "year", "poster_path") values ('series', 153312, 'Tulsa King', 2022, '/rOYLWCdAifpUtPlTf1WHxyaxeMt.jpg');
-- --- END op 1928
-- --- BEGIN op 1929 ( create test_release "57 releases" )
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 (1080p AMZN WEB-DL x265 HEVC 10bit EAC3 5 1 t3nzin) [QxR]', 12094140416, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p WEBRip x265-KONTRAST', 7066151936, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 READ NFO 1080p WEBRip x265-YAWNiX', 11670630400, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 Bluray EAC3 5 1 1080p x265-iVy', 4370292736, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 1080p BluRay x265 SDR DDP 5.1 English-YELLO', 17532880896, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 1080p BluRay x265 SDR DDP 5.1 English-edge2020', 14746742784, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King 2022 S01 1080p BluRay DD+ 5.1 x265-edge2020', 14746742784, '["English"]', '["LST","TorrentLeech","OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p BluRay DD+ 5.1 x265-Ralphy', 8117686272, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 (1080p BluRay x265 SDR DDP 5.1 English - Ghost QxR)', 18313154560, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p 10bit WEBRip 6CH x265 HEVC-PSA', 4251401216, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p x265-ELiTE', 3402934272, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 1080p PMTP WEB-DL H264 SDR DDP 5.1 English-GRiMM', 12039027712, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p PMTP WEB-DL DD+ 5.1 H.264-Muffin', 12204668928, '["English"]', '["Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.1080p.PMTP.WEB-DL.DDP5.1.H.264-WhiteHat', 12064797112, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p SKYSHO WEB-DL DDP 5 1 H 264-SPWEB', 22692732928, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 NORDiC 1080p WEB-DL DDP2 0 H 264-DKV', 20603979776, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p PMTP WEB-DL DD+ 5.1 H.264-GRiMM', 12039027712, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 18428396132, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","BroadcasTheNet","upload.cx","LST","OnlyEncodes+ (API)","PrivateHD","TorrentLeech","FileList.io"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S03.1080p.AMZN.WEB-DL.DDP5.1.H.264-FLUX', 19615249539, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.720p.BluRay.DD5.1.H.264-HANDJOB', 17664498592, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 8516988427, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","BroadcasTheNet","PrivateHD","TorrentLeech","FileList.io"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 9433231311, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 720p AMZN WEB-DL DD+ 5.1 H.264-playWEB', 8518529536, '["English"]', '["OnlyEncodes+ (API)"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.BluRay.AAC2.0.H.264-STORiES', 2704843976, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.720p.BluRay.H.264-STORiES', 14381838979, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.576p.BluRay.DD5.1.H.264-HANDJOB', 8796445416, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.PMTP.WEB-DL.AAC2.0.x264-WhiteHat', 4191208692, '["English"]', '["FileList.io","BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 480p x264-RUBiK', 2168963328, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, '[Aither]Tulsa.King.S01.1080p.BluRay.DD+.5.1.x264-Rose3Thorn', 42837829398, '["English"]', '["HDBits","Aither (API)","FileList.io","upload.cx"]', '["halfleech","internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 (1080p BluRay x265 SDR DDP 5.1 English - DarQ HONE)', 19398774784, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p BluRay DD+ 5.1 x265-DarQ HONE', 19398774784, '["English"]', '["Aither (API)","OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.1080p.BluRay.DDP5.1.H.264-Rose3Thorn', 42837829398, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King 2022 S01 1080p Blu-ray DDP 5 1 x265 - YELLO', 17532880896, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.1080p.BluRay.DD5.1.H.264-HANDJOB', 31079319029, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p BluRay x264-OFT', 16243348480, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 720p x264-FENiX', 2860141056, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 (1080p AMZN WEB-DL H265 SDR DDP 5.1 English - HONE)', 9737502720, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 (1080p DS4K AMZN WEB-DL x265 SDR DDP 5.1 English - iFelix) [REPACK]', 5720790528, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p AMZN WEBRip 10bit DDP5 1 x265-ViGoR', 10807971840, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01-S03 1080p AMZN WEBRip DD+5 1 x265-ANARCHY', 33164460032, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King 2022 S01 1080p BluRay DD+ 5.1 AV1-TiZU', 14774390784, '["English"]', '["OnlyEncodes+ (API)","TorrentLeech"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.1080p.BluRay.TrueHD5.1.H.264-STORiES', 44397867382, '["English"]', '["BroadcasTheNet","PrivateHD","OnlyEncodes+ (API)"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 720p x265-T0PAZ', 2561859328, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p Blu-ray AVC TrueHD 5.1-OPTiCAL', 91354529138, '["English"]', '["HDBits","Blutopia (API)","BeyondHD","BroadcasTheNet"]', '["halfleech","freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p BluRay TrueHD 5.1 x265-d3g', 23273093120, '["English"]', '["LST"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 2022 1080p Blu-ray x265 10bit TrueHD 5 1-HDS', 24210354176, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 Bluray 1080p AC-3 TrueHD5 1 AVC-PiR8', 41837486080, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 (2160p PMTP WEB-DL H265 SDR DDP 5.1 English - HONE)', 25459443712, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 2160p PMTP WEB-DL DD+ 5.1 H.265-Muffin', 25585227776, '["English"]', '["Aither (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.2160p.AMZN.WEB-DL.DDP5.1.H.265-NTb', 39928580383, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","FileList.io","BroadcasTheNet","upload.cx","LST","PrivateHD","TorrentLeech"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 2160p AMZN WEB-DL x265 SDR DDP 5.1 English-Vyndros', 16874723328, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 (2160p AMZN WEB-DL x265 HEVC 10bit DDP 5 1 Vyndros)', 16874723328, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King (2022) S01 1080p BluRay REMUX AVC SDR TrueHD 5.1 English-TRiToN', 69011570688, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p BluRay REMUX AVC TrueHD 5.1-TRiToN', 69011569035, '["English"]', '["HDBits","Aither (API)","upload.cx","OnlyEncodes+ (API)","PrivateHD","TorrentLeech"]', '["halfleech","freeleech","freeleech 25"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p BluRay REMUX AVC TrueHD 5.1-FraMeSToR', 69011570688, '["English"]', '["Blutopia (API)","BeyondHD"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa.King.S01.1080p.BluRay.Remux.TrueHD5.1.H.264-FraMeSToR', 69011568033, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 153312, 'Tulsa King S01 1080p Blu-ray Remux AVC TrueHD 5 1-SPHD', 69011914752, '["English"]', '["TorrentLeech"]', '["freeleech"]');
-- --- END op 1929
-- --- BEGIN op 1930 ( create test_release "93 releases" )
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p AMZN WEB-DL DD+ 5.1 H.265-ARCADE', 18173790208, '["English"]', '["LST","OnlyEncodes+ (API)"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 Bluray EAC3 5 1 1080p x265-iVy', 8725950464, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 1080p BluRay x265 SDR AAC 5.1 English-Vyndros', 13054796800, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (1080p BluRay x265 HEVC 10bit AAC 5 1 Vyndros)', 13054796800, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 1080p BluRay x265 SDR DDP 5.1 English-edge2020', 13727233024, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p BluRay DD+ 5.1 x265-edge2020', 13727233024, '["English"]', '["LST","TorrentLeech","OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p BluRay DD 5.1 x265-Ralphy', 9632266240, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (1080p BluRay x265 SDR DDP 5.1 English - Ghost QxR)', 22309220352, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (1080p BDRip x265 10bit EAC3 5 1 DrainedDay)[TAoE]', 21912285184, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 + Extras 1080p BluRay AAC 5.1 x265-FreetheFish', 20455604224, '["English"]', '["Blutopia (API)"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01-S04 1080p BluRay x265-RARBG', 31750029312, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 COMPLETE 1080p WEBRip 2CH x265 HEVC-PSA', 5506141696, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01-S04 1080p AMZN WEBRip AAC2 0 x265-PSA', 22588338176, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.1080p.SKST.WEB-DL.DD+5.1.H.264-playWEB', 27890799458, '["English"]', '["FileList.io"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.S05.2018.1080p.SKST.WEB-DL.DDP5.1.H264-HHWEB', 50379163789, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 1080p PCOK WEB-DL DD+ 5.1 H.264-Brew', 28088268800, '["English"]', '["Blutopia (API)"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 1080p PCOK WEB-DL DDP 5 1 H 264-PiRaTeS', 28087834624, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p SKST WEB-DL DD+ 5.1 H.264-Vialle', 27890802688, '["English"]', '["OnlyEncodes+ (API)"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 NORDiC 1080p WEB-DL H 264 AAC2 0-TWASERiES', 14234802176, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb', 25511009746, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","BroadcasTheNet","MoreThanTV","upload.cx","OnlyEncodes+ (API)","PrivateHD","TorrentLeech"]', '["halfleech","freeleech","internal","double upload","freeleech 25"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S02.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb', 32084160144, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S05.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 54865123483, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S04.1080p.AMZN.WEB-DL.AAC5.1.H.264-NTb', 38115149678, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.720p.BluRay.DD5.1.x264-DON', 22839228888, '["English"]', '["HDBits","Blutopia (API)","BeyondHD","FileList.io","BroadcasTheNet","MoreThanTV","TorrentLeech"]', '["halfleech","internal","freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S04.720p.BluRay.DD5.1.x264-DON', 26573661903, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.720p.SKST.WEB-DL.DD+5.1.H.264-playWEB', 17704946157, '["English"]', '["FileList.io"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 NORDiC 720p WEB-DL H 264 AAC2 0-TWASERiES', 6342504448, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 720p AMZN WEB-DL DD+ 2.0 H.264-NTb', 7752432128, '["English"]', '["Blutopia (API)","Aither (API)","BeyondHD","BroadcasTheNet","MoreThanTV","upload.cx","LST"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S03.720p.AMZN.WEB-DL.DDP2.0.H.264-NTb', 15697845622, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S05.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 25740885971, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S04.720p.AMZN.WEB-DL.AAC5.1.H.264-NTb', 16128669457, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 720p BluRay DD 5.1 x264-DEMAND', 23438275988, '["English"]', '["PrivateHD"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.BluRay.AAC2.0.x264-DEMAND', 3041745337, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.576p.BluRay.DD5.1.H.264-HiSD', 12074345065, '["English"]', '["BroadcasTheNet"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S03.576p.BluRay.DD5.1.H.264-HiSD', 10183861112, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.BDRip.DD5.1.x264-HiSD', 12074345065, '["English"]', '["FileList.io"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S04.BDRip.x264-PRESENT', 4126779961, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p BluRay DDP 5.1 x264-16k', 58600432997, '["English"]', '["BeyondHD"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 1080p BluRayRip EAC3 5 1 x265-Lootera', 10314748928, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (1080p BluRay x265 SDR DD 5.1 English - Weasley HONE)', 21558140928, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 1080p BluRay DD 5.1 x264-ROVERS', 35243446272, '["English"]', '["Aither (API)","BeyondHD","BroadcasTheNet","PrivateHD","TorrentLeech","HDBits","MoreThanTV"]', '["freeleech","scene","halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p BluRay DD 5.1 x265-Weasley HONE', 21558140928, '["English"]', '["LST","OnlyEncodes+ (API)"]', '["halfleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01-S05 1080p Mixed x265-KONTRAST', 55250436096, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p BluRay x264-OFT', 21702283264, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (1080p BDRip x265 10bit TrueHD 5 1 DrainedDay)[TAoE]', 25299525632, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01-02 WEBDL 720p AAC x265-BMF', 4316392960, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 2018 720p BluRay DD5 1 x264-HDS', 18323482624, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01-S05 Complete 1080p WEBRip 10Bit DDP2 0 HEVC-d3g', 56294514688, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 WEBRip 1080p DDP2 0 H265-d3g', 12658880512, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.1080p.BluRay.DD5.1.x264-HDS', 40807409874, '["English"]', '["FileList.io","BroadcasTheNet","MoreThanTV","TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 BluRay 1080p DD5 1 H265-d3g', 12029307904, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (1080p BluRay x265 SDR TrueHD 5.1 English - Kira SEV)', 51581530112, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone Complete S01-S05 WEBRip 1080p H265-d3g', 68353409024, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 1080p BluRay TrueHD 5.1 x265-Kira', 51581530915, '["English"]', '["PrivateHD"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 [2018] 1080p BDRip x265 TrueHD 5.1 Kira [SEV]', 51581530112, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 1080p Blu-ray AVC TrueHD 5.1-HDBEE', 122772554380, '["English"]', '["HDBits","BeyondHD","Aither (API)","BroadcasTheNet","upload.cx","LST","PrivateHD"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 2160p NF WEB-DL H265 SDR DDP 5.1 English-HHWEB', 43534127104, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 2160p NF WEB-DL DD+ 5.1 H.265-HHWEB', 43534127104, '["English"]', '["Blutopia (API)"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01-S04 2160p PCOK WEB-DL 10bit x265 Opus 5 1-HakataRamen', 155335852032, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 2160p WEB-DL DD+ 5.1 H.265-PETRiFiED', 52190613504, '["English"]', '["Blutopia (API)","Aither (API)","FileList.io","PrivateHD","BroadcasTheNet"]', '["freeleech 75","freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S05.2160p.PCOK.WEB-DL.DDP5.1.H.265-WhiteHat', 93650941886, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S04.2160p.STAN.WEB-DL.AAC5.1.H.265-NTb', 60941011364, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.2160p.WEB.H265-PETRiFiED', 52190612904, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S03.2160p.WEB.H.265-SCENE', 49221474671, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S05.2160p.AMZN.WEB-DL.DDP5.1.H.265-NTb', 94792984582, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.REPACK.2160p.AMZN.WEB-DL.TrueHD5.1.H.265-NTb', 58478694735, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","MoreThanTV","BroadcasTheNet","upload.cx","LST","PrivateHD","TorrentLeech","OnlyEncodes+ (API)"]', '["halfleech","freeleech 75","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S03.2160p.AMZN.WEB-DL.TrueHD.5.1.H.265-NTb', 56886404512, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S04.2160p.AMZN.WEB-DL.TrueHD.5.1.H.265-NTb', 74937441599, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (2160p WEBRip DDP5 1Ch HEVC 10Bit)-ShieldBearer', 17898029056, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01-S04 2160p WEBRip HDR10 DDP5 1Ch HEVC 10Bit-ShieldBearer', 165710413824, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone (2018) S01 (2160p WEBRip HDR10Plus DoVi DDP5 1Ch HEVC 10Bit)-ShieldBearer', 20914280448, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01 2160p WEBRip DTS 5 1 DV HDR AV1-R&H', 17897023488, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.1080p.Blu-ray.Remux.AVC.TrueHD.5.1-2h', 100010030502, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","upload.cx","LST","OnlyEncodes+ (API)","PrivateHD","TorrentLeech"]', '["halfleech","freeleech","freeleech 25"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 BluRay 1080p TrueHD 5.1 AVC REMUX-FraMeSToR', 102248840529, '["English"]', '["BeyondHD","MoreThanTV"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S01.1080p.BluRay.Remux.TrueHD5.1.H.264-EPSiLON', 102248836879, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01-S04 1080p BluRay REMUX AVC TrueHD 5 1-NOGRP', 434254315520, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S02.BluRay.1080p.TrueHD.5.1.AVC.REMUX-FraMeSToR', 95925812101, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone.2018.S04.1080p.BluRay.REMUX.AVC.TrueHD.5.1-4K4U', 138386405926, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2018 S01 WEBRip XviD-FUM', 4022987776, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01-S03 BR DDP AVC-PiR8', 190067818496, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone S01-S04 br 10bit dts hevc-d3g', 189252878336, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone Wildest Winter to Blazing Summer S01 1080p AMZN WEB-DL DD2 0 H 264-Cinefeel', 12374237184, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Epic Yellowstone S01 1080p AMZN WEB-DL DDP2 0 H 264-NTb', 12877028352, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone 2009 S01 1080p BluRay Opus 5 1 x265-WoKE', 5949712384, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone to Yosemite with Kevin Costner S01 1080p WEBRip x264-BAE', 5749489152, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Epic Yellowstone S01 2160p PMTP WEB-DL AAC2 0 H 265-NTb', 14825255936, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, '1923 (A Yellowstone Origin Story) S01 (2160p WEBRip HDR10Plus DoVi DDP5 1Ch HEVC 10Bit)-ShieldBearer', 21370484736, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, '1883 (A Yellowstone Origin Story) S01 REPACK + Extra (2160p WEBRip DDP5 1Ch HEVC 10Bit)-ShieldBearer', 22278584320, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, '1883 (A Yellowstone Origin Story) S01 + Extra (2160p WEBRip HDR10Plus DoVi DDP5 1Ch HEVC 10Bit)-ShieldBearer', 26014332928, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Yellowstone One Fifty S01 1080p ROKU WEBRip AAC2 0 x264-Kitsune', 6831456256, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, 'Great Yellowstone Thaw S01 1080p AMZN WEB-DL DD2.0 H.264-NTb', 13603248128, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, '1883 A Yellowstone Origin Story S01 2160p WEBRip HDR10 DDP5 1Ch HEVC 10Bit-ShieldBearer', 56679120896, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 73586, '1883 A Yellowstone Origin Story S01 2160p WEBRip DDP5 1Ch HEVC 10Bit-ShieldBearer', 38047956992, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
-- --- END op 1930
-- --- BEGIN op 1932 ( create test_entity "1883" )
insert into "test_entities" ("type", "tmdb_id", "title", "year", "poster_path") values ('series', 118357, '1883', 2021, '/waLbm384SQDwLTCn6ttPqQS5kfV.jpg');
-- --- END op 1932
-- --- BEGIN op 1935 ( create test_release "50 releases" )
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 + Extras (1080p PMTP WEB-DL x265 HEVC 10bit EAC3 5 1 t3nzin) QxR', 30338971648, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 (1080p AMZN WEB-DL x265 SDR DDP 5.1 English - Goki TAoE)', 27095971840, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 (1080p AMZN Webrip x265 10bit EAC3 5 1 - Goki)[TAoE]', 27095971840, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay DDP 5 1 x265-iVy', 10593577984, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 1080p BluRay 10bit EAC3 5 1 x265-iVy', 14195511296, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay x265-YAWNiX', 18730616832, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 1080p BluRay x265 SDR AAC 5.1 English-Vyndros', 16025710592, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 (1080p BluRay x265 HEVC 10bit AAC5 1 Vyndros)', 16025710592, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 (1080p BluRay x265 SDR DDP 5.1 English - Ghost QxR)', 33249921024, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p 10bit WEBRip 6CH x265 HEVC-PSA', 7266990080, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 1080p NF WEB-DL H264 SDR DDP 5.1 English-BLOOM', 22637035520, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p NF WEB-DL DD+ 5.1 H.264-BLOOM', 22637035520, '["English"]', '["upload.cx"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p WEB-DL DDP5.1 H.264-SCENE', 53622674249, '["English"]', '["PrivateHD"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 1080p AMZN WEB-DL H264 SDR DDP 5.1 English-NTb', 42254761984, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 42254762348, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","FileList.io","BroadcasTheNet","MoreThanTV","upload.cx","LST","PrivateHD","TorrentLeech","OnlyEncodes+ (API)"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.720p.BluRay.DD5.1.x264-NTb', 36997923355, '["English"]', '["HDBits","BeyondHD","FileList.io","BroadcasTheNet","MoreThanTV","LST","TorrentLeech"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb', 18340165297, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","FileList.io","BroadcasTheNet","MoreThanTV","LST","OnlyEncodes+ (API)","PrivateHD","TorrentLeech"]', '["halfleech","freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.720p.BluRay.DD5.1.x264-BORDURE', 28464629683, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.576p.BluRay.DD5.1.H.264-HiSD', 17792377219, '["English"]', '["BroadcasTheNet"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 576p BluRay DD 5.1 x264-HiSD', 17792376832, '["English"]', '["LST"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.BDRip.AAC2.0.x264-BORDURE', 4590266571, '["English"]', '["BroadcasTheNet"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.BDRip.x264-BORDURE', 4590266571, '["English"]', '["MoreThanTV"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 576p WEB-DL AAC 2.0 H.264-BTW', 9443203072, '["English"]', '["LST"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.WEB-DL.AAC2.0.H.264-BTW', 9443202717, '["English"]', '["FileList.io","BroadcasTheNet","MoreThanTV"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 480p x264-ZMNT', 3839142656, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRayRip EAC3 5 1 x265-Lootera', 12406299648, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 2021 S01 1080p BluRay DTS 5.1 x264-ADE', 61061668864, '["English"]', '["Aither (API)","BeyondHD"]', '["freeleech 75"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.1080p.BluRay.x264-BORDURE', 67220237889, '["English"]', '["MoreThanTV"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay x264-OFT', 26116378624, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p x265-ZMNT', 16772610048, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 (1080p AMZN WEB-DL H265 SDR DDP 5.1 English - HONE)', 25331329024, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 (1080p BluRay x265 SDR TrueHD 5.1 English - Kira SEV)', 59834548224, '["English"]', '["hawke-uno"]', '["internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay TrueHD 5.1 x264-BORDURE', 67220238336, '["English"]', '["Blutopia (API)","BeyondHD","BroadcasTheNet","PrivateHD"]', '["freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay TrueHD 5.1 x265-Kira', 59834548433, '["English"]', '["PrivateHD"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 [2021-2022] 1080p BDRip x265 TrueHD 5.1 Kira [SEV]', 59834548224, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay TrueHD 5.1 x265-noxxus', 30216151040, '["English"]', '["OnlyEncodes+ (API)","TorrentLeech"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 720p x265-ZMNT', 8750341120, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p Blu-ray AVC TrueHD 5.1-SLIPSTREAM', 144033903532, '["English"]', '["HDBits","Blutopia (API)","BeyondHD","BroadcasTheNet","LST"]', '["halfleech","freeleech 75","freeleech","scene"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.2160p.WEB-DL.DDP5.1.H.265-NTb', 67166080597, '["English"]', '["HDBits","Blutopia (API)","Aither (API)","BeyondHD","MoreThanTV","BroadcasTheNet","upload.cx","LST","TorrentLeech","OnlyEncodes+ (API)","PrivateHD"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 (2160p PMTP WEB-DL H265 SDR DDP 5.1 English - HONE)', 39738142720, '["English"]', '["hawke-uno","TorrentLeech"]', '["internal","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.2160p.SKST.WEB-DL.DD+5.1.H.265-playWEB', 64584533105, '["English"]', '["FileList.io","TorrentLeech"]', '["freeleech","internal"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (A Yellowstone Origin Story) S01 REPACK + Extra (2160p WEBRip DDP5 1Ch HEVC 10Bit)-ShieldBearer', 22278584320, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (A Yellowstone Origin Story) S01 + Extra (2160p WEBRip HDR10Plus DoVi DDP5 1Ch HEVC 10Bit)-ShieldBearer', 26014332928, '["English"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.1080p.Blu-ray.Remux.AVC.TrueHD.5.1-2h', 105599987767, '["English"]', '["HDBits","TorrentLeech"]', '["halfleech","freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 (2021) S01 1080p BluRay REMUX AVC SDR TrueHD 5.1 English-Sh0GuN', 108293898240, '["English"]', '["hawke-uno"]', '[]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay REMUX AVC TrueHD 5.1-MJOLNiR', 108061016064, '["English"]', '["Blutopia (API)","BeyondHD","Aither (API)","MoreThanTV","upload.cx","LST","TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883.S01.1080p.BluRay.Remux.TrueHD5.1.H.264-MJOLNiR', 108061012737, '["English"]', '["BroadcasTheNet"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 S01 1080p BluRay REMUX AVC TrueHD 5.1-TRiToN', 108293100441, '["English"]', '["PrivateHD","TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 A Yellowstone Origin Story S01 2160p WEBRip HDR10 DDP5 1Ch HEVC 10Bit-ShieldBearer', 56679120896, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
insert into "test_releases" ("entity_type", "entity_tmdb_id", "title", "size_bytes", "languages", "indexers", "flags") values ('series', 118357, '1883 A Yellowstone Origin Story S01 2160p WEBRip DDP5 1Ch HEVC 10Bit-ShieldBearer', 38047956992, '["Unknown"]', '["TorrentLeech"]', '["freeleech"]');
-- --- END op 1935

9
ops/75.update-regex.sql Normal file
View File

@@ -0,0 +1,9 @@
-- @operation: export
-- @entity: batch
-- @name: Update Regex
-- @exportedAt: 2026-03-04T01:43:51.215Z
-- @opIds: 1937
-- --- BEGIN op 1937 ( update regular_expression "Dual Audio" )
update "regular_expressions" set "pattern" = '\bDual[ ._-]?(?:Audio)?\b|\b(JA|ZH|KO)(?= ?\+ ?.*?\b(EN))|\b(EN)(?= ?\+ ?.*?\b(JA|ZH|KO))\b' where "name" = 'Dual Audio' and "pattern" = '\b((multi[^a-zA-Z]*)|(dual[\s.-](audio|complete)))\b';
-- --- END op 1937

View File

@@ -0,0 +1,21 @@
-- @operation: export
-- @entity: batch
-- @name: tweak(regex): added amazon prime unit tests, updated description to describe pattern, made delimeter between amazon/web{rip,dl} optional
-- @exportedAt: 2026-03-04T12:10:08.239Z
-- @opIds: 153, 154
-- --- BEGIN op 153 ( update regular_expression "Amazon Prime" )
update "regular_expressions" set "pattern" = '\bAMZN\b|\bAMAZON[ ._-]?WEB[ ._-]?(DL|RIP)\b', "regex101_id" = 'K6HrsR/4' where "name" = 'Amazon Prime' and "pattern" = '\bAMZN\b|\bAMAZON[ ._-]WEB[ ._-]?(DL|RIP)\b' and "regex101_id" is null;
-- --- END op 153
-- --- BEGIN op 154 ( update regular_expression "Amazon Prime" )
update "regular_expressions" set "description" = 'Matches Amazon Prime Video source tags in both abbreviated (`AMZN`) and full (`AMAZON WEB-DL` / `AMAZON WEBRIP`) forms. Separators between words can be a space, dot, underscore, or hyphen, and the separator between `WEB` and `DL`/`RIP` is optional entirely. Word boundaries are enforced on both patterns to prevent partial matches.
Examples:
- `AMZN`
- `AMAZON WEB-DL`
- `AMAZON.WEB.DL`
- `AMAZON_WEBDL`
- `AMAZON-WEBRIP`
- `AMAZON.WEB_RIP`' where "name" = 'Amazon Prime' and "description" = 'Amazon Prime Video, or simply Prime Video, is an American subscription video on-demand over-the-top streaming and rental service of Amazon offered both as a stand-alone service and as part of Amazon''s Prime subscription.';
-- --- END op 154

37
ops/77.update-regex.sql Normal file
View File

@@ -0,0 +1,37 @@
-- @operation: export
-- @entity: batch
-- @name: Update Regex
-- @exportedAt: 2026-03-04T18:34:51.328Z
-- @opIds: 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947
-- --- BEGIN op 1940 ( update regular_expression "Amazon Prime" )
update "regular_expressions" set "pattern" = '\bAMZN\b|\bAMAZON[ ._-]?WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Amazon Prime' and "pattern" = '\bAMZN\b|\bAMAZON[ ._-]?WEB[ ._-]?(DL|RIP)\b';
-- --- END op 1940
-- --- BEGIN op 1941 ( update regular_expression "Bravia Core" )
update "regular_expressions" set "pattern" = '\bBCORE\b|\bCORE[ ._-]?WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Bravia Core' and "pattern" = '\bBCORE\b|\bCORE[ ._-]WEB[ ._-]?(DL|RIP)\b';
-- --- END op 1941
-- --- BEGIN op 1942 ( update regular_expression "Crave" )
update "regular_expressions" set "pattern" = '\bCRAV\b|\bCRAVE[ ._-]?WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Crave' and "pattern" = '\bCRAV\b|\bCRAVE[ ._-]WEB[ ._-]?(DL|RIP)\b';
-- --- END op 1942
-- --- BEGIN op 1943 ( update regular_expression "Peacock TV" )
update "regular_expressions" set "pattern" = '\bPCOK\b|\bPeacock[ ._-]WEB?[ ._-]?(DL|RIP)?\b' where "name" = 'Peacock TV' and "pattern" = '\bPCOK\b|\bPeacock[ ._-]WEB[ ._-]?(DL|RIP)\b';
-- --- END op 1943
-- --- BEGIN op 1944 ( update regular_expression "Amazon Prime" )
update "regular_expressions" set "pattern" = '\bAMZN\b|\bAMAZON[ ._-]WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Amazon Prime' and "pattern" = '\bAMZN\b|\bAMAZON[ ._-]?WEB[ ._-]?(DL|RIP)?\b';
-- --- END op 1944
-- --- BEGIN op 1945 ( update regular_expression "Bravia Core" )
update "regular_expressions" set "pattern" = '\bBCORE\b|\bCORE[ ._-]WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Bravia Core' and "pattern" = '\bBCORE\b|\bCORE[ ._-]?WEB[ ._-]?(DL|RIP)?\b';
-- --- END op 1945
-- --- BEGIN op 1946 ( update regular_expression "Crave" )
update "regular_expressions" set "pattern" = '\bCRAV\b|\bCRAVE[ ._-]WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Crave' and "pattern" = '\bCRAV\b|\bCRAVE[ ._-]?WEB[ ._-]?(DL|RIP)?\b';
-- --- END op 1946
-- --- BEGIN op 1947 ( update regular_expression "Peacock TV" )
update "regular_expressions" set "pattern" = '\bPCOK\b|\bPeacock[ ._-]WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Peacock TV' and "pattern" = '\bPCOK\b|\bPeacock[ ._-]WEB?[ ._-]?(DL|RIP)?\b';
-- --- END op 1947

View File

@@ -0,0 +1,9 @@
-- @operation: export
-- @entity: batch
-- @name: tests(regex): add regex101 link for 'Sing Along'
-- @exportedAt: 2026-03-05T08:42:49.905Z
-- @opIds: 157
-- --- BEGIN op 157 ( update regular_expression "Sing Along" )
update "regular_expressions" set "regex101_id" = 'DjR6pm/1' where "name" = 'Sing Along' and "regex101_id" is null;
-- --- END op 157

View File

@@ -0,0 +1,28 @@
-- @operation: export
-- @entity: batch
-- @name: Add eXterminator to 1080p Quality Tier 4
-- @exportedAt: 2026-03-05T16:37:52.077Z
-- @opIds: 1950, 1951, 1952
-- --- BEGIN op 1950 ( create regular_expression "eXterminator" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('eXterminator', '(?<=^|[\s.-])ASD87\b', NULL, NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('eXterminator', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('eXterminator', 'Release Group');
-- --- END op 1950
-- --- BEGIN op 1951 ( update regular_expression "eXterminator" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])eXterminator\b' where "name" = 'eXterminator' and "pattern" = '(?<=^|[\s.-])ASD87\b';
-- --- END op 1951
-- --- BEGIN op 1952 ( update custom_format "1080p Quality Tier 4" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Quality Tier 4', 'eXterminator', 'edition', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 4', 'eXterminator', 'eXterminator');
-- --- END op 1952

View File

@@ -0,0 +1,480 @@
-- @operation: export
-- @entity: batch
-- @name: Fix eXterminator / Tweak Streaming Scores
-- @exportedAt: 2026-03-05T16:58:27.006Z
-- @opIds: 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-- --- BEGIN op 1954 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1954
-- --- BEGIN op 1955 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1955
-- --- BEGIN op 1956 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1956
-- --- BEGIN op 1957 ( update quality_profile "1080p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1957
-- --- BEGIN op 1958 ( update quality_profile "1080p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1958
-- --- BEGIN op 1959 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1959
-- --- BEGIN op 1960 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1960
-- --- BEGIN op 1961 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1961
-- --- BEGIN op 1962 ( update quality_profile "1080p Compact" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1962
-- --- BEGIN op 1963 ( update quality_profile "1080p Compact" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1963
-- --- BEGIN op 1964 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1964
-- --- BEGIN op 1965 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1965
-- --- BEGIN op 1966 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1966
-- --- BEGIN op 1967 ( update quality_profile "1080p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1967
-- --- BEGIN op 1968 ( update quality_profile "1080p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1968
-- --- BEGIN op 1969 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1969
-- --- BEGIN op 1970 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1970
-- --- BEGIN op 1971 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1971
-- --- BEGIN op 1972 ( update quality_profile "1080p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1972
-- --- BEGIN op 1973 ( update quality_profile "1080p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1973
-- --- BEGIN op 1974 ( 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', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1974
-- --- BEGIN op 1975 ( 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', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1975
-- --- BEGIN op 1976 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1976
-- --- BEGIN op 1977 ( update quality_profile "1080p Quality HDR" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1977
-- --- BEGIN op 1978 ( update quality_profile "1080p Quality HDR" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1978
-- --- BEGIN op 1979 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1979
-- --- BEGIN op 1980 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1980
-- --- BEGIN op 1981 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1981
-- --- BEGIN op 1982 ( update quality_profile "1080p Remux" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1982
-- --- BEGIN op 1983 ( update quality_profile "1080p Remux" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1983
-- --- BEGIN op 1984 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1984
-- --- BEGIN op 1985 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1985
-- --- BEGIN op 1986 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1986
-- --- BEGIN op 1987 ( update quality_profile "720p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1987
-- --- BEGIN op 1988 ( update quality_profile "720p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1988
-- --- BEGIN op 1989 ( update quality_profile "2160p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 1989
-- --- BEGIN op 1990 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1990
-- --- BEGIN op 1991 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1991
-- --- BEGIN op 1992 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1992
-- --- BEGIN op 1993 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1993
-- --- BEGIN op 1994 ( update quality_profile "2160p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 1994
-- --- BEGIN op 1995 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1995
-- --- BEGIN op 1996 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1996
-- --- BEGIN op 1997 ( update quality_profile "2160p Quality" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 1997
-- --- BEGIN op 1998 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1998
-- --- BEGIN op 1999 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1999
-- --- BEGIN op 2000 ( update quality_profile "2160p Remux" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 2000
-- --- BEGIN op 2001 ( update custom_format "1080p Quality Tier 4" )
UPDATE custom_format_conditions
SET type = 'release_group'
WHERE custom_format_name = '1080p Quality Tier 4'
AND name = 'eXterminator'
AND type = 'edition'
AND arr_type = 'all'
AND negate = 0
AND required = 0;
DELETE FROM condition_patterns WHERE custom_format_name = '1080p Quality Tier 4' AND condition_name = 'eXterminator' AND regular_expression_name = 'eXterminator';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 4', 'eXterminator', 'eXterminator');
-- --- END op 2001

87
ops/81.ban-oft-nikt0.sql Normal file
View File

@@ -0,0 +1,87 @@
-- @operation: export
-- @entity: batch
-- @name: Ban OFT / nikt0
-- @exportedAt: 2026-03-05T19:14:59.473Z
-- @opIds: 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
-- --- BEGIN op 2003 ( create regular_expression "OFT" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('OFT', '(?<=^|[\s.-])4KDVS\b', 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot', NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('OFT', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('OFT', 'Release Group');
-- --- END op 2003
-- --- BEGIN op 2004 ( update regular_expression "OFT" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])OFT\b', "description" = NULL where "name" = 'OFT' and "pattern" = '(?<=^|[\s.-])4KDVS\b' and "description" = 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot';
-- --- END op 2004
-- --- BEGIN op 2005 ( update regular_expression "OFT" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'OFT' and "description" is null;
-- --- END op 2005
-- --- BEGIN op 2006 ( create regular_expression "nikt0" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('nikt0', '(?<=^|[\s.-])OFT\b', 'Banned for Low Quality', NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('nikt0', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('nikt0', 'Release Group');
-- --- END op 2006
-- --- BEGIN op 2007 ( update regular_expression "nikt0" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])nikt0\b' where "name" = 'nikt0' and "pattern" = '(?<=^|[\s.-])OFT\b';
-- --- END op 2007
-- --- BEGIN op 2008 ( update regular_expression "OFT" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('OFT') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('OFT') LIMIT 1;
-- --- END op 2008
-- --- BEGIN op 2009 ( update regular_expression "nikt0" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('nikt0') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('nikt0') LIMIT 1;
-- --- END op 2009
-- --- BEGIN op 2010 ( update custom_format "Banned Groups" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups', 'OFT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups', 'OFT', 'OFT');
-- --- END op 2010
-- --- BEGIN op 2011 ( update custom_format "Banned Groups" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups', 'nikt0', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups', 'nikt0', 'nikt0');
-- --- END op 2011
-- --- BEGIN op 2012 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'OFT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'OFT', 'nikt0');
-- --- END op 2012
-- --- BEGIN op 2013 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'nikt0', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'nikt0', 'nikt0');
-- --- END op 2013

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
-- @operation: export
-- @entity: batch
-- @name: Reduce Default Delay Profile back to 300m
-- @exportedAt: 2026-03-06T18:12:40.992Z
-- @opIds: 2617, 2618
-- --- BEGIN op 2617 ( update delay_profile "Radarr" )
update "delay_profiles" set "usenet_delay" = 300, "torrent_delay" = 300 where "name" = 'Radarr' and "usenet_delay" = 600 and "torrent_delay" = 600;
-- --- END op 2617
-- --- BEGIN op 2618 ( update delay_profile "Sonarr" )
update "delay_profiles" set "usenet_delay" = 300, "torrent_delay" = 300 where "name" = 'Sonarr' and "usenet_delay" = 600 and "torrent_delay" = 600;
-- --- END op 2618

View File

@@ -0,0 +1,36 @@
-- @operation: export
-- @entity: batch
-- @name: Add CART to 1080p Quality Tier 6
-- @exportedAt: 2026-03-07T23:47:18.841Z
-- @opIds: 2620, 2621, 2622, 2623, 2624
-- --- BEGIN op 2620 ( update regular_expression "4KDVS" )
update "regular_expressions" set "description" = NULL where "name" = '4KDVS' and "description" = 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot';
-- --- END op 2620
-- --- BEGIN op 2621 ( create regular_expression "CART" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('CART', '(?<=^|[\s.-])4KDVS\b', NULL, NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('CART', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('CART', 'Release Group');
-- --- END op 2621
-- --- BEGIN op 2622 ( update regular_expression "CART" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])CART\b' where "name" = 'CART' and "pattern" = '(?<=^|[\s.-])4KDVS\b';
-- --- END op 2622
-- --- BEGIN op 2623 ( update custom_format "1080p Quality Tier 6" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Quality Tier 6', 'CART', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 6', 'CART', 'CART');
-- --- END op 2623
-- --- BEGIN op 2624 ( update regular_expression "UHD Bluray Release Groups" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BMF|BRUTE|BSTD|BV|c0kE|CART|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b' where "name" = 'UHD Bluray Release Groups' and "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BMF|BRUTE|BSTD|BV|c0kE|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b';
-- --- END op 2624

View File

@@ -0,0 +1,16 @@
-- @operation: export
-- @entity: batch
-- @name: Add BakedFEL to 1080p Quality Tier 6
-- @exportedAt: 2026-03-08T00:19:26.594Z
-- @opIds: 2626, 2627
-- --- BEGIN op 2626 ( update regular_expression "UHD Bluray Release Groups" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BakedFEL|BMF|BRUTE|BSTD|BV|c0kE|CART|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b' where "name" = 'UHD Bluray Release Groups' and "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BMF|BRUTE|BSTD|BV|c0kE|CART|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b';
-- --- END op 2626
-- --- BEGIN op 2627 ( update custom_format "1080p Quality Tier 6" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Quality Tier 6', 'BakedFEL', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 6', 'BakedFEL', 'BakedFEL');
-- --- END op 2627

View File

@@ -0,0 +1,32 @@
-- @operation: export
-- @entity: batch
-- @name: Add GZ to 1080p Quality Tier 5
-- @exportedAt: 2026-03-08T00:24:51.240Z
-- @opIds: 2629, 2630, 2631, 2632
-- --- BEGIN op 2629 ( update regular_expression "UHD Bluray Release Groups" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BakedFEL|BMF|BRUTE|BSTD|BV|c0kE|CART|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|GZ|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b' where "name" = 'UHD Bluray Release Groups' and "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BakedFEL|BMF|BRUTE|BSTD|BV|c0kE|CART|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b';
-- --- END op 2629
-- --- BEGIN op 2630 ( create regular_expression "GZ" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('GZ', '(?<=^|[\s.-])4KDVS\b', NULL, NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('GZ', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('GZ', 'Release Group');
-- --- END op 2630
-- --- BEGIN op 2631 ( update regular_expression "GZ" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])GZ\b' where "name" = 'GZ' and "pattern" = '(?<=^|[\s.-])4KDVS\b';
-- --- END op 2631
-- --- BEGIN op 2632 ( update custom_format "1080p Quality Tier 5" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Quality Tier 5', 'GZ', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 5', 'GZ', 'GZ');
-- --- END op 2632

View File

@@ -0,0 +1,16 @@
-- @operation: export
-- @entity: batch
-- @name: Add ORBiT to 1080p Quality Tier 6
-- @exportedAt: 2026-03-08T00:29:24.110Z
-- @opIds: 2634, 2635
-- --- BEGIN op 2634 ( update regular_expression "UHD Bluray Release Groups" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BakedFEL|BMF|BRUTE|BSTD|BV|c0kE|CART|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|GZ|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORBiT|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b' where "name" = 'UHD Bluray Release Groups' and "pattern" = '(?<=^|[\s.-])(AJP69|ATELiER|BakedFEL|BMF|BRUTE|BSTD|BV|c0kE|CART|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|GZ|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b';
-- --- END op 2634
-- --- BEGIN op 2635 ( update custom_format "1080p Quality Tier 6" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Quality Tier 6', 'ORBiT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 6', 'ORBiT', 'ORBiT');
-- --- END op 2635

View File

@@ -0,0 +1,427 @@
-- @operation: export
-- @entity: batch
-- @name: Add RARBG to Efficient Ban / Seperate Compact Efficient Banned Release Group CF
-- @exportedAt: 2026-03-11T21:38:54.506Z
-- @opIds: 2880, 2881, 2882, 2883, 2884, 2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893, 2894, 2895, 2896, 2897, 2898, 2899, 2900, 2901, 2902, 2903, 2904, 2905, 2906, 2907, 2908, 2909, 2910, 2911, 2912, 2913, 2914, 2915, 2916, 2917, 2918, 2919, 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935, 2936, 2937
-- --- BEGIN op 2880 ( create custom_format "Banned Groups (Compact)" )
insert into "custom_formats" ("name", "description") values ('Banned Groups (Compact)', '');
-- --- END op 2880
-- --- BEGIN op 2881 ( update custom_format "Banned Groups (Compact)" )
update "custom_formats" set "description" = 'Matches Release Groups that are Banned' where "name" = 'Banned Groups (Compact)' and "description" = '';
-- --- END op 2881
-- --- BEGIN op 2882 ( update custom_format "Banned Groups (Compact)" )
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('Banned Groups (Compact)', '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 (Compact)', 'Release Group');
-- --- END op 2882
-- --- BEGIN op 2883 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', '4K4U', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', '4K4U', '4K4U');
-- --- END op 2883
-- --- BEGIN op 2884 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'AOC', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'AOC', 'AOC');
-- --- END op 2884
-- --- BEGIN op 2885 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'AROMA', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'AROMA', 'AROMA');
-- --- END op 2885
-- --- BEGIN op 2886 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'BOLS', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'BOLS', 'BOLS');
-- --- END op 2886
-- --- BEGIN op 2887 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'BTM', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'BTM', 'BTM');
-- --- END op 2887
-- --- BEGIN op 2888 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'BeyondHD', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'BeyondHD', 'BeyondHD');
-- --- END op 2888
-- --- BEGIN op 2889 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'BiTOR', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'BiTOR', 'BiTOR');
-- --- END op 2889
-- --- BEGIN op 2890 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'CLASSiCALHD', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'CLASSiCALHD', 'CLASSiCALHD');
-- --- END op 2890
-- --- BEGIN op 2891 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'CREATiVE24', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'CREATiVE24', 'CREATiVE24');
-- --- END op 2891
-- --- BEGIN op 2892 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'DRX', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'DRX', 'DRX');
-- --- END op 2892
-- --- BEGIN op 2893 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'DeViSiVE', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'DeViSiVE', 'DeViSiVE');
-- --- END op 2893
-- --- BEGIN op 2894 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'DepraveD', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'DepraveD', 'DepraveD');
-- --- END op 2894
-- --- BEGIN op 2895 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'E', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'E', 'E');
-- --- END op 2895
-- --- BEGIN op 2896 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'FGT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'FGT', 'FGT');
-- --- END op 2896
-- --- BEGIN op 2897 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'Flights', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'Flights', 'Flights');
-- --- END op 2897
-- --- BEGIN op 2898 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'HDS', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'HDS', 'HDS');
-- --- END op 2898
-- --- BEGIN op 2899 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'KC', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'KC', 'KC');
-- --- END op 2899
-- --- BEGIN op 2900 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'LAMA', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'LAMA', 'LAMA');
-- --- END op 2900
-- --- BEGIN op 2901 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'MgB', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'MgB', 'MgB');
-- --- END op 2901
-- --- BEGIN op 2902 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'NAHOM', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'NAHOM', 'NAHOM');
-- --- END op 2902
-- --- BEGIN op 2903 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'NhaNc3', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'NhaNc3', 'NhaNc3');
-- --- END op 2903
-- --- BEGIN op 2904 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'OEPlus', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'OEPlus', 'OEPlus');
-- --- END op 2904
-- --- BEGIN op 2905 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'OFT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'OFT', 'nikt0');
-- --- END op 2905
-- --- BEGIN op 2906 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'SHD', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'SHD', 'SHD');
-- --- END op 2906
-- --- BEGIN op 2907 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'SM737', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'SM737', 'SM737');
-- --- END op 2907
-- --- BEGIN op 2908 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'STUTTERSHIT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'STUTTERSHIT', 'STUTTERSHIT');
-- --- END op 2908
-- --- BEGIN op 2909 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'SasukeducK', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'SasukeducK', 'SasukeducK');
-- --- END op 2909
-- --- BEGIN op 2910 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'ShieldBearer', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'ShieldBearer', 'ShieldBearer');
-- --- END op 2910
-- --- BEGIN op 2911 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'TEKNO3D', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'TEKNO3D', 'TEKNO3D');
-- --- END op 2911
-- --- BEGIN op 2912 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'Telly', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'Telly', 'Telly');
-- --- END op 2912
-- --- BEGIN op 2913 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'TvR', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'TvR', 'TvR');
-- --- END op 2913
-- --- BEGIN op 2914 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'UnKn0wn', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'UnKn0wn', 'UnKn0wn');
-- --- END op 2914
-- --- BEGIN op 2915 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'VD0N', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'VD0N', 'VD0N');
-- --- END op 2915
-- --- BEGIN op 2916 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'VECTOR', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'VECTOR', 'VECTOR');
-- --- END op 2916
-- --- BEGIN op 2917 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'VisionXpert', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'VisionXpert', 'VisionXpert');
-- --- END op 2917
-- --- BEGIN op 2918 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'YIFY', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'YIFY', 'YIFY');
-- --- END op 2918
-- --- BEGIN op 2919 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'YTS', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'YTS', 'YTS');
-- --- END op 2919
-- --- BEGIN op 2920 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'd3g', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'd3g', 'd3g');
-- --- END op 2920
-- --- BEGIN op 2921 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'jennaortegaUHD', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'jennaortegaUHD', 'jennaortegaUHD');
-- --- END op 2921
-- --- BEGIN op 2922 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'nikt0', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'nikt0', 'nikt0');
-- --- END op 2922
-- --- BEGIN op 2923 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'tarunk9c', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'tarunk9c', 'tarunk9c');
-- --- END op 2923
-- --- BEGIN op 2924 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'x0r', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'x0r', 'x0r');
-- --- END op 2924
-- --- BEGIN op 2925 ( 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 (Efficient)', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Banned Groups (Efficient)'
AND arr_type = 'radarr'
);
-- --- END op 2925
-- --- BEGIN op 2926 ( 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 (Efficient)', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Banned Groups (Efficient)'
AND arr_type = 'sonarr'
);
-- --- END op 2926
-- --- BEGIN op 2927 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Banned Groups (Efficient)'
AND arr_type = 'all'
AND score = -999999;
-- --- END op 2927
-- --- BEGIN op 2928 ( 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 (Compact)', 'radarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Banned Groups (Compact)'
AND arr_type = 'radarr'
);
-- --- END op 2928
-- --- BEGIN op 2929 ( 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 (Compact)', 'sonarr', -999999
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Banned Groups (Compact)'
AND arr_type = 'sonarr'
);
-- --- END op 2929
-- --- BEGIN op 2930 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Banned Groups (Efficient)'
AND arr_type = 'radarr'
AND score = -999999;
-- --- END op 2930
-- --- BEGIN op 2931 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Banned Groups (Efficient)'
AND arr_type = 'sonarr'
AND score = -999999;
-- --- END op 2931
-- --- BEGIN op 2932 ( update custom_format "Banned Groups (Compact)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Compact)', 'BLASPHEMY', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Compact)', 'BLASPHEMY', 'BLASPHEMY');
-- --- END op 2932
-- --- BEGIN op 2933 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'BLASPHEMY', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'BLASPHEMY', 'BLASPHEMY');
-- --- END op 2933
-- --- BEGIN op 2934 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'RARBG', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'RARBG', 'RARBG');
-- --- END op 2934
-- --- BEGIN op 2935 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'MeGusta', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'MeGusta', 'MeGusta');
-- --- END op 2935
-- --- BEGIN op 2936 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'PSA', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'PSA', 'PSA');
-- --- END op 2936
-- --- BEGIN op 2937 ( update custom_format "Banned Groups" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups', 'SM737', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups', 'SM737', 'SM737');
-- --- END op 2937

View File

@@ -0,0 +1,223 @@
-- @operation: export
-- @entity: batch
-- @name: Boost Extended Edition Scoring
-- @exportedAt: 2026-03-11T21:51:38.621Z
-- @opIds: 2949, 2950, 2951, 2952, 2953, 2954, 2955, 2956, 2957, 2958, 2959, 2960, 2961, 2962, 2963, 2964, 2965, 2966, 2967, 2968, 2969, 2970, 2971, 2972, 2973, 2974
-- --- BEGIN op 2949 ( create regular_expression "Extended" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('Extended', '(?<=\b[12]\d{3}\b).*\b(Cut|Directors|DC|Edition|Extended|Special|Uncensored|Uncut|Unrated|Version)(\b|\d)', 'Matches any type of non theatrical edition. ', NULL);
insert into "tags" ("name") values ('Edition') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('Extended', 'Edition');
-- --- END op 2949
-- --- BEGIN op 2950 ( update regular_expression "Extended" )
update "regular_expressions" set "pattern" = '(?<=\b[12]\d{3}\b).*\b(Extended)(\b|\d)' where "name" = 'Extended' and "pattern" = '(?<=\b[12]\d{3}\b).*\b(Cut|Directors|DC|Edition|Extended|Special|Uncensored|Uncut|Unrated|Version)(\b|\d)';
-- --- END op 2950
-- --- BEGIN op 2951 ( create custom_format "Extended Edition" )
insert into "custom_formats" ("name", "description") values ('Extended Edition', '');
-- --- END op 2951
-- --- BEGIN op 2952 ( update custom_format "Extended Edition" )
update "custom_formats" set "description" = 'Special editions are modified versions of movies released after the original theatrical version.
• They exist because filmmakers want to present their `true vision`, `fix problems`, or because studios want to make more money
• You''ll see them with names like `Director''s Cut`, `Extended Edition`, or creative marketing labels like `Ultimate Cut`
• A single film can have `multiple special editions` as technology improves or different creative perspectives emerge' where "name" = 'Extended Edition' and "description" = '';
-- --- END op 2952
-- --- BEGIN op 2953 ( update custom_format "Extended Edition" )
insert into "tags" ("name") values ('Edition') on conflict ("name") do nothing;
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('Extended Edition', 'Edition');
-- --- END op 2953
-- --- BEGIN op 2954 ( update custom_format "Extended Edition" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Extended Edition', 'Not Extended Clip', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Extended Edition', 'Not Extended Clip', 'Extended Clip');
-- --- END op 2954
-- --- BEGIN op 2955 ( update custom_format "Extended Edition" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Extended Edition', 'Not IMAX', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Extended Edition', 'Not IMAX', 'IMAX');
-- --- END op 2955
-- --- BEGIN op 2956 ( update custom_format "Extended Edition" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Extended Edition', 'Not Open Matte', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Extended Edition', 'Not Open Matte', 'Open Matte');
-- --- END op 2956
-- --- BEGIN op 2957 ( update custom_format "Extended Edition" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Extended Edition', 'Not Sing Along', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Extended Edition', 'Not Sing Along', 'Sing Along');
-- --- END op 2957
-- --- BEGIN op 2958 ( update custom_format "Extended Edition" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Extended Edition', 'Not Theatrical Edition', 'release_title', 'all', 1, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Extended Edition', 'Not Theatrical Edition', 'Theatrical Edition');
-- --- END op 2958
-- --- BEGIN op 2959 ( update custom_format "Extended Edition" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Extended Edition', 'Special Edition', 'release_title', 'all', 0, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Extended Edition', 'Special Edition', 'Special Edition');
-- --- END op 2959
-- --- BEGIN op 2960 ( update custom_format "Extended Edition" )
DELETE FROM custom_format_conditions
WHERE custom_format_name = 'Extended Edition'
AND name = 'Special Edition'
AND type = 'release_title'
AND arr_type = 'all'
AND negate = 0
AND required = 1;
-- --- END op 2960
-- --- BEGIN op 2961 ( update custom_format "Extended Edition" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Extended Edition', 'Extended Edition', 'release_title', 'all', 0, 1);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Extended Edition', 'Extended Edition', 'Extended');
-- --- END op 2961
-- --- BEGIN op 2962 ( update regular_expression "Extended Edition" )
update "regular_expressions" set "name" = 'Extended Edition' where "name" = 'Extended';
-- --- END op 2962
-- --- BEGIN op 2963 ( update custom_format "Extended Edition" )
update "condition_patterns" set "regular_expression_name" = 'Extended Edition' where "custom_format_name" = 'Extended Edition' and "condition_name" = 'Extended Edition' and "regular_expression_name" = 'Extended';
-- --- END op 2963
-- --- BEGIN op 2964 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2964
-- --- BEGIN op 2965 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2965
-- --- BEGIN op 2966 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2966
-- --- BEGIN op 2967 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2967
-- --- BEGIN op 2968 ( 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', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2968
-- --- BEGIN op 2969 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2969
-- --- BEGIN op 2970 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2970
-- --- BEGIN op 2971 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2971
-- --- BEGIN op 2972 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2972
-- --- BEGIN op 2973 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2973
-- --- BEGIN op 2974 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'Extended Edition', 'radarr', 1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'Extended Edition'
AND arr_type = 'radarr'
);
-- --- END op 2974

View File

@@ -0,0 +1,9 @@
-- @operation: export
-- @entity: batch
-- @name: Update ASL Regex
-- @exportedAt: 2026-03-11T21:56:50.998Z
-- @opIds: 2976
-- --- BEGIN op 2976 ( update regular_expression "ASL" )
update "regular_expressions" set "pattern" = '\b(ASL|BSL|Audio[ ._-]Description)\b' where "name" = 'ASL' and "pattern" = '\b(ASL)\b';
-- --- END op 2976

View File

@@ -0,0 +1,68 @@
-- @operation: export
-- @entity: batch
-- @name: Reduce MA Score on 1080p and below Profiles
-- @exportedAt: 2026-03-14T00:57:01.065Z
-- @opIds: 2978, 2979, 2980, 2981, 2982, 2983, 2984
-- --- BEGIN op 2978 ( update quality_profile "1080p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 2978
-- --- BEGIN op 2979 ( update quality_profile "1080p Compact" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 2979
-- --- BEGIN op 2980 ( update quality_profile "1080p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 2980
-- --- BEGIN op 2981 ( update quality_profile "1080p Quality" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 2981
-- --- BEGIN op 2982 ( update quality_profile "1080p Quality HDR" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 2982
-- --- BEGIN op 2983 ( update quality_profile "1080p Remux" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 2983
-- --- BEGIN op 2984 ( update quality_profile "720p Quality" )
UPDATE quality_profile_custom_formats
SET score = 3000
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 4000;
-- --- END op 2984

View File

@@ -0,0 +1,21 @@
-- @operation: export
-- @entity: batch
-- @name: Create YAWNTiC Regex
-- @exportedAt: 2026-03-14T03:20:29.754Z
-- @opIds: 2986, 2987
-- --- BEGIN op 2986 ( create regular_expression "YAWNTiC" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('YAWNTiC', '(?<=^|[\s.-])YAWNiX\b', NULL, NULL);
insert into "tags" ("name") values ('HEVC') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('YAWNTiC', 'HEVC');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('YAWNTiC', 'Release Group');
-- --- END op 2986
-- --- BEGIN op 2987 ( update regular_expression "YAWNTiC" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])YAWNTiC\b' where "name" = 'YAWNTiC' and "pattern" = '(?<=^|[\s.-])YAWNiX\b';
-- --- END op 2987

View File

@@ -0,0 +1,106 @@
-- @operation: export
-- @entity: batch
-- @name: chore: bump pcd schema to 1.1.0, add quality group positions to 1080p Balanced
-- @exportedAt: 2026-03-14T16:36:50.820Z
-- @opIds: 1910
-- --- BEGIN op 1910 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_group_members
WHERE quality_profile_name = '1080p Balanced'
AND quality_group_name = '1080p Balanced'
AND (SELECT COUNT(*)
FROM quality_group_members
WHERE quality_profile_name = '1080p Balanced'
AND quality_group_name = '1080p Balanced') = 12
AND NOT EXISTS (
SELECT 1
FROM quality_group_members
WHERE quality_profile_name = '1080p Balanced'
AND quality_group_name = '1080p Balanced'
AND quality_name NOT IN ('Bluray-1080p', 'Bluray-480p', 'Bluray-576p', 'Bluray-720p', 'DVD', 'HDTV-1080p', 'HDTV-720p', 'SDTV', 'WEBDL-1080p', 'WEBDL-480p', 'WEBDL-720p', 'WEBRip-720p')
)
AND (
NOT EXISTS (
SELECT 1
FROM quality_group_members
WHERE quality_profile_name = '1080p Balanced'
AND quality_group_name = '1080p Balanced'
AND NOT (
(quality_name = 'Bluray-1080p'
AND position = 0)
OR (quality_name = 'Bluray-480p'
AND position = 1)
OR (quality_name = 'Bluray-576p'
AND position = 2)
OR (quality_name = 'Bluray-720p'
AND position = 3)
OR (quality_name = 'DVD'
AND position = 4)
OR (quality_name = 'HDTV-1080p'
AND position = 5)
OR (quality_name = 'HDTV-720p'
AND position = 6)
OR (quality_name = 'SDTV'
AND position = 7)
OR (quality_name = 'WEBDL-1080p'
AND position = 8)
OR (quality_name = 'WEBDL-480p'
AND position = 9)
OR (quality_name = 'WEBDL-720p'
AND position = 10)
OR (quality_name = 'WEBRip-720p'
AND position = 11)
)
)
OR NOT EXISTS (
SELECT 1
FROM quality_group_members
WHERE quality_profile_name = '1080p Balanced'
AND quality_group_name = '1080p Balanced'
AND position != 0
)
);
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name, position)
WITH can_insert AS (
SELECT (
SELECT COUNT(*)
FROM quality_group_members
WHERE quality_profile_name = '1080p Balanced'
AND quality_group_name = '1080p Balanced'
) = 0 AS ok
),
new_rows AS (
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'Bluray-1080p' AS quality_name, 0 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'WEBDL-1080p' AS quality_name, 1 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'HDTV-1080p' AS quality_name, 2 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'Bluray-720p' AS quality_name, 3 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'WEBDL-720p' AS quality_name, 4 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'WEBRip-720p' AS quality_name, 5 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'HDTV-720p' AS quality_name, 6 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'Bluray-576p' AS quality_name, 7 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'Bluray-480p' AS quality_name, 8 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'WEBDL-480p' AS quality_name, 9 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'DVD' AS quality_name, 10 AS position
UNION ALL
SELECT '1080p Balanced' AS quality_profile_name, '1080p Balanced' AS quality_group_name, 'SDTV' AS quality_name, 11 AS position
)
SELECT
new_rows.quality_profile_name,
new_rows.quality_group_name,
new_rows.quality_name,
new_rows.position
FROM new_rows
CROSS JOIN can_insert
WHERE ok;
-- --- END op 1910

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,264 @@
-- @operation: export
-- @entity: batch
-- @name: Remove 2160p WEBRips from Efficient
-- @exportedAt: 2026-03-14T18:17:29.598Z
-- @opIds: 3003
-- --- BEGIN op 3003 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_qualities (quality_profile_name, quality_name, quality_group_name, position, enabled, upgrade_until)
SELECT '2160p Efficient', 'WEBRip-2160p', NULL, 1, 1, 0
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_qualities
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'WEBRip-2160p'
AND quality_group_name IS NULL
);
UPDATE quality_profile_qualities
SET position = 2
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'Remux-2160p'
AND quality_group_name IS NULL
AND position = 1
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 3
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'HDTV-2160p'
AND quality_group_name IS NULL
AND position = 2
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 4
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'Remux-1080p'
AND quality_group_name IS NULL
AND position = 3
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 5
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'WEBRip-480p'
AND quality_group_name IS NULL
AND position = 4
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 6
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'HDTV-480p'
AND quality_group_name IS NULL
AND position = 5
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 7
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'BR-DISK'
AND quality_group_name IS NULL
AND position = 6
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 8
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'CAM'
AND quality_group_name IS NULL
AND position = 7
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 9
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'DVD-R'
AND quality_group_name IS NULL
AND position = 8
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 10
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'DVDSCR'
AND quality_group_name IS NULL
AND position = 9
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 11
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'Raw-HD'
AND quality_group_name IS NULL
AND position = 10
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 12
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'REGIONAL'
AND quality_group_name IS NULL
AND position = 11
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 13
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'TELECINE'
AND quality_group_name IS NULL
AND position = 12
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 14
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'TELESYNC'
AND quality_group_name IS NULL
AND position = 13
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 15
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'WORKPRINT'
AND quality_group_name IS NULL
AND position = 14
AND enabled = 0
AND upgrade_until = 0;
UPDATE quality_profile_qualities
SET position = 16
WHERE quality_profile_name = '2160p Efficient'
AND quality_name = 'Unknown'
AND quality_group_name IS NULL
AND position = 15
AND enabled = 0
AND upgrade_until = 0;
DELETE FROM quality_group_members
WHERE quality_profile_name = '2160p Efficient'
AND quality_group_name = '2160p Efficient'
AND (SELECT COUNT(*)
FROM quality_group_members
WHERE quality_profile_name = '2160p Efficient'
AND quality_group_name = '2160p Efficient') = 16
AND NOT EXISTS (
SELECT 1
FROM quality_group_members
WHERE quality_profile_name = '2160p Efficient'
AND quality_group_name = '2160p Efficient'
AND quality_name NOT IN ('Bluray-2160p', 'WEBDL-2160p', 'WEBRip-2160p', 'Bluray-1080p', 'WEBDL-1080p', 'WEBRip-1080p', 'Bluray-720p', 'WEBDL-720p', 'WEBRip-720p', 'Bluray-576p', 'Bluray-480p', 'WEBDL-480p', 'DVD', 'HDTV-1080p', 'HDTV-720p', 'SDTV')
)
AND (
NOT EXISTS (
SELECT 1
FROM quality_group_members
WHERE quality_profile_name = '2160p Efficient'
AND quality_group_name = '2160p Efficient'
AND NOT (
(quality_name = 'Bluray-2160p'
AND position = 0)
OR (quality_name = 'WEBDL-2160p'
AND position = 1)
OR (quality_name = 'WEBRip-2160p'
AND position = 2)
OR (quality_name = 'Bluray-1080p'
AND position = 3)
OR (quality_name = 'WEBDL-1080p'
AND position = 4)
OR (quality_name = 'WEBRip-1080p'
AND position = 5)
OR (quality_name = 'Bluray-720p'
AND position = 6)
OR (quality_name = 'WEBDL-720p'
AND position = 7)
OR (quality_name = 'WEBRip-720p'
AND position = 8)
OR (quality_name = 'Bluray-576p'
AND position = 9)
OR (quality_name = 'Bluray-480p'
AND position = 10)
OR (quality_name = 'WEBDL-480p'
AND position = 11)
OR (quality_name = 'DVD'
AND position = 12)
OR (quality_name = 'HDTV-1080p'
AND position = 13)
OR (quality_name = 'HDTV-720p'
AND position = 14)
OR (quality_name = 'SDTV'
AND position = 15)
)
)
OR NOT EXISTS (
SELECT 1
FROM quality_group_members
WHERE quality_profile_name = '2160p Efficient'
AND quality_group_name = '2160p Efficient'
AND position != 0
)
);
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name, position)
WITH can_insert AS (
SELECT (
SELECT COUNT(*)
FROM quality_group_members
WHERE quality_profile_name = '2160p Efficient'
AND quality_group_name = '2160p Efficient'
) = 0 AS ok
),
new_rows AS (
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'Bluray-2160p' AS quality_name, 0 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'WEBDL-2160p' AS quality_name, 1 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'Bluray-1080p' AS quality_name, 2 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'WEBDL-1080p' AS quality_name, 3 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'WEBRip-1080p' AS quality_name, 4 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'Bluray-720p' AS quality_name, 5 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'WEBDL-720p' AS quality_name, 6 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'WEBRip-720p' AS quality_name, 7 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'Bluray-576p' AS quality_name, 8 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'Bluray-480p' AS quality_name, 9 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'WEBDL-480p' AS quality_name, 10 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'DVD' AS quality_name, 11 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'HDTV-1080p' AS quality_name, 12 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'HDTV-720p' AS quality_name, 13 AS position
UNION ALL
SELECT '2160p Efficient' AS quality_profile_name, '2160p Efficient' AS quality_group_name, 'SDTV' AS quality_name, 14 AS position
)
SELECT
new_rows.quality_profile_name,
new_rows.quality_group_name,
new_rows.quality_name,
new_rows.position
FROM new_rows
CROSS JOIN can_insert
WHERE ok;
-- --- END op 3003

View File

@@ -0,0 +1,28 @@
-- @operation: export
-- @entity: batch
-- @name: Add iLoveHD to 1080p Quality Tier 5
-- @exportedAt: 2026-03-15T00:12:16.337Z
-- @opIds: 3005, 3006, 3007
-- --- BEGIN op 3005 ( create regular_expression "iLoveHD" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('iLoveHD', '(?<=^|[\s.-])ADE\b', NULL, NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('iLoveHD', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('iLoveHD', 'Release Group');
-- --- END op 3005
-- --- BEGIN op 3006 ( update regular_expression "iLoveHD" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])iLoveHD\b' where "name" = 'iLoveHD' and "pattern" = '(?<=^|[\s.-])ADE\b';
-- --- END op 3006
-- --- BEGIN op 3007 ( update custom_format "1080p Quality Tier 5" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('1080p Quality Tier 5', 'iLoveHD', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 5', 'iLoveHD', 'iLoveHD');
-- --- END op 3007

View File

@@ -1,29 +1,26 @@
{
"name": "Dictionarry Database",
"version": "2.0.0",
"description": "Official Dictionarry Database",
"arr_types": ["radarr", "sonarr"],
"dependencies": {
"https://github.com/Dictionarry-Hub/schema": "1.0.0"
},
"authors": [
{
"name": "Dictionarry Team"
}
],
"license": "MIT",
"repository": "https://github.com/dictionarry-hub/db",
"links": {
"homepage": "https://dictionarry.dev",
"issues": "https://github.com/dictionarry-hub/db/issues"
},
"profilarr": {
"minimum_version": "2.0.0"
"name": "Dictionarry Database",
"version": "2.0.0",
"description": "Official Dictionarry Database",
"arr_types": [
"radarr",
"sonarr"
],
"dependencies": {
"https://github.com/Dictionarry-Hub/schema": "1.1.0"
},
"authors": [
{
"name": "Dictionarry Team"
}
}
],
"license": "MIT",
"repository": "https://github.com/dictionarry-hub/db",
"links": {
"homepage": "https://dictionarry.dev",
"issues": "https://github.com/dictionarry-hub/db/issues"
},
"profilarr": {
"minimum_version": "2.0.0"
}
}