docs(wiki): Change Radarr CF names to trash_id (#108)

pull/113/head
snoopy82481 2 years ago committed by GitHub
parent 1b9c407d97
commit 43ee3b2de7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -137,21 +137,21 @@ radarr:
custom_formats: custom_formats:
# Advanced Audio from the guide # Advanced Audio from the guide
- names: - trash_ids:
- TrueHD ATMOS - 496f355514737f7d83bf7aa4d24f8169 #TrueHD ATMOS
- DTS X - 2f22d89048b01681dde8afe203bf2e95 #DTS X
- ATMOS (undefined) - 417804f7f2c4308c1f4c5d380d4c4475 #ATMOS (undefined)
- DD+ ATMOS - 1af239278386be2919e1bcee0bde047e #DD+ ATMOS
- TrueHD - 3cafb66171b47f226146a0770576870f #TrueHD
- DTS-HD MA - dcf3ec6938fa32445f590a4da84256cd #DTS-HD MA
- FLAC - a570d4a0e56a2874b64e5bfa55202a1b #FLAC
- PCM - e7c2fcae07cbada050a0af3357491d7b #PCM
- DTS-HD HRA - 8e109e50e0a0b83a5098b056e13bf6db #DTS-HD HRA
- DD+ - 185f1dd7264c4562b9022d963ac37424 #DD+
- DTS-ES - f9f847ac70a0af62ea4a08280b859636 #DTS-ES
- DTS - 1c1a4c5e823891c75bc50380a6866f73 #DTS
- AAC - 240770601cc226190c367ef59aba7463 #AAC
- DD - c2998bd0d90ed5621d8df281e839436e #DD
quality_profiles: quality_profiles:
- name: SD - name: SD
``` ```
@ -170,27 +170,27 @@ radarr:
api_key: 87674e2c316645ed85696a91a3d41988 api_key: 87674e2c316645ed85696a91a3d41988
custom_formats: custom_formats:
- names: [TrueHD ATMOS] - trash_ids: [496f355514737f7d83bf7aa4d24f8169 #TrueHD ATMOS]
quality_profiles: quality_profiles:
- name: SD - name: SD
score: 100 score: 100
- names: [DTS X] - trash_ids: [2f22d89048b01681dde8afe203bf2e95 #DTS X]
quality_profiles: quality_profiles:
- name: SD - name: SD
score: 200 score: 200
- names: [ATMOS (undefined)] - trash_ids: [417804f7f2c4308c1f4c5d380d4c4475 #ATMOS (undefined)]
quality_profiles: quality_profiles:
- name: SD - name: SD
score: 300 score: 300
- names: [TrueHD] - trash_ids: [3cafb66171b47f226146a0770576870f #TrueHD]
quality_profiles: quality_profiles:
- name: SD - name: SD
score: 400 score: 400
- names: [DTS-HD MA] - trash_ids: [dcf3ec6938fa32445f590a4da84256cd #DTS-HD MA]
quality_profiles: quality_profiles:
- name: SD - name: SD
score: 500 score: 500
- names: [FLAC] - trash_ids: [a570d4a0e56a2874b64e5bfa55202a1b #FLAC]
quality_profiles: quality_profiles:
- name: SD - name: SD
score: 600 score: 600
@ -210,12 +210,12 @@ radarr:
api_key: 87674e2c316645ed85696a91a3d41988 api_key: 87674e2c316645ed85696a91a3d41988
custom_formats: custom_formats:
- names: - trash_ids:
- TrueHD ATMOS - 496f355514737f7d83bf7aa4d24f8169 #TrueHD ATMOS
- DTS X - 2f22d89048b01681dde8afe203bf2e95 #DTS X
- ATMOS (undefined) - 417804f7f2c4308c1f4c5d380d4c4475 #ATMOS (undefined)
- DD+ ATMOS - 1af239278386be2919e1bcee0bde047e #DD+ ATMOS
- TrueHD - 3cafb66171b47f226146a0770576870f #TrueHD
quality_profiles: quality_profiles:
- name: SD - name: SD
- name: Ultra-HD - name: Ultra-HD
@ -232,55 +232,18 @@ radarr:
api_key: 87674e2c316645ed85696a91a3d41988 api_key: 87674e2c316645ed85696a91a3d41988
custom_formats: custom_formats:
- names: - trash_ids:
- TrueHD ATMOS - 496f355514737f7d83bf7aa4d24f8169 #TrueHD ATMOS
- DTS X - 2f22d89048b01681dde8afe203bf2e95 #DTS X
- ATMOS (undefined) - 417804f7f2c4308c1f4c5d380d4c4475 #ATMOS (undefined)
- DD+ ATMOS - 1af239278386be2919e1bcee0bde047e #DD+ ATMOS
- TrueHD - 3cafb66171b47f226146a0770576870f #TrueHD
quality_profiles: quality_profiles:
- name: SD - name: SD
score: 100 # This score is assigned to all 5 CFs in this profile score: 100 # This score is assigned to all 5 CFs in this profile
- name: Ultra-HD # Still uses scores from the guide - name: Ultra-HD # Still uses scores from the guide
``` ```
## Resolving ambiguity between custom formats with the same name
Normally when you want a custom format, you list it by name under the `names` property, like so:
```yml
radarr:
- base_url: http://localhost:7878
api_key: 87674e2c316645ed85696a91a3d41988
custom_formats:
- names:
- FLAC
- DoVi
```
However, especially in the case of DoVi, there are actually two custom formats with this name in the
guide. You'll get a warning from Recyclarr stating that it couldn't pick which one you wanted, so it
was skipped. To fix this, simply use `trash_ids` and refer to it by an ID. IDs are never duplicated
in the guide and also never change, so it's a robust and effective way to identify custom formats.
The downside is that they are less readable than a name, but using comments can help with that. The
example below demonstrates how to do this.
```yml
radarr:
- base_url: http://localhost:7878
api_key: 87674e2c316645ed85696a91a3d41988
custom_formats:
- names:
- FLAC
- trash_ids:
- 5d96ce331b98e077abb8ceb60553aa16 # DoVi
```
Where do you get the Trash ID? That's from the `"trash_id"` property of the actual JSON for the
custom format in the guide.
## Scores in a quality profile should be set to zero if it wasn't listed in config ## Scores in a quality profile should be set to zero if it wasn't listed in config
Scenario: *"I completely rely on Recyclarr to set scores on my quality profiles. I never plan to Scenario: *"I completely rely on Recyclarr to set scores on my quality profiles. I never plan to
@ -293,9 +256,9 @@ radarr:
api_key: 87674e2c316645ed85696a91a3d41988 api_key: 87674e2c316645ed85696a91a3d41988
custom_formats: custom_formats:
- names: - trash_ids:
- DTS X - 2f22d89048b01681dde8afe203bf2e95 #DTS X
- TrueHD - 3cafb66171b47f226146a0770576870f #TrueHD
quality_profiles: quality_profiles:
- name: SD - name: SD
reset_unmatched_scores: true reset_unmatched_scores: true
@ -303,7 +266,7 @@ radarr:
``` ```
Let's say you have three custom formats added to Radarr: "DTS X", "TrueHD", and "DoVi". Since only Let's say you have three custom formats added to Radarr: "DTS X", "TrueHD", and "DoVi". Since only
the first two are listed in the `names` array, what happens to "DoVi"? Since two quality profiles the first two are listed in the `trash_ids` array, what happens to "DoVi"? Since two quality profiles
are specified above, each with a different setting for `reset_unmatched_scores`, the behavior will are specified above, each with a different setting for `reset_unmatched_scores`, the behavior will
be different: be different:
@ -311,7 +274,7 @@ be different:
- The `Ultra-HD` profile's score for "DoVi" will never be altered. - The `Ultra-HD` profile's score for "DoVi" will never be altered.
The `reset_unmatched_scores` setting basically determines how scores are handled for custom formats The `reset_unmatched_scores` setting basically determines how scores are handled for custom formats
that exist in Radarr but are not in the list of `names` in config. As shown in the example above, that exist in Radarr but are not in the list of `trash_ids` in config. As shown in the example above,
you set it to `true` which results in unmatched scores being set to `0`, or you can set it to you set it to `true` which results in unmatched scores being set to `0`, or you can set it to
`false` (or leave it omitted) in which case Recyclarr will not alter the value. `false` (or leave it omitted) in which case Recyclarr will not alter the value.

@ -150,19 +150,24 @@ radarr:
# Custom Format Settings # Custom Format Settings
delete_old_custom_formats: false delete_old_custom_formats: false
custom_formats: custom_formats:
- names: - trash_ids:
- BR-DISK - ed38b889b31be83fda192888e2286d83 #BR-DISK
- EVO (no WEB-DL) - 90cedc1fea7ea5d11298bebd3d1d3223 #EVO (no WEBDL)
- LQ - 90a6f9a284dff5103f6346090e6280c8 #LQ
- x265 (720/1080p) - dc98083864ea246d05a42df0d05f81cc #x265 (720/1080p)
- 3D - b8cd450cbfa689c0259a01d9e29ba3d6 #3D
- ae9b7c9ebde1f3bd336a8cbd1ec4c5e5 #No-RlsGroup
- 7357cf5161efbf8c4d5d0c30b4815ee2 #Obfuscated
- 5c44f52a8714fdd79bb4d98e2673be1f #Retags
- b6832f586342ef70d9c128d40c07b872 #Bad Dual Groups
- 923b6abef9b17f937fab56cfcf89e1f1 #DV (WEBDL)
quality_profiles: quality_profiles:
- name: HD-1080p - name: HD-1080p
- name: HD-720p2 - name: HD-720p2
score: -1000 score: -1000
- names: - trash_ids:
- TrueHD ATMOS - 496f355514737f7d83bf7aa4d24f8169 #TrueHD ATMOS
- DTS X - 2f22d89048b01681dde8afe203bf2e95 #DTS X
quality_profiles: quality_profiles:
- name: SD - name: SD
``` ```

Loading…
Cancel
Save