-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Configure MinUpgradeFormatScore in sonarr_quality_profile Module #86
Comments
Worth mentioning that |
Hi @gsymeoni, sorry for my late reply. The issue is already highlighted in #85's tests. It's related to an API change on Sonarr's side. I'll have to merge devopsarr/sonarr-py#77, then I can add the new field. |
Hi @Fuochi thank you for your reply and for working on the update! I appreciate your help |
Hi @gsymeoni, could you please try version 1.3.0? be aware that you should also update sonarr-py to 1.1.0 |
Issue Description:
The Sonarr API for creating a quality profile differentiates between two fields:
MinFormatScore
MinUpgradeFormatScore
The module
devopsarr.sonarr.sonarr_quality_profile
exposes a parametermin_format_score
, which maps to the Sonarr API'sMinFormatScore
. However, the API'sMinUpgradeFormatScore
field is not exposed by the module, and defaults to 0, which is not a valid value according to the Sonarr API validation. This leads to errors when creating a quality profile."'Min Upgrade Format Score' must be greater than or equal to '1'."
Steps to Reproduce
Use the
sonarr_quality_profile
module:Attempt to create the quality profile.
Observe the error about
MinUpgradeFormatScore
needing to be at least 1Environment
The text was updated successfully, but these errors were encountered: