Skip to content

Commit 6aa47d6

Browse files
committed
Add BakedFEL to 2160p Quality Tier 5
1 parent fa387df commit 6aa47d6

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
-- @operation: export
2+
-- @entity: batch
3+
-- @name: Add BakedFEL to 2160p Quality Tier 5
4+
-- @exportedAt: 2026-03-02T19:42:38.187Z
5+
-- @opIds: 1887, 1888, 1889
6+
7+
-- --- BEGIN op 1887 ( create regular_expression "BakedFEL" )
8+
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);
9+
10+
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
11+
12+
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('BakedFEL', 'Bluray');
13+
14+
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
15+
16+
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('BakedFEL', 'Release Group');
17+
-- --- END op 1887
18+
19+
-- --- BEGIN op 1888 ( update regular_expression "BakedFEL" )
20+
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])BakedFEL\b' where "name" = 'BakedFEL' and "pattern" = '(?<=^|[\s.-])4KDVS\b';
21+
-- --- END op 1888
22+
23+
-- --- BEGIN op 1889 ( update custom_format "2160p Quality Tier 5" )
24+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
25+
VALUES ('2160p Quality Tier 5', 'BakedFEL', 'release_group', 'all', 0, 0);
26+
27+
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('2160p Quality Tier 5', 'BakedFEL', 'BakedFEL');
28+
-- --- END op 1889

0 commit comments

Comments
 (0)