Skip to content

Create Quality Profiles and Quality Profile Groups with Recyclarr #144

Description

@voltron4lyfe

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

To implement the TRaSH guidance, you need to manually configure Quality Profiles, group and order Qualities, and ensure cutoff scores, desired languages, etc... are all configured correctly. This setup is error prone and tedious to keep up-to-date when you have multiple Radarr/Sonnar instances and want to have "!" versions of profiles to keep the two instances in sync.

The proposal is to add "Quality Profile" and "Quality Group" definition to the yml config.

The suggested behavior:

  1. The quality profiles are "declarative". Meaning the groups for the quality profile will be erased and re-created per the Recyclarr config. This is similar behavior toreset_unmatched_scores and delete_old_custom_formats. If a property is not defined in the quality_profile config (e.g. language), then the property will not be updated or, when creating, will be set to the Radarr/Sonarr default is. The quality profile itself must not be deleted as that would change the quality profile's id which would break lists and other functions.
  2. If a quality profile doesn't exist then it will be created.
  3. Any quality profiles that not defined in the recyclarr configs will not be deleted or updated.

Example:

radarr:
  quality_groups:
    - name: "Bluray|WEB-1080p"
      qualities:
        - "Bluray-1080p"
        - "WEBRip-1080p"
        - "WEBDL-1080p"
        - "Bluray-720p"
    - name: "WEB 720p"
      qualities: 
        - "WEBRip-720p"
        - "WEBDL-720p"
  
  quality_profiles:
    - name: "SQP-1"
      language: Original
      upgrades_allowed: True
      upgrade_until: "Bluray|WEB-1080P"
      minimum_cf_score: 10
      upgrade_until_cf: 10000
      qualities:
        - Bluray|WEB-1080p
        - WEB 720p

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions