Merge pull request #433 from home1800/master

Update: Audio Flags: add Italian
pull/435/head
meisnate12 2 years ago committed by GitHub
commit 49e20b4d1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,8 @@
![image](https://user-images.githubusercontent.com/69302307/187302551-32c9d7f7-8915-450f-8b34-1f5d253499b4.png)
# Overlays #
## Audio Flags ##
![unknown](https://user-images.githubusercontent.com/69302307/185675737-3ad6f146-c457-4aa1-9790-ee4cfd95c870.png)
Mainly focused on combinations of english and/or german with a third language
First fork ever, so no clue if it'll work. I'm just gonna imitate everything everybody else is doing and hope for the best.
## Ratings non-250 ##
regular Ratings overlay but without the logo changing "250" if it's in IMDB's top 250. For that I have the banner

@ -1,8 +1,14 @@
# Language Flags #
# Audio Flags #
Always wanted Language Flags, now I've got them. Focused on German combinations mainly.
Always wanted Audio Language Flags, now I've got them. Focused on English and German combinations mainly.
Combinations up to three flags, won't do more to combat clutter. Also, I only need original language + german and optionally english if available.
## Setup ###
This config works by regex matching the filename and applying flags accordingly.
Requires {MediaInfo AudioLanguages} in radarr naming or manually add the languages in whatever standard radarr uses in '[]' braces.
## Supported Languages ##
- english
- german
@ -11,17 +17,21 @@ Combinations up to three flags, won't do more to combat clutter. Also, I only ne
- norwegian
- japanese
- french
- italian
## Supported combinations ##
### (single language) ###
- any language listed
### (dual language) ###
- english with every language listed
- german with every language listed
- english with any language listed
- german with any language listed
### (triple language) ###
- english + german + any third language
## Flags ##
wanted to automate the flag-combination generating to enable more combinations, but no willing to get into imagemagick at this moment
wanted to automate the flag-combination generating to enable more combinations, but no willing to get into imagemagick at this moment. I've created templates with gimp.
# Recent Ratings #

@ -100,6 +100,14 @@ overlays:
filter:
filepath.regex: .*\[JA\]\.*
it:
template:
- name: AudioLanguage
weight: 5
plex_all: true
filter:
filepath.regex: .*\[IT\]\.*
################################
@ -144,6 +152,14 @@ overlays:
filter:
filepath.regex: .*\[[A-Z+]*(ES|DE)[A-Z+]*(ES|DE)[A-Z+]*\]\.*
de+it:
template:
- name: AudioLanguage
weight: 10
plex_all: true
filter:
filepath.regex: .*\[[A-Z+]*(IT|DE)[A-Z+]*(IT|DE)[A-Z+]*\]\.*
################################
@ -196,6 +212,14 @@ overlays:
filter:
filepath.regex: .*\[[A-Z+]*(EN|ES)[A-Z+]*(EN|ES)[A-Z+]*\]\.*
us+it:
template:
- name: AudioLanguage
weight: 10
plex_all: true
filter:
filepath.regex: .*\[[A-Z+]*(EN|IT)[A-Z+]*(EN|IT)[A-Z+]*\]\.*
################################
# triple language (english + german + any)
@ -238,3 +262,11 @@ overlays:
plex_all: true
filter:
filepath.regex: .*\[[A-Z+]*(EN|ES|DE)[A-Z+]*(EN|ES|DE)[A-Z+]*(EN|ES|DE)[A-Z+]*\]\.*
us+de+it:
template:
- name: AudioLanguage
weight: 20
plex_all: true
filter:
filepath.regex: .*\[[A-Z+]*(EN|IT|DE)[A-Z+]*(EN|IT|DE)[A-Z+]*(EN|IT|DE)[A-Z+]*\]\.*

@ -1,2 +1,3 @@
cut together from the SVGs in the flag-originals folder.
will update them later on to be more pretty i guess.
You can create your own with the provided templates.

@ -1,10 +1,8 @@
# Original flag SVGs. #
if you want to make your own flag-combos, source the wanted flags from the repo below
if you want to make your own flag-combos, you can source the wanted flags from [this repo](https://github.com/lipis/flag-icons/tree/main/flags/4x3).
https://github.com/lipis/flag-icons/tree/main/flags/4x3
## Currently implemented ##
- english
- german
@ -13,3 +11,4 @@ https://github.com/lipis/flag-icons/tree/main/flags/4x3
- norwegian
- japanese
- french
- italian

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-it" viewBox="0 0 640 480">
<g fill-rule="evenodd" stroke-width="1pt">
<path fill="#fff" d="M0 0h640v480H0z"/>
<path fill="#009246" d="M0 0h213.3v480H0z"/>
<path fill="#ce2b37" d="M426.7 0H640v480H426.7z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Loading…
Cancel
Save