feat(sonarr): Add Single Episode and Multi-Episode CFs (#1873)

* feat(sonarr): Add Single Episode and Multi-Episode CFs

* Add version notes

* Apply suggestions from code review

Co-authored-by: zakary <zak@ary.dev>

* Lint

---------

Co-authored-by: zakary <zak@ary.dev>
Co-authored-by: nuxen <theonenuxen@proton.me>
pull/1930/head
owine 7 months ago committed by GitHub
parent d9b216846b
commit 155b561581
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1139,6 +1139,46 @@ We've made 3 guides related to this.
---
### Single Episode
!!! danger "WARNING"
- This CF utilizes functionality only available starting in Sonarr v4.0.2.1262.
??? question "Single Episode - [Click to show/hide]"
This Custom Format will recognize single-episode releases, instead of multi-episode or season packs, using Sonarr's built-in parser. Depending on your preference, you can give it a negative or positive score or skip adding it altogether.
??? example "JSON - [Click to show/hide]"
```json
[[% filter indent(width=4) %]][[% include 'json/sonarr/cf/single-episode.json' %]][[% endfilter %]]
```
<sub><sup>[TOP](#index)</sup>
---
### Multi-Episode
!!! danger "WARNING"
- This CF utilizes functionality only available in Sonarr v4.0.2.1262 or later.
??? question "Multi-Episode - [Click to show/hide]"
This Custom Format will recognize multi-episode releases (e.g. episodes named with 'S01E01E02'), instead of single-episode or season packs, using Sonarr's built-in parser. Depending on your preference, you can give it a negative or positive score or skip adding it altogether.
??? example "JSON - [Click to show/hide]"
```json
[[% filter indent(width=4) %]][[% include 'json/sonarr/cf/multi-episode.json' %]][[% endfilter %]]
```
<sub><sup>[TOP](#index)</sup>
---
### Season Pack
!!! danger "WARNING"

@ -0,0 +1,16 @@
{
"trash_id": "4a20cfb76b5f92a8ca22b894b32e71be",
"name": "Multi-Episode",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "Multi-Episode",
"implementation": "ReleaseTypeSpecification",
"negate": false,
"required": false,
"fields": {
"value": 2
}
}
]
}

@ -0,0 +1,16 @@
{
"trash_id": "e0c1a67f23908a55b6ae9834e8ed6727",
"name": "Single Episode",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "Single Episode",
"implementation": "ReleaseTypeSpecification",
"negate": false,
"required": false,
"fields": {
"value": 1
}
}
]
}
Loading…
Cancel
Save