mirror of
https://github.com/Dictionarry-Hub/database.git
synced 2026-03-15 09:30:08 -04:00
Compare commits
2 Commits
6cf87bbc03
...
e80eda25d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e80eda25d9 | ||
|
|
ce0b724728 |
68
ops/91.reduce-ma-score-on-1080p-and-below-profiles.sql
Normal file
68
ops/91.reduce-ma-score-on-1080p-and-below-profiles.sql
Normal 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
|
||||
21
ops/92.create-yawntic-regex.sql
Normal file
21
ops/92.create-yawntic-regex.sql
Normal 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
|
||||
Reference in New Issue
Block a user