diff --git a/ops/104.change-imf-condition-name-to-match-upstream.sql b/ops/104.change-imf-condition-name-to-match-upstream.sql new file mode 100644 index 0000000..fb5e9df --- /dev/null +++ b/ops/104.change-imf-condition-name-to-match-upstream.sql @@ -0,0 +1,22 @@ +-- @operation: export +-- @entity: batch +-- @name: Change IMF Condition Name to Match Upstream +-- @exportedAt: 2026-10-15T22:53:03.140Z +-- @opIds: 15056, 15057 + +-- --- BEGIN op 15056 ( update custom_format "IMF" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = 'IMF' + AND name = 'IMF' + AND type = 'release_title' + AND arr_type = 'radarr' + AND negate = 0 + AND required = 1; +-- --- END op 15056 + +-- --- BEGIN op 15057 ( update custom_format "IMF" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('IMF', 'Interoperable Master Format', 'release_title', 'radarr', 0, 1); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('IMF', 'Interoperable Master Format', 'Interoperable Master Format'); +-- --- END op 15057