feat(guide): Starr language tips add German dual and multi (#1880)

* feat(guide): Starr language tips add German dual and multi

* fixed: url redirect failure

* Apply suggestions from code review

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

* Update docs/Radarr/Tips/How-to-setup-language-custom-formats.md

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

* Apply suggestions from code review

Co-authored-by: nuxen <theonenuxen@proton.me>

---------

Co-authored-by: zakary <zak@ary.dev>
Co-authored-by: nuxen <theonenuxen@proton.me>
pull/1936/head
TRaSH 6 months ago committed by GitHub
parent 8cafe20ba3
commit c58c9ea370
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -32,6 +32,10 @@ Add the following json to your Radarr/Sonarr with a score in your profile of `-1
[[% filter indent(width=4) %]][[% include 'json/guide-only/language-not-original.json' %]][[% endfilter %]] [[% filter indent(width=4) %]][[% include 'json/guide-only/language-not-original.json' %]][[% endfilter %]]
``` ```
!!! tip
Don't forget to take a look at [Language Special Cases](/Radarr/Tips/How-to-setup-language-custom-formats/#language-special-cases)
--- ---
### Language: English Only ### Language: English Only
@ -52,6 +56,10 @@ Add the following json to your Radarr/Sonarr with a score in your profile of `-1
[[% filter indent(width=4) %]][[% include 'json/guide-only/language-not-english.json' %]][[% endfilter %]] [[% filter indent(width=4) %]][[% include 'json/guide-only/language-not-english.json' %]][[% endfilter %]]
``` ```
!!! tip
Don't forget to take a look at [Language Special Cases](/Radarr/Tips/How-to-setup-language-custom-formats/#language-special-cases)
--- ---
### Language: Multiple Only ### Language: Multiple Only
@ -80,8 +88,8 @@ Add the following json to your Radarr/Sonarr with a score in your profile of `-1
### Language: Prefer X but i'll take Y ### Language: Prefer X but i'll take Y
<sub><sub>Language: Not Original or German</sub> <sub><sub>Language: Not Original or German<br>
<sub><sub>Language: Prefer German</sub> Language: Prefer German</sub>
Let's say you want German, but if German is not available then fall back to Original language but don't accept any other translated languages. Let's say you want German, but if German is not available then fall back to Original language but don't accept any other translated languages.
@ -103,6 +111,10 @@ Add the following json to your Radarr/Sonarr with a score in your profile of `10
[[% filter indent(width=4) %]][[% include 'json/guide-only/language-prefer-german.json' %]][[% endfilter %]] [[% filter indent(width=4) %]][[% include 'json/guide-only/language-prefer-german.json' %]][[% endfilter %]]
``` ```
!!! tip
Don't forget to take a look at [Language Special Cases](/Radarr/Tips/How-to-setup-language-custom-formats/#language-special-cases)
--- ---
### Language: Prefer Language X ### Language: Prefer Language X
@ -121,6 +133,10 @@ Add the following json to your Radarr/Sonarr with a score in your profile of `10
[[% filter indent(width=4) %]][[% include 'json/guide-only/language-prefer-german.json' %]][[% endfilter %]] [[% filter indent(width=4) %]][[% include 'json/guide-only/language-prefer-german.json' %]][[% endfilter %]]
``` ```
!!! tip
Don't forget to take a look at [Language Special Cases](/Radarr/Tips/How-to-setup-language-custom-formats/#language-special-cases)
--- ---
### Language: Prefer Multi Language ### Language: Prefer Multi Language
@ -145,6 +161,28 @@ Add the following json to your Radarr/Sonarr with a score in your profile of `10
--- ---
## Language Special Cases
Here we will add special cases that often are related to specific languages.
example: German Dual Language and/or Multi-language releases
!!! info "In general, Dual/Multi in a release title stands for original language (*movies/show original language*) + foreign language(s). Which audio track is used for the first track isn't always known based solely on the naming."
### Language: German + Original
This Custom Format can be used in two ways:
- If you **DON'T WANT** your media file to have a German audio track included, add this Custom Format with a score of `-10000`.
- If you **PREFER** your media file to have a German audio track included, add this Custom Format with a positive score.
<sub><sub>Language: German Dual Language</sub>
??? example "JSON - [Click to show/hide]"
```json
[[% filter indent(width=4) %]][[% include 'json/guide-only/language-german-and-original.json' %]][[% endfilter %]]
```
## FAQ & INFO ## FAQ & INFO
### What's reverse scoring ### What's reverse scoring

@ -0,0 +1,38 @@
{
"trash_id": "guide-only",
"trash_scores": {
"default": -10000
},
"trash_description": "Language: German Dual and Multi language releases",
"name": "Language: German + Original",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "German",
"implementation": "LanguageSpecification",
"negate": false,
"required": true,
"fields": {
"value": 4
}
},
{
"name": "DL",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "(?<!WEB[-_. ]?)\\b(DL)\\b"
}
},
{
"name": "ML",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(ML)\\b"
}
}
]
}
Loading…
Cancel
Save