############################################################# # Audio Flag Overlay # # Created by home1800 # # based on PMM/overlays/audio_languages # ############################################################# # requires {MediaInfo AudioLanguages} in radarr naming # # or manually add the languages in whatever standard # # radarr uses in '[]' braces # # # # tested with Movies only # # # # Call this from your config.yml: # # If nothing is specified these are the defaults # # # # overlay_path: # # - git: home1800/overlays/audio_flags # # template_variables: # # # Set episode or season to overlay # # overlay_level: # # # Set the horizontal offset for the overlay # # horizontal_offset: 0 # # # Set the horizontal align for the overlay # # horizontal_align: center # # # Set the vertical offset for the overlay # # vertical_offset: 30 # # # Set the vertical align for the overlay # # vertical_align: bottom # ############################################################# templates: AudioLanguage: optional: - overlay_level default: overlay: <> horizontal_offset: 0 horizontal_align: center vertical_offset: 30 vertical_align: bottom collection_level: <> ignore_blank_results: true overlay: name: <> url: https://github.com/home1800/Plex-Meta-Manager-Configs/master/home1800/overlays/images/<> group: audio_language weight: <> horizontal_offset: <> horizontal_align: <> vertical_offset: <> vertical_align: <> overlays: # single language flags ger-audio: template: - name: AudioLanguage weight: 5 plex_all: true filter: filepath.regex: .*\[DE\]\.* spa-audio: template: - name: AudioLanguage weight: 5 plex_all: true filter: filepath.regex: .*\[ES\]\.* kor-audio: template: - name: AudioLanguage weight: 5 plex_all: true filter: filepath.regex: .*\[KO\]\.* nor-audio: template: - name: AudioLanguage weight: 5 plex_all: true filter: filepath.regex: .*\[NB\]\.* fr-audio: template: - name: AudioLanguage weight: 5 plex_all: true filter: filepath.regex: .*\[FR\]\.* ja-audio: template: - name: AudioLanguage weight: 5 plex_all: true filter: filepath.regex: .*\[JA\]\.* ################################ # dual language (german + any) ger+fr-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(FR|DE)[A-Z+]*(FR|DE)[A-Z+]*\]\.* ger+ja-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(JA|DE)[A-Z+]*(JA|DE)[A-Z+]*\]\.* ger+kor-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(KO|DE)[A-Z+]*(KO|DE)[A-Z+]*\]\.* ger+nor-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(NB|DE)[A-Z+]*(NB|DE)[A-Z+]*\]\.* ger+spa-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(ES|DE)[A-Z+]*(ES|DE)[A-Z+]*\]\.* ################################ # dual language (english + any) eng+ger-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|DE)[A-Z+]*(EN|DE)[A-Z+]*\]\.* eng+fr-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|FR)[A-Z+]*(EN|FR)[A-Z+]*\]\.* eng+ja-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|JA)[A-Z+]*(EN|JA)[A-Z+]*\]\.* eng+kor-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|KO)[A-Z+]*(EN|KO)[A-Z+]*\]\.* eng+nor-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|NB)[A-Z+]*(EN|NB)[A-Z+]*\]\.* eng+spa-audio: template: - name: AudioLanguage weight: 10 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|ES)[A-Z+]*(EN|ES)[A-Z+]*\]\.* ################################ # triple language (english + german + any) eng+ger+ja-audio: template: - name: AudioLanguage weight: 20 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|JA|DE)[A-Z+]*(EN|JA|DE)[A-Z+]*(EN|JA|DE)[A-Z+]*\]\.* eng+ger+fr-audio: template: - name: AudioLanguage weight: 20 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|FR|DE)[A-Z+]*(EN|FR|DE)[A-Z+]*(EN|FR|DE)[A-Z+]*\]\.* eng+ger+nor-audio: template: - name: AudioLanguage weight: 20 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|NB|DE)[A-Z+]*(EN|NB|DE)[A-Z+]*(EN|NB|DE)[A-Z+]*\]\.* eng+ger+kor-audio: template: - name: AudioLanguage weight: 20 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|KO|DE)[A-Z+]*(EN|KO|DE)[A-Z+]*(EN|KO|DE)[A-Z+]*\]\.* eng+ger+spa-audio: template: - name: AudioLanguage weight: 20 plex_all: true filter: filepath.regex: .*\[[A-Z+]*(EN|ES|DE)[A-Z+]*(EN|ES|DE)[A-Z+]*(EN|ES|DE)[A-Z+]*\]\.*