diff --git a/CHANGELOG.md b/CHANGELOG.md index 8baf3709..9565e549 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `base_url` and `api_key` are now optional. These can be implicitly set via secrets that follow a naming convention. See the Secrets reference page on the wiki for details. +- Quality Profiles can now be created & synced to Radarr, Sonarr v3, and Sonarr v4. ### Changed diff --git a/schemas/config-schema.json b/schemas/config-schema.json index b38e9871..f6be283c 100644 --- a/schemas/config-schema.json +++ b/schemas/config-schema.json @@ -100,6 +100,7 @@ }, "quality_profiles": { "type": "array", + "description": "An array of quality profiles that exist in the remote service along with any configuration properties that Recyclarr should use to modify that quality profile.", "minItems": 1, "items": { "type": "object", @@ -107,12 +108,58 @@ "required": ["name"], "properties": { "name": { - "type": "string" + "type": "string", + "description": "The name of the quality profile to which settings should apply" }, "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 + }, + "upgrades_allowed": { + "type": "object", + "additionalProperties": false, + "required": ["until_quality"], + "properties": { + "until_quality": { + "type": "string" + }, + "until_score": { + "type": "number" + } + } + }, + "min_format_score": { + "type": "number" + }, + "quality_sort": { + "enum": ["bottom", "top"], + "default": "top" + }, + "qualities": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "required": ["name"], + "properties": { + "name": { + "type": "string" + }, + "enabled": { + "type": "boolean", + "default": true + }, + "qualities": { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + } + } + } } } } diff --git a/src/.idea/.idea.Recyclarr/.idea/runConfigurations/sync___preview.xml b/src/.idea/.idea.Recyclarr/.idea/runConfigurations/sync___preview.xml index ee8b1a4e..5c7f4707 100644 --- a/src/.idea/.idea.Recyclarr/.idea/runConfigurations/sync___preview.xml +++ b/src/.idea/.idea.Recyclarr/.idea/runConfigurations/sync___preview.xml @@ -1,7 +1,7 @@