From 2e00c29328d8f057f90fe551bf6ea2f69ec5ae67 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Mon, 28 Sep 2026 23:50:28 +0000 Subject: [PATCH] Add ProRes Negation to Efficient CFs --- ...9.add-prores-negation-to-efficient-cfs.sql | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ops/359.add-prores-negation-to-efficient-cfs.sql diff --git a/ops/359.add-prores-negation-to-efficient-cfs.sql b/ops/359.add-prores-negation-to-efficient-cfs.sql new file mode 100644 index 00000000..748808c1 --- /dev/null +++ b/ops/359.add-prores-negation-to-efficient-cfs.sql @@ -0,0 +1,36 @@ +-- @operation: export +-- @entity: batch +-- @name: Add ProRes Negation to Efficient CFs +-- @exportedAt: 2026-09-28T23:50:25.811Z +-- @opIds: 14625, 14626, 14627, 14628 + +-- --- BEGIN op 14625 ( update custom_format "1080p WEB-DL (Efficient)" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('1080p WEB-DL (Efficient)', 'Not ProRes', 'release_title', 'all', 1, 1); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p WEB-DL (Efficient)', 'Not ProRes', 'ProRes'); +-- --- END op 14625 + +-- --- BEGIN op 14626 ( update custom_format "1080p WEB-DL (Efficient)" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = '1080p WEB-DL (Efficient)' + AND name = 'Not ProRes' + AND type = 'release_title' + AND arr_type = 'all' + AND negate = 1 + AND required = 1; +-- --- END op 14626 + +-- --- BEGIN op 14627 ( update custom_format "1080p WEB-DL (Efficient)" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('1080p WEB-DL (Efficient)', 'ProRes', 'release_title', 'all', 1, 1); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p WEB-DL (Efficient)', 'ProRes', 'ProRes'); +-- --- END op 14627 + +-- --- BEGIN op 14628 ( update custom_format "2160p WEB-DL (Efficient)" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('2160p WEB-DL (Efficient)', 'ProRes', 'release_title', 'all', 1, 1); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('2160p WEB-DL (Efficient)', 'ProRes', 'ProRes'); +-- --- END op 14628