Skip to content

Commit 6be9367

Browse files
committed
Tweak HDR10 (Missing) CF
1 parent 8291ae7 commit 6be9367

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

ops/115.tweak-hdr10-missing-cf.sql

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
-- @operation: export
2+
-- @entity: batch
3+
-- @name: Tweak HDR10 (Missing) CF
4+
-- @exportedAt: 2026-04-05T22:28:10.249Z
5+
-- @opIds: 4149, 4150, 4151
6+
7+
-- --- BEGIN op 4149 ( update custom_format "HDR10 (Missing)" )
8+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
9+
VALUES ('HDR10 (Missing)', 'Bluray 2', 'source', 'sonarr', 0, 0);
10+
11+
INSERT INTO condition_sources (custom_format_name, condition_name, source) VALUES ('HDR10 (Missing)', 'Bluray 2', 'bluray');
12+
-- --- END op 4149
13+
14+
-- --- BEGIN op 4150 ( update custom_format "HDR10 (Missing)" )
15+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
16+
VALUES ('HDR10 (Missing)', 'Remux', 'source', 'sonarr', 0, 0);
17+
18+
INSERT INTO condition_sources (custom_format_name, condition_name, source) VALUES ('HDR10 (Missing)', 'Remux', 'bluray_raw');
19+
-- --- END op 4150
20+
21+
-- --- BEGIN op 4151 ( update custom_format "HDR10 (Missing)" )
22+
UPDATE custom_format_conditions
23+
SET arr_type = 'radarr'
24+
WHERE custom_format_name = 'HDR10 (Missing)'
25+
AND name = 'Bluray'
26+
AND type = 'source'
27+
AND arr_type = 'all'
28+
AND negate = 0
29+
AND required = 1;
30+
-- --- END op 4151

0 commit comments

Comments
 (0)