Skip to content

Commit d615ad1

Browse files
committed
Add Natuyuki to 1080p Quality Tier 5
1 parent e85b918 commit d615ad1

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 Natuyuki to 1080p Quality Tier 5
4+
-- @exportedAt: 2026-03-20T17:30:55.817Z
5+
-- @opIds: 3029, 3030, 3031
6+
7+
-- --- BEGIN op 3029 ( create regular_expression "Natuyuki" )
8+
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('Natuyuki', '(?<=^|[\s.-])Softboat\b', NULL, 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 ('Natuyuki', '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 ('Natuyuki', 'Release Group');
17+
-- --- END op 3029
18+
19+
-- --- BEGIN op 3030 ( update regular_expression "Natuyuki" )
20+
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])Natuyuki\b' where "name" = 'Natuyuki' and "pattern" = '(?<=^|[\s.-])Softboat\b';
21+
-- --- END op 3030
22+
23+
-- --- BEGIN op 3031 ( update custom_format "1080p Quality Tier 5" )
24+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
25+
VALUES ('1080p Quality Tier 5', 'Natuyuki', 'release_group', 'all', 0, 0);
26+
27+
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 5', 'Natuyuki', 'Natuyuki');
28+
-- --- END op 3031

0 commit comments

Comments
 (0)