diff --git a/home1800/README.md b/home1800/README.md new file mode 100644 index 0000000..5f84656 --- /dev/null +++ b/home1800/README.md @@ -0,0 +1,4 @@ +## Audio Flags ## +![unknown](https://user-images.githubusercontent.com/69302307/185675737-3ad6f146-c457-4aa1-9790-ee4cfd95c870.png) + +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. diff --git a/home1800/overlays/README.md b/home1800/overlays/README.md new file mode 100644 index 0000000..197b5c1 --- /dev/null +++ b/home1800/overlays/README.md @@ -0,0 +1,34 @@ +# Language Flags # + +Always wanted Language Flags, now I've got them. Focused on 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. + +## Supported Languages ## +- english +- german +- korean +- spanish +- norwegian +- japanese +- french + +## Supported combinations ## +### (dual language) ### +- english with every language listed +- german with every 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 + +# Recent Ratings # + +To combat clutter, I wanted to only display ratings for the most recently added. +It's basically the same as the [PMM ratings config](https://github.com/meisnate12/Plex-Meta-Manager-Configs/blob/master/PMM/overlays/ratings.yml) but added a recently added filter. Defaults to 30 days. + +# Ratings - no 250 # + +same ratings config as in the [PMM repo](https://github.com/meisnate12/Plex-Meta-Manager-Configs/blob/master/PMM/overlays/ratings.yml), difference being that it won't change the icon if it's IMdb's top 250. +I did this because I already have the [250 corner banner](https://github.com/meisnate12/Plex-Meta-Manager-Configs/blob/master/PMM/overlays/imdb_top_250.yml), so having it twice would be redundant and wouldn't look nice. diff --git a/home1800/overlays/audio_flags.yml b/home1800/overlays/audio_flags.yml new file mode 100644 index 0000000..0da2eb3 --- /dev/null +++ b/home1800/overlays/audio_flags.yml @@ -0,0 +1,240 @@ +############################################################# +# 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: <> + git: home1800/overlays/images/flag-overlays/<> + group: audio_language + weight: <> + horizontal_offset: <> + horizontal_align: <> + vertical_offset: <> + vertical_align: <> + +overlays: + +# single language flags + de: + template: + - name: AudioLanguage + weight: 5 + plex_all: true + filter: + filepath.regex: .*\[DE\]\.* + + es: + template: + - name: AudioLanguage + weight: 5 + plex_all: true + filter: + filepath.regex: .*\[ES\]\.* + + kr: + template: + - name: AudioLanguage + weight: 5 + plex_all: true + filter: + filepath.regex: .*\[KO\]\.* + + no: + template: + - name: AudioLanguage + weight: 5 + plex_all: true + filter: + filepath.regex: .*\[NB\]\.* + + fr: + template: + - name: AudioLanguage + weight: 5 + plex_all: true + filter: + filepath.regex: .*\[FR\]\.* + + jp: + template: + - name: AudioLanguage + weight: 5 + plex_all: true + filter: + filepath.regex: .*\[JA\]\.* + + +################################ + +# dual language (german + any) + de+fr: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(FR|DE)[A-Z+]*(FR|DE)[A-Z+]*\]\.* + + de+jp: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(JA|DE)[A-Z+]*(JA|DE)[A-Z+]*\]\.* + + de+kr: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(KO|DE)[A-Z+]*(KO|DE)[A-Z+]*\]\.* + + de+no: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(NB|DE)[A-Z+]*(NB|DE)[A-Z+]*\]\.* + + de+es: + 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) + us+de: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(EN|DE)[A-Z+]*(EN|DE)[A-Z+]*\]\.* + + us+fr: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(EN|FR)[A-Z+]*(EN|FR)[A-Z+]*\]\.* + + us+jp: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(EN|JA)[A-Z+]*(EN|JA)[A-Z+]*\]\.* + + us+kr: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(EN|KO)[A-Z+]*(EN|KO)[A-Z+]*\]\.* + + us+no: + template: + - name: AudioLanguage + weight: 10 + plex_all: true + filter: + filepath.regex: .*\[[A-Z+]*(EN|NB)[A-Z+]*(EN|NB)[A-Z+]*\]\.* + + us+es: + 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) + us+de+jp: + 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+]*\]\.* + + us+de+fr: + 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+]*\]\.* + + us+de+no: + 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+]*\]\.* + + us+de+kr: + 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+]*\]\.* + + us+de+es: + 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+]*\]\.* diff --git a/home1800/overlays/images/README.md b/home1800/overlays/images/README.md new file mode 100644 index 0000000..5c211e0 --- /dev/null +++ b/home1800/overlays/images/README.md @@ -0,0 +1,2 @@ +cut together from the SVGs in the flag-originals folder. +will update them later on to be more pretty i guess. diff --git a/home1800/overlays/images/flag-originals/LICENSE b/home1800/overlays/images/flag-originals/LICENSE new file mode 100644 index 0000000..ee959dc --- /dev/null +++ b/home1800/overlays/images/flag-originals/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2013 Panayiotis Lipiridis + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/home1800/overlays/images/flag-originals/README.md b/home1800/overlays/images/flag-originals/README.md new file mode 100644 index 0000000..6f81789 --- /dev/null +++ b/home1800/overlays/images/flag-originals/README.md @@ -0,0 +1,15 @@ +# Original flag SVGs. # + +if you want to make your own flag-combos, source the wanted flags from the repo below + + +https://github.com/lipis/flag-icons/tree/main/flags/4x3 + +## Currently implemented ## +- english +- german +- korean +- spanish +- norwegian +- japanese +- french diff --git a/home1800/overlays/images/flag-originals/de.svg b/home1800/overlays/images/flag-originals/de.svg new file mode 100644 index 0000000..b08334b --- /dev/null +++ b/home1800/overlays/images/flag-originals/de.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/home1800/overlays/images/flag-originals/es.svg b/home1800/overlays/images/flag-originals/es.svg new file mode 100644 index 0000000..815e0f8 --- /dev/null +++ b/home1800/overlays/images/flag-originals/es.svg @@ -0,0 +1,544 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/home1800/overlays/images/flag-originals/fr.svg b/home1800/overlays/images/flag-originals/fr.svg new file mode 100644 index 0000000..1be6191 --- /dev/null +++ b/home1800/overlays/images/flag-originals/fr.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/home1800/overlays/images/flag-originals/jp.svg b/home1800/overlays/images/flag-originals/jp.svg new file mode 100644 index 0000000..90af6c4 --- /dev/null +++ b/home1800/overlays/images/flag-originals/jp.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/home1800/overlays/images/flag-originals/kr.svg b/home1800/overlays/images/flag-originals/kr.svg new file mode 100644 index 0000000..39fa999 --- /dev/null +++ b/home1800/overlays/images/flag-originals/kr.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/home1800/overlays/images/flag-originals/no.svg b/home1800/overlays/images/flag-originals/no.svg new file mode 100644 index 0000000..a5f2a15 --- /dev/null +++ b/home1800/overlays/images/flag-originals/no.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/home1800/overlays/images/flag-originals/us.svg b/home1800/overlays/images/flag-originals/us.svg new file mode 100644 index 0000000..73b6245 --- /dev/null +++ b/home1800/overlays/images/flag-originals/us.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/home1800/overlays/images/flag-overlays/de+es.png b/home1800/overlays/images/flag-overlays/de+es.png new file mode 100644 index 0000000..dc76507 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/de+es.png differ diff --git a/home1800/overlays/images/flag-overlays/de+fr.png b/home1800/overlays/images/flag-overlays/de+fr.png new file mode 100644 index 0000000..1c18e76 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/de+fr.png differ diff --git a/home1800/overlays/images/flag-overlays/de+jp.png b/home1800/overlays/images/flag-overlays/de+jp.png new file mode 100644 index 0000000..c454eb8 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/de+jp.png differ diff --git a/home1800/overlays/images/flag-overlays/de+kr.png b/home1800/overlays/images/flag-overlays/de+kr.png new file mode 100644 index 0000000..dfa64e2 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/de+kr.png differ diff --git a/home1800/overlays/images/flag-overlays/de+no.png b/home1800/overlays/images/flag-overlays/de+no.png new file mode 100644 index 0000000..ec2ba3d Binary files /dev/null and b/home1800/overlays/images/flag-overlays/de+no.png differ diff --git a/home1800/overlays/images/flag-overlays/de.png b/home1800/overlays/images/flag-overlays/de.png new file mode 100644 index 0000000..971c85f Binary files /dev/null and b/home1800/overlays/images/flag-overlays/de.png differ diff --git a/home1800/overlays/images/flag-overlays/es.png b/home1800/overlays/images/flag-overlays/es.png new file mode 100644 index 0000000..ac17b5e Binary files /dev/null and b/home1800/overlays/images/flag-overlays/es.png differ diff --git a/home1800/overlays/images/flag-overlays/fr.png b/home1800/overlays/images/flag-overlays/fr.png new file mode 100644 index 0000000..f57cd2d Binary files /dev/null and b/home1800/overlays/images/flag-overlays/fr.png differ diff --git a/home1800/overlays/images/flag-overlays/jp.png b/home1800/overlays/images/flag-overlays/jp.png new file mode 100644 index 0000000..d801d05 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/jp.png differ diff --git a/home1800/overlays/images/flag-overlays/kr.png b/home1800/overlays/images/flag-overlays/kr.png new file mode 100644 index 0000000..ca08503 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/kr.png differ diff --git a/home1800/overlays/images/flag-overlays/no.png b/home1800/overlays/images/flag-overlays/no.png new file mode 100644 index 0000000..a64d4f7 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/no.png differ diff --git a/home1800/overlays/images/flag-overlays/us+de+es.png b/home1800/overlays/images/flag-overlays/us+de+es.png new file mode 100644 index 0000000..bd92d6b Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+de+es.png differ diff --git a/home1800/overlays/images/flag-overlays/us+de+fr.png b/home1800/overlays/images/flag-overlays/us+de+fr.png new file mode 100644 index 0000000..1a09d63 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+de+fr.png differ diff --git a/home1800/overlays/images/flag-overlays/us+de+jp.png b/home1800/overlays/images/flag-overlays/us+de+jp.png new file mode 100644 index 0000000..380e093 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+de+jp.png differ diff --git a/home1800/overlays/images/flag-overlays/us+de+kr.png b/home1800/overlays/images/flag-overlays/us+de+kr.png new file mode 100644 index 0000000..e4d5209 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+de+kr.png differ diff --git a/home1800/overlays/images/flag-overlays/us+de+no.png b/home1800/overlays/images/flag-overlays/us+de+no.png new file mode 100644 index 0000000..1e32613 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+de+no.png differ diff --git a/home1800/overlays/images/flag-overlays/us+de.png b/home1800/overlays/images/flag-overlays/us+de.png new file mode 100644 index 0000000..4147a15 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+de.png differ diff --git a/home1800/overlays/images/flag-overlays/us+es.png b/home1800/overlays/images/flag-overlays/us+es.png new file mode 100644 index 0000000..4f0ebdd Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+es.png differ diff --git a/home1800/overlays/images/flag-overlays/us+fr.png b/home1800/overlays/images/flag-overlays/us+fr.png new file mode 100644 index 0000000..e475a9a Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+fr.png differ diff --git a/home1800/overlays/images/flag-overlays/us+jp.png b/home1800/overlays/images/flag-overlays/us+jp.png new file mode 100644 index 0000000..a4ba8ad Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+jp.png differ diff --git a/home1800/overlays/images/flag-overlays/us+kr.png b/home1800/overlays/images/flag-overlays/us+kr.png new file mode 100644 index 0000000..543274f Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+kr.png differ diff --git a/home1800/overlays/images/flag-overlays/us+no.png b/home1800/overlays/images/flag-overlays/us+no.png new file mode 100644 index 0000000..37af9ad Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us+no.png differ diff --git a/home1800/overlays/images/flag-overlays/us.png b/home1800/overlays/images/flag-overlays/us.png new file mode 100644 index 0000000..57af686 Binary files /dev/null and b/home1800/overlays/images/flag-overlays/us.png differ diff --git a/home1800/overlays/images/flag-templates/README.md b/home1800/overlays/images/flag-templates/README.md new file mode 100644 index 0000000..efcced3 --- /dev/null +++ b/home1800/overlays/images/flag-templates/README.md @@ -0,0 +1,16 @@ +# How to create a new combo flag # +1. download/open gimp +2. open any of the base templates that you want the combo with +3. drop the flag you want from the flag-orignals folder into the template + - in the pop-up insert the dimensions 1000x750 and hit enter + +![image](https://user-images.githubusercontent.com/69302307/185743912-7365463b-6ff1-44a0-8ede-335995fa69ea.png) + - on the right side, pull the added flag (layer) all the way to the bottom + +![image](https://user-images.githubusercontent.com/69302307/185744011-c89a4da9-d472-495e-9c28-902bbb3fd53d.png) + + - adjust position of added flag if necessary (press M to enter "move" mode) +4. shrink/downscale image to a height of 105 pixels (arbitrary value, yields nice results imo) + - Image -> Scale Image -> in the height field enter "105", the width will auto adjust -> enter +5. export to png: ctrl + shift + e + - enter name (ending in .png), and click through the rest diff --git a/home1800/overlays/images/flag-templates/de-template.xcf b/home1800/overlays/images/flag-templates/de-template.xcf new file mode 100644 index 0000000..295ae79 Binary files /dev/null and b/home1800/overlays/images/flag-templates/de-template.xcf differ diff --git a/home1800/overlays/images/flag-templates/solo-template.xcf b/home1800/overlays/images/flag-templates/solo-template.xcf new file mode 100644 index 0000000..6411e8d Binary files /dev/null and b/home1800/overlays/images/flag-templates/solo-template.xcf differ diff --git a/home1800/overlays/images/flag-templates/us+de-template.xcf b/home1800/overlays/images/flag-templates/us+de-template.xcf new file mode 100644 index 0000000..86c9476 Binary files /dev/null and b/home1800/overlays/images/flag-templates/us+de-template.xcf differ diff --git a/home1800/overlays/images/flag-templates/us-template.xcf b/home1800/overlays/images/flag-templates/us-template.xcf new file mode 100644 index 0000000..84155a4 Binary files /dev/null and b/home1800/overlays/images/flag-templates/us-template.xcf differ diff --git a/home1800/overlays/ratings-no250.yml b/home1800/overlays/ratings-no250.yml new file mode 100644 index 0000000..530638b --- /dev/null +++ b/home1800/overlays/ratings-no250.yml @@ -0,0 +1,481 @@ +############################################################# +# Ratings Overlay # +# Created by Yozora, Bullmoose20, & Sohjiro # +# Credit to Magic815 for base images # +############################################################# +# # +# same ratings config as in the PMM repo, difference being # +# that it won't change the icon if it's IMdb's top 250 # +# I did this because I already have the 250 corner banner # +# so having it twice would be redundant and doesn't look nice +# # +# for setup check out the PMM repo: # +# # +# https://github.com/meisnate12/Plex-Meta-Manager-Configs/blob/master/PMM/overlays/ratings.yml +# # +# # +############################################################# + +templates: + Rating: + optional: + - overlay_level + default: + font: fonts/Inter-Bold.ttf + font_size: 63 + rating<>_font: <> + rating<>_font_size: <> + weight: 100 + side: left + horizontal_position: left + vertical_position: center + rating_alignment: vertical + rating<>: none + center_offset: 0 + standard_offset: 30 + v2_offset: 235 + v3_offset: 440 + cv2_offset: 105 + cv3_offset: 205 + h2_offset: 345 + h3_offset: 660 + ch2_offset: 160 + ch3_offset: 335 + conditionals: + mdblist_top: + conditions: + - image_level: Top + rating<>_image: rt_tomato + value: https://mdblist.com/lists/plexmetamanager/certifiedfresh<>s + - image_level: Top + rating<>_image: metacritic + value: https://mdblist.com/lists/plexmetamanager/metacriticmustsee<>s + imdb_top: + conditions: + - image_level: Top + rating<>_image: imdb + value: top_<>s + run_this: + default: true + conditions: + - image_level: Top + rating<>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt] + value: false + - image_level: Top + overlay_level: episode + value: false + - rating<>: none + value: false + rating<>_style: + default: "" + conditions: + - rating<>_image: [rt_popcorn, rt_tomato, tmdb] + value: "%" + - rating<>_image: metacritic + value: "0" + image_extra: + default: "" + conditions: + - rating<>_image: [rt_popcorn, rt_tomato] + value: <> + rating<>_image_url: + conditions: + - rating<>_image: anidb + value: Anidb + - rating<>_image: imdb + value: IMDb + - rating<>_image: letterboxd + value: Letterboxd + - rating<>_image: mdblist + value: MDBList + - rating<>_image: metacritic + value: Metacritic + - rating<>_image: rt_popcorn + value: RT-Aud- + - rating<>_image: rt_tomato + value: RT-Crit- + - rating<>_image: tmdb + value: TMDb + - rating<>_image: trakt + value: Trakt + rating<>_horizontal_align: + default: left + conditions: + - horizontal_position: right + value: right + - horizontal_position: center + value: center + rating<>_vertical_align: + default: center + conditions: + - vertical_position: top + value: top + - vertical_position: bottom + value: bottom + rating1_horizontal_offset: + default: <> + conditions: + - rating_alignment: vertical + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating2: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating2: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + rating3: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + value: -<> + - rating_alignment: horizontal + horizontal_position: right + rating2: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + value: <> + rating1_vertical_offset: + default: <> + conditions: + - rating_alignment: horizontal + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: center + rating2: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating2: none + value: -<> + - rating_alignment: vertical + vertical_position: center + rating3: none + value: -<> + - rating_alignment: vertical + vertical_position: center + value: -<> + - rating_alignment: vertical + vertical_position: bottom + rating2: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + value: <> + rating2_horizontal_offset: + default: <> + conditions: + - rating_alignment: vertical + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + rating3: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + value: -<> + - rating_alignment: horizontal + horizontal_position: right + rating1: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + value: <> + rating2_vertical_offset: + default: <> + conditions: + - rating_alignment: horizontal + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + value: -<> + - rating_alignment: vertical + vertical_position: center + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating1: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + value: <> + - rating_alignment: vertical + vertical_position: top + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: top + value: <> + rating3_horizontal_offset: + default: <> + conditions: + - rating_alignment: vertical + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating1: none + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + value: <> + rating3_vertical_offset: + default: <> + conditions: + - rating_alignment: horizontal + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: top + rating1: none + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: top + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: top + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: top + value: <> + back_width: + default: 160 + conditions: + - rating_alignment: horizontal + value: 270 + back_height: + default: 160 + conditions: + - rating_alignment: horizontal + value: 80 + addon_position: + default: top + conditions: + - rating_alignment: horizontal + value: left + gte: + default: 0.0 + conditions: + - image_level: Fresh + value: 6.0 + lte: + default: 6.0 + conditions: + - image_level: Fresh + value: 10.0 + gsuffix: + conditions: + - rating<>: [critic, audience, user] + image_level: [Fresh, Rotten] + value: gte + lsuffix: + conditions: + - rating<>: [critic, audience, user] + image_level: Fresh + value: lte + - rating<>: [critic, audience, user] + image_level: Rotten + value: lt + plex_search: + all: + <>>>_rating.<>: <> + <>>>_rating.<>: <> + mdblist_list: <> + imdb_chart: <> + collection_level: <> + allowed_library_types: <> + ignore_blank_results: true + overlay: + name: text(<>>>_rating<>_style>>) + horizontal_offset: <>_horizontal_offset>> + horizontal_align: <>_horizontal_align>> + vertical_offset: <>_vertical_offset>> + vertical_align: <>_vertical_align>> + group: rating<>_group + weight: <> + font: <>_font>> + font_size: <>_font_size>> + font_color: "#FFFFFF" + back_color: "#00000099" + back_radius: 30 + back_width: <> + back_height: <> + back_align: center + back_padding: 15 + git: PMM/overlays/images/raw/<>_image_url>><> + addon_position: <> + addon_offset: 15 + +overlays: + Rating1Rotten: + template: + name: Rating + rating_num: "1" + image_level: Rotten + + Rating1Fresh: + template: + name: Rating + rating_num: "1" + image_level: Fresh + + Rating1Top: + template: + name: Rating + weight: 110 + rating_num: "1" + image_level: Top + + Rating2Rotten: + template: + name: Rating + rating_num: "2" + image_level: Rotten + + Rating2Fresh: + template: + name: Rating + rating_num: "2" + image_level: Fresh + + Rating2Top: + template: + name: Rating + weight: 110 + rating_num: "2" + image_level: Top + + Rating3Rotten: + template: + name: Rating + rating_num: "3" + image_level: Rotten + + Rating3Fresh: + template: + name: Rating + rating_num: "3" + image_level: Fresh + + Rating3Top: + template: + name: Rating + weight: 110 + rating_num: "3" + image_level: Top \ No newline at end of file diff --git a/home1800/overlays/recent_ratings.yml b/home1800/overlays/recent_ratings.yml new file mode 100644 index 0000000..58e6280 --- /dev/null +++ b/home1800/overlays/recent_ratings.yml @@ -0,0 +1,512 @@ +############################################################# +# Ratings Overlay # +# Created by Yozora, Bullmoose20, & Sohjiro # +# Credit to Magic815 for base images # +############################################################# +# # +# same ratings config as in the PMM repo, difference being # +# that it'll only apply to media added within the last # +# set of days, specified by <> (default: 30) # +# # +# # +# for the other variables and setup check out the PMM repo: # +# # +# https://github.com/meisnate12/Plex-Meta-Manager-Configs/blob/master/PMM/overlays/ratings.yml +# # +# # +############################################################# + +templates: + Rating: + optional: + - overlay_level + default: + time_frame: 30 + font: fonts/Inter-Bold.ttf + font_size: 63 + rating<>_font: <> + rating<>_font_size: <> + weight: 100 + side: left + horizontal_position: left + vertical_position: center + rating_alignment: vertical + rating<>: none + center_offset: 0 + standard_offset: 30 + v2_offset: 235 + v3_offset: 440 + cv2_offset: 105 + cv3_offset: 205 + h2_offset: 345 + h3_offset: 660 + ch2_offset: 160 + ch3_offset: 335 + conditionals: + mdblist_top: + conditions: + - image_level: Top + rating<>_image: rt_tomato + value: https://mdblist.com/lists/plexmetamanager/certifiedfresh<>s + - image_level: Top + rating<>_image: metacritic + value: https://mdblist.com/lists/plexmetamanager/metacriticmustsee<>s + imdb_top: + conditions: + - image_level: Top + rating<>_image: imdb + value: top_<>s + run_this: + default: true + conditions: + - image_level: Top + rating<>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt] + value: false + - image_level: Top + overlay_level: episode + value: false + - rating<>: none + value: false + rating<>_style: + default: "" + conditions: + - rating<>_image: [rt_popcorn, rt_tomato, tmdb] + value: "%" + - rating<>_image: metacritic + value: "0" + image_extra: + default: "" + conditions: + - rating<>_image: [imdb, rt_tomato, metacritic] + image_level: Top + value: Top + - rating<>_image: [rt_popcorn, rt_tomato] + value: <> + rating<>_image_url: + conditions: + - rating<>_image: anidb + value: Anidb + - rating<>_image: imdb + value: IMDb + - rating<>_image: letterboxd + value: Letterboxd + - rating<>_image: mdblist + value: MDBList + - rating<>_image: metacritic + value: Metacritic + - rating<>_image: rt_popcorn + value: RT-Aud- + - rating<>_image: rt_tomato + value: RT-Crit- + - rating<>_image: tmdb + value: TMDb + - rating<>_image: trakt + value: Trakt + rating<>_horizontal_align: + default: left + conditions: + - horizontal_position: right + value: right + - horizontal_position: center + value: center + rating<>_vertical_align: + default: center + conditions: + - vertical_position: top + value: top + - vertical_position: bottom + value: bottom + rating1_horizontal_offset: + default: <> + conditions: + - rating_alignment: vertical + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating2: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating2: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + rating3: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + value: -<> + - rating_alignment: horizontal + horizontal_position: right + rating2: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + value: <> + rating1_vertical_offset: + default: <> + conditions: + - rating_alignment: horizontal + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: center + rating2: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating2: none + value: -<> + - rating_alignment: vertical + vertical_position: center + rating3: none + value: -<> + - rating_alignment: vertical + vertical_position: center + value: -<> + - rating_alignment: vertical + vertical_position: bottom + rating2: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + value: <> + rating2_horizontal_offset: + default: <> + conditions: + - rating_alignment: vertical + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + rating3: none + value: -<> + - rating_alignment: horizontal + horizontal_position: center + value: -<> + - rating_alignment: horizontal + horizontal_position: right + rating1: none + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + rating3: none + value: <> + - rating_alignment: horizontal + horizontal_position: right + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + value: <> + rating2_vertical_offset: + default: <> + conditions: + - rating_alignment: horizontal + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + value: -<> + - rating_alignment: vertical + vertical_position: center + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating1: none + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + rating3: none + value: <> + - rating_alignment: vertical + vertical_position: bottom + value: <> + - rating_alignment: vertical + vertical_position: top + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: top + value: <> + rating3_horizontal_offset: + default: <> + conditions: + - rating_alignment: vertical + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: center + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating1: none + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating1: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + rating2: none + value: <> + - rating_alignment: horizontal + horizontal_position: left + value: <> + rating3_vertical_offset: + default: <> + conditions: + - rating_alignment: horizontal + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: center + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: center + value: <> + - rating_alignment: vertical + vertical_position: top + rating1: none + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: top + rating1: none + value: <> + - rating_alignment: vertical + vertical_position: top + rating2: none + value: <> + - rating_alignment: vertical + vertical_position: top + value: <> + back_width: + default: 160 + conditions: + - rating_alignment: horizontal + value: 270 + back_height: + default: 160 + conditions: + - rating_alignment: horizontal + value: 80 + addon_position: + default: top + conditions: + - rating_alignment: horizontal + value: left + gte: + default: 0.0 + conditions: + - image_level: Fresh + value: 6.0 + lte: + default: 6.0 + conditions: + - image_level: Fresh + value: 10.0 + gsuffix: + conditions: + - rating<>: [critic, audience, user] + image_level: [Fresh, Rotten] + value: gte + lsuffix: + conditions: + - rating<>: [critic, audience, user] + image_level: Fresh + value: lte + - rating<>: [critic, audience, user] + image_level: Rotten + value: lt + plex_search: + all: + <>>>_rating.<>: <> + <>>>_rating.<>: <> + mdblist_list: <> + imdb_chart: <> + collection_level: <> + allowed_library_types: <> + ignore_blank_results: true + overlay: + name: text(<>>>_rating<>_style>>) + horizontal_offset: <>_horizontal_offset>> + horizontal_align: <>_horizontal_align>> + vertical_offset: <>_vertical_offset>> + vertical_align: <>_vertical_align>> + group: rating<>_group + weight: <> + font: <>_font>> + font_size: <>_font_size>> + font_color: "#FFFFFF" + back_color: "#00000099" + back_radius: 30 + back_width: <> + back_height: <> + back_align: center + back_padding: 15 + git: PMM/overlays/images/raw/<>_image_url>><> + addon_position: <> + addon_offset: 15 + +overlays: + Rating1Rotten: + template: + name: Rating + rating_num: "1" + image_level: Rotten + plex_all: true + filter: + added: <> + + Rating1Fresh: + template: + name: Rating + rating_num: "1" + image_level: Fresh + plex_all: true + filter: + added: <> + + Rating1Top: + template: + name: Rating + weight: 110 + rating_num: "1" + image_level: Top + plex_all: true + filter: + added: <> + + Rating2Rotten: + template: + name: Rating + rating_num: "2" + image_level: Rotten + plex_all: true + filter: + added: <> + + Rating2Fresh: + template: + name: Rating + rating_num: "2" + image_level: Fresh + plex_all: true + filter: + added: <> + + Rating2Top: + template: + name: Rating + weight: 110 + rating_num: "2" + image_level: Top + plex_all: true + filter: + added: <> + + Rating3Rotten: + template: + name: Rating + rating_num: "3" + image_level: Rotten + plex_all: true + filter: + added: <> + + Rating3Fresh: + template: + name: Rating + rating_num: "3" + image_level: Fresh + plex_all: true + filter: + added: <> + + Rating3Top: + template: + name: Rating + weight: 110 + rating_num: "3" + image_level: Top + plex_all: true + filter: + added: <>