hdolimpo: improve language parsing for radarr (#12875)

This commit is contained in:
Diego Heras 2022-01-23 12:02:08 +01:00 committed by GitHub
parent 29e752bdec
commit 52e95476c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -101,6 +101,8 @@ search:
args: ["[ -](?i)spa[ -]", " SPANiSH "]
- name: re_replace
args: ["[ -](?i)esp[ -]", " SPANiSH "]
- name: re_replace
args: [" ES ", " SPANiSH "]
- name: re_replace
args: ["[ -](?i)ingl[eé]s[ -]", " English "]
- name: re_replace
@ -120,9 +122,13 @@ search:
- name: re_replace
args: ["[ -](?i)ger[ -]", " German "]
- name: re_replace
args: ["(?i)(triaudio)", "MULTi/SPANiSH/English"]
args: ["(?i)(triaudio)", "MULTi SPANiSH English"]
- name: re_replace
args: ["(?i)(dual)", " MULTi/SPANiSH "]
args: ["(?i)(dual)", " MULTi SPANiSH "]
- name: re_replace
args: ["(?i)(es-en)", " MULTi SPANiSH "]
- name: re_replace
args: ["(?i)(en-es)", " MULTi SPANiSH "]
- name: re_replace
args: ["\\.+", "."] # More than 1 dot -> .
- name: re_replace