The documentation here is for an unreleased version of Recyclarr.
Visit the documentation site for the Current Version instead.Custom Formats
| Service | Supported |
|---|---|
| Sonarr (v4) | |
| Radarr |
# See "Basic Setup" for `service_type` and `instance_name`
service_type:
instance_name:
# Custom Format Configuration
delete_old_custom_formats: false
custom_formats:
- trash_ids:
- ed38b889b31be83fda192888e2286d83 # BR-DISK
- 90cedc1fea7ea5d11298bebd3d1d3223 # EVO (no WEBDL)
- 90a6f9a284dff5103f6346090e6280c8 # LQ
- dc98083864ea246d05a42df0d05f81cc # x265 (720/1080p)
assign_scores_to:
- name: HD-1080p
- trash_id: 64fb5f9858489bdac2af690e27c8f42f # UHD Bluray + WEB
score: -1000
- trash_ids:
- 496f355514737f7d83bf7aa4d24f8169 # TrueHD ATMOS
- 2f22d89048b01681dde8afe203bf2e95 # DTS X
assign_scores_to:
- name: SD
# Custom Format Groups
# Default groups auto-sync when using guide-backed quality profiles.
# Use `skip` to opt-out, `add` to include non-default groups.
custom_format_groups:
skip:
- 9d5acd8f1da78dfbae788182f7605200 # Opt-out of Audio Formats
add:
- trash_id: f737e18b5824d6ebb2d57b957ae2fd6c # Streaming Services (UK)
- trash_id: 9d5acd8f1da78dfbae788182f7605200 # Customize Audio Formats
select:
- 7357cf5161efbf8c4d5d0c30b4815ee2 # Select specific CFs
Synchronization Behavior
Custom format synchronization is broken up into three categories:
- Creation: Custom formats that are in the guide but do not exist in the service are created.
- Updates: Custom formats that already exist in both the guide and the service but are different are updated.
- Deletions: If deletions are allowed by having the
delete_old_custom_formatsconfiguration setting set totrue, then custom formats in the service are deleted if they are removed from the guide or removed from your configuration file.
Recyclarr will never touch custom formats that you create by hand, unless they share a name with a custom format in the guide. In general, Recyclarr must have been the one to create a custom format in order to do anything to it (update or delete).
For details on how Recyclarr tracks custom formats it creates, see the Cache page.
delete_old_custom_formats
Optional. Default: false
If enabled, custom formats that you remove from your YAML configuration OR that are removed from the guide will be deleted from your Radarr instance.
This only applies to custom formats that Recyclarr has synchronized to Radarr. Custom formats that you have added manually in Radarr will not be deleted if you enable this setting.
custom_formats
Optional. Default: No custom formats are synced
A list of one or more sets of custom formats each with an optional set of quality profiles names that identify which quality profiles to assign the scores for those custom formats to. The child properties documented below apply to each element of this list.
trash_ids
Required.
A list of one or more Trash IDs of custom formats to synchronize. There are a couple of ways to
obtain Trash IDs (listed in order of preference below). The Trash ID itself is a hash of hexadecimal
characters, like 496f355514737f7d83bf7aa4d24f8169.
- Most custom format pages in the TRaSH Guides (like this one) have either tables (with a Trash ID column) or a expandable "JSON" section. You can use these to obtain the Trash ID value.
- From Recyclarr itself using the
list custom-formatscommand. - Taken from the value of the
"trash_id"property directly in the TRaSH Guide JSON files itself.
To ease the readability concerns of using IDs, leave a comment beside the Trash ID in your
configuration so it can be easily identified later. If you use list custom-formats,
comments are added for you. For example:
trash_ids:
- 5d96ce331b98e077abb8ceb60553aa16 # dovi
- a570d4a0e56a2874b64e5bfa55202a1b # flac
- If
delete_old_custom_formatsis set to true, custom formats are deleted in Radarr if you remove them from this list. - It's OK for the same custom format to exist in multiple lists of
trash_ids. Recyclarr will only ever synchronize it once. Allowing it to be specified multiple times allows you to assign it to different profiles with different scores.
assign_scores_to
Optional. Default: No quality profiles are changed
One or more quality profiles to update with the scores from the custom formats listed above. Scores
are taken from the guide by default, with an option to override the score for all of them. Profiles
can be referenced by name or trash_id. Each object in the list must use one of these properties
(but not both).
name
Conditionally Required. Required if trash_id is not specified.
The name of an existing quality profile. This name is not required to appear in the top-level
quality_profiles list. If the profile name specified here does not exist, an error will be
shown. If you want this profile to be created by Recyclarr, you must also add an entry for it in the
previously mentioned quality_profiles list.
trash_id
Conditionally Required. Required if name is not specified.
The trash ID of a guide-backed quality profile. Use this instead of name when
referencing profiles managed by Recyclarr through guide synchronization. This is useful because
guide-backed profile names may change with guide updates, while the trash ID remains stable.
score
Optional. Default: Use scores from the guide
A positive or negative number representing the score to apply to all custom formats listed in the
trash_ids list. A score of 0 is also acceptable, which effectively disables the custom formats
without having to delete them.
custom_format_groups
Optional. Default: Auto-sync default groups for guide-backed quality profiles
Controls which CF groups sync from the TRaSH Guides. Groups bundle related custom formats with guide-recommended scores.
Auto-sync: When you use a guide-backed quality profile, Recyclarr automatically
syncs groups that have default: true in the guide and include your profile in their compatibility
list. Use skip to opt-out of auto-synced groups; use add to include non-default groups or
customize which CFs sync.
See the CF Groups guide for usage patterns and examples.
skip
Optional. Default: No groups are skipped
A list of group trash IDs to exclude from auto-sync. Groups in this list are ignored even if they match your quality profiles.
If the same group appears in both skip and add, the explicit add entry takes precedence.
add
Optional. Default: No additional groups
A list of groups to explicitly sync. Use this to opt-in to non-default groups or customize a
default group's behavior (e.g., specify select to change which CFs sync).
trash_id
Required.
The trash ID of a custom format group from the TRaSH Guides. Group trash IDs can be discovered
using the list custom-format-groups command or found in the TRaSH Guide CF group
JSON files.
assign_scores_to
Optional. Default: All applicable guide-backed quality profiles
One or more quality profiles to assign the group's CF scores to. Only accepts trash_id references
to guide-backed quality profiles, not profile names.
When omitted, scores are assigned to guide-backed profiles in your configuration that the group
includes. Each group specifies compatible profiles—for example, HDR groups include only UHD
profiles. User-defined profiles (those with only a name) do not receive scores from groups.
Referencing a profile not in the group's include list results in a validation error.
trash_id
Required.
The trash ID of a guide-backed quality profile.
select
Optional. Default: Sync required and default CFs only
A list of CF trash IDs to select from this group. Only the listed CFs (plus required CFs) sync.
When a group contains mutually exclusive CFs, selecting a non-default CF automatically replaces the default.