Skip to content

Commit

Permalink
feat(Radarr): Add new Black and White Editions custom format (#2241)
Browse files Browse the repository at this point in the history
Add new Black and White Editions custom format for Radarr
- Create new Black and White Editions custom format JSON for Radarr
- Add a default score of -10000
- Add to all Radarr profile optional panels and profile JSON files
- Add to Radarr Collection of Custom Formats
  • Loading branch information
yammes08 authored Jan 26, 2025
1 parent cf01c79 commit bbdd57a
Show file tree
Hide file tree
Showing 10 changed files with 180 additions and 59 deletions.
83 changes: 50 additions & 33 deletions docs/Radarr/Radarr-collection-of-custom-formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,39 +95,40 @@ We've made 3 guides related to this.

---

| Miscellaneous | Language profiles |
| -------------------------------------- | ------------------------------------------------------------------ |
| [720p](#720p) | [Language: German](#language-german) |
| [1080p](#1080p) | [Language: German DL](#language-german-dl) |
| [2160p](#2160p) | [Language: German DL (undefined)](#language-german-dl-undefined) |
| [Bad Dual Groups](#bad-dual-groups) | [Language: Not English (English Only)](#language-not-english) |
| [Dutch Groups](#dutch-groups) | [Language: Not French (French Only)](#language-not-french) |
| [DV (Disk)](#dv-disk) | [Language: Not Original (Original Only)](#language-not-original) |
| [DV (WEBDL)](#dv-webdl) | [Language: Original + French](#language-original-plus-french) |
| [DV HDR10+ Boost](#dv-hdr10plus-boost) | [Language: Not German or English](#language-not-german-or-english) |
| [EVO (no WEBDL)](#evo-no-webdl) | |
| [FreeLeech](#freeleech) | |
| [HDR10+ Boost](#hdr10plus-boost) | |
| [HFR](#hfr) | |
| [Internal](#internal) | |
| [Line/Mic Dubbed](#linemic-dubbed) | |
| [MPEG2](#mpeg2) | |
| [Multi](#multi) | |
| [No-RlsGroup](#no-rlsgroup) | |
| [Obfuscated](#obfuscated) | |
| [Repack/Proper](#repackproper) | |
| [Repack2](#repack2) | |
| [Repack3](#repack3) | |
| [Retags](#retags) | |
| [Scene](#scene) | |
| [SDR (no WEBDL)](#sdr-no-webdl) | |
| [SDR](#sdr) | |
| [VC-1](#vc-1) | |
| [VP9](#vp9) | |
| [x264](#x264) | |
| [x265 (no HDR/DV)](#x265-no-hdrdv) | |
| [x265](#x265) | |
| [x266](#x266) | |
| Miscellaneous | Language profiles |
| ------------------------------------------------------ | ------------------------------------------------------------------ |
| [720p](#720p) | [Language: German](#language-german) |
| [1080p](#1080p) | [Language: German DL](#language-german-dl) |
| [2160p](#2160p) | [Language: German DL (undefined)](#language-german-dl-undefined) |
| [Bad Dual Groups](#bad-dual-groups) | [Language: Not English (English Only)](#language-not-english) |
| [Black and White Editions] (#black-and-white-editions) | [Language: Not French (French Only)](#language-not-french) |
| [Dutch Groups](#dutch-groups) | [Language: Not Original (Original Only)](#language-not-original) |
| [DV (Disk)](#dv-disk) | [Language: Original + French](#language-original-plus-french) |
| [DV (WEBDL)](#dv-webdl) | [Language: Not German or English](#language-not-german-or-english) |
| [DV HDR10+ Boost](#dv-hdr10plus-boost) | |
| [EVO (no WEBDL)](#evo-no-webdl) | |
| [FreeLeech](#freeleech) | |
| [HDR10+ Boost](#hdr10plus-boost) | |
| [HFR](#hfr) | |
| [Internal](#internal) | |
| [Line/Mic Dubbed](#linemic-dubbed) | |
| [MPEG2](#mpeg2) | |
| [Multi](#multi) | |
| [No-RlsGroup](#no-rlsgroup) | |
| [Obfuscated](#obfuscated) | |
| [Repack/Proper](#repackproper) | |
| [Repack2](#repack2) | |
| [Repack3](#repack3) | |
| [Retags](#retags) | |
| [Scene](#scene) | |
| [SDR (no WEBDL)](#sdr-no-webdl) | |
| [SDR](#sdr) | |
| [VC-1](#vc-1) | |
| [VP9](#vp9) | |
| [x264](#x264) | |
| [x265 (no HDR/DV)](#x265-no-hdrdv) | |
| [x265](#x265) | |
| [x266](#x266) | |

---

Expand Down Expand Up @@ -1164,6 +1165,22 @@ We've made 3 guides related to this.

---

### Black and White Editions

??? question "Black and White Editions - [Click to show/hide]"

Some movies get an additional release version in monochrome/black and white. This custom format matches some of the more common occurrences of these.

??? example "JSON - [Click to show/hide]"

```json
[[% filter indent(width=4) %]][[% include 'json/radarr/cf/black-and-white-editions.json' %]][[% endfilter %]]
```

<sub><sup>[TOP](#index)</sup></sub>

---

### DV (WEBDL)

<sub>DV = DoVi = Dolby Vision</sub>
Expand Down
5 changes: 5 additions & 0 deletions docs/json/radarr/cf-groups/misc-optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"trash_id": "b6832f586342ef70d9c128d40c07b872",
"required": false
},
{
"name": "Black and White Editions",
"trash_id": "cc444569854e9de0b084ab2b8b1532b2",
"required": false
},
{
"name": "EVO (no WEBDL)",
"trash_id": "90cedc1fea7ea5d11298bebd3d1d3223",
Expand Down
5 changes: 5 additions & 0 deletions docs/json/radarr/cf-groups/misc-uhd-optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"trash_id": "b6832f586342ef70d9c128d40c07b872",
"required": false
},
{
"name": "Black and White Editions",
"trash_id": "cc444569854e9de0b084ab2b8b1532b2",
"required": false
},
{
"name": "EVO (no WEBDL)",
"trash_id": "90cedc1fea7ea5d11298bebd3d1d3223",
Expand Down
5 changes: 5 additions & 0 deletions docs/json/radarr/cf-groups/sqp-1-1080p-misc-optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"trash_id": "b6832f586342ef70d9c128d40c07b872",
"required": false
},
{
"name": "Black and White Editions",
"trash_id": "cc444569854e9de0b084ab2b8b1532b2",
"required": false
},
{
"name": "EVO (no WEBDL)",
"trash_id": "90cedc1fea7ea5d11298bebd3d1d3223",
Expand Down
5 changes: 5 additions & 0 deletions docs/json/radarr/cf-groups/sqp-1-2160p-misc-optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"trash_id": "b6832f586342ef70d9c128d40c07b872",
"required": false
},
{
"name": "Black and White Editions",
"trash_id": "cc444569854e9de0b084ab2b8b1532b2",
"required": false
},
{
"name": "EVO (no WEBDL)",
"trash_id": "90cedc1fea7ea5d11298bebd3d1d3223",
Expand Down
5 changes: 5 additions & 0 deletions docs/json/radarr/cf-groups/sqp-2-3-4-5-misc-optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"trash_id": "b6832f586342ef70d9c128d40c07b872",
"required": false
},
{
"name": "Black and White Editions",
"trash_id": "cc444569854e9de0b084ab2b8b1532b2",
"required": false
},
{
"name": "EVO (no WEBDL)",
"trash_id": "90cedc1fea7ea5d11298bebd3d1d3223",
Expand Down
73 changes: 73 additions & 0 deletions docs/json/radarr/cf/black-and-white-editions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"trash_id": "cc444569854e9de0b084ab2b8b1532b2",
"trash_scores": {
"default": -10000
},
"name": "Black and White Editions",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "Blackout/B&W/Black&Chrome",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b((B(lack)?[ ._-]?(out|(and|[n&])[ ._-]?(W(hite)?|Chrome))))\\b(?!$)"
}
},
{
"name": "Monochrome",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(Monochrome)\\b(?!$)"
}
},
{
"name": "Noir",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "(?<=\\b[12]\\d{3}\\b).*\\b(Noir)\\b(?!$)"
}
},
{
"name": "Shush Cut",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(Shush[ ._-]?Cut)\\b(?!$)"
}
},
{
"name": "No/Minus Color",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b((No|Minus)[ ._-]?Colou?r)\\b(?!$)"
}
},
{
"name": "Grayscale",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "(?<=\\b[12]\\d{3}\\b).*\\b(Gr[ae]y([ ._-]?(scale))?)\\b(?!$)"
}
},
{
"name": "Darkness and Light",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(Darkness?[ ._-]?(and|&)[ ._-]?(Light))\\b(?!$)"
}
}
]
}
18 changes: 10 additions & 8 deletions includes/cf/radarr-misc-optional.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
??? abstract "Miscellaneous (Optional) - [Click to show/hide]"

| Custom Format | Score | Trash ID |
| ------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------: | ------------------------------------------------- |
| [{{ radarr['cf']['bad-dual-groups']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#bad-dual-groups) | {{ radarr['cf']['bad-dual-groups']['trash_scores']['default'] }} | {{ radarr['cf']['bad-dual-groups']['trash_id'] }} |
| [{{ radarr['cf']['evo-no-webdl']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#evo-no-webdl) | {{ radarr['cf']['evo-no-webdl']['trash_scores']['default'] }} | {{ radarr['cf']['evo-no-webdl']['trash_id'] }} |
| [{{ radarr['cf']['no-rlsgroup']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#no-rlsgroup) | {{ radarr['cf']['no-rlsgroup']['trash_scores']['default'] }} | {{ radarr['cf']['no-rlsgroup']['trash_id'] }} |
| [{{ radarr['cf']['obfuscated']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#obfuscated) | {{ radarr['cf']['obfuscated']['trash_scores']['default'] }} | {{ radarr['cf']['obfuscated']['trash_id'] }} |
| [{{ radarr['cf']['retags']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#retags) | {{ radarr['cf']['retags']['trash_scores']['default'] }} | {{ radarr['cf']['retags']['trash_id'] }} |
| [{{ radarr['cf']['scene']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#scene) | {{ radarr['cf']['scene']['trash_scores']['default'] }} | {{ radarr['cf']['scene']['trash_id'] }} |
| Custom Format | Score | Trash ID |
| ------------------------------------------------------------------------------------------------------------------------------- | :-----------------------------------------------------------------------: | ---------------------------------------------------------- |
| [{{ radarr['cf']['bad-dual-groups']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#bad-dual-groups) | {{ radarr['cf']['bad-dual-groups']['trash_scores']['default'] }} | {{ radarr['cf']['bad-dual-groups']['trash_id'] }} |
| [{{ radarr['cf']['black-and-white-editions']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#black-and-white-editions) | {{ radarr['cf']['black-and-white-editions']['trash_scores']['default'] }} | {{ radarr['cf']['black-and-white-editions']['trash_id'] }} |
| [{{ radarr['cf']['evo-no-webdl']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#evo-no-webdl) | {{ radarr['cf']['evo-no-webdl']['trash_scores']['default'] }} | {{ radarr['cf']['evo-no-webdl']['trash_id'] }} |
| [{{ radarr['cf']['no-rlsgroup']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#no-rlsgroup) | {{ radarr['cf']['no-rlsgroup']['trash_scores']['default'] }} | {{ radarr['cf']['no-rlsgroup']['trash_id'] }} |
| [{{ radarr['cf']['obfuscated']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#obfuscated) | {{ radarr['cf']['obfuscated']['trash_scores']['default'] }} | {{ radarr['cf']['obfuscated']['trash_id'] }} |
| [{{ radarr['cf']['retags']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#retags) | {{ radarr['cf']['retags']['trash_scores']['default'] }} | {{ radarr['cf']['retags']['trash_id'] }} |
| [{{ radarr['cf']['scene']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#scene) | {{ radarr['cf']['scene']['trash_scores']['default'] }} | {{ radarr['cf']['scene']['trash_id'] }} |

---

Breakdown and Why

- **{{ radarr['cf']['bad-dual-groups']['name'] }}:** [*Optional*] These groups take the original release and add their own language track (e.g. AAC 2.0 Portuguese) as the first track. Afterward, FFprobe would determine that the media file is Portuguese. It's a common rule that you only add the best audio as the main track.
Also they often even rename the release name into Portuguese.
- **{{ radarr['cf']['black-and-white-editions']['name'] }}:** [*Optional*] Some movies get an additional release version in monochrome/black and white. This custom format matches some of the more common occurrences of these.
- **{{ radarr['cf']['evo-no-webdl']['name'] }}:** This group is often banned for low-quality Blu-ray releases, but their WEB-DLs are okay.
- **{{ radarr['cf']['no-rlsgroup']['name'] }}:** [*Optional*] Some indexers strip out the release group which could result in LQ groups being scored incorrectly. For example, a lot of EVO releases end up with a stripped group name. These releases would appear as "upgrades" and could end up getting a decent score after other CFs are scored.
- **{{ radarr['cf']['obfuscated']['name'] }}:** [*Optional*] Use these only if you wish to avoid renamed releases.
Expand Down
Loading

0 comments on commit bbdd57a

Please sign in to comment.