Compare commits

..

17 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
18 changed files with 8585 additions and 27 deletions

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"
}
}