chore: Schema change for quality profiles

pull/201/head
Robert Dailey 1 year ago
parent d6cbc9652c
commit 11a5a56ff8

@ -97,11 +97,6 @@
"score": {
"type": "integer",
"description": "A positive or negative number representing the score to apply to *all* custom formats listed in the trash_ids list."
},
"reset_unmatched_scores": {
"type": "boolean",
"description": "If set to true, enables setting scores to 0 in quality profiles where either a CF was not mentioned in the trash_ids array or it was in that list but did not get a score (e.g. no score in guide).",
"default": false
}
}
}
@ -125,6 +120,25 @@
}
}
},
"quality_profiles": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["name"],
"properties": {
"name": {
"type": "string"
},
"reset_unmatched_scores": {
"type": "boolean",
"description": "If set to true, enables setting scores to 0 in quality profiles where either a CF was not mentioned in the trash_ids array or it was in that list but did not get a score (e.g. no score in guide).",
"default": false
}
}
}
},
"radarr_instance": {
"type": "object",
"additionalProperties": false,
@ -146,6 +160,9 @@
"quality_definition": {
"$ref": "#/$defs/quality_definition"
},
"quality_profiles": {
"$ref": "#/$defs/quality_profiles"
},
"delete_old_custom_formats": {
"$ref": "#/$defs/delete_old_custom_formats"
},
@ -178,6 +195,9 @@
"quality_definition": {
"$ref": "#/$defs/quality_definition"
},
"quality_profiles": {
"$ref": "#/$defs/quality_profiles"
},
"delete_old_custom_formats": {
"$ref": "#/$defs/delete_old_custom_formats"
},

Loading…
Cancel
Save