Merge pull request #1 from cpt-kuesel/new-overlays

New overlays
pull/428/head
cpt-kuesel 2 years ago committed by GitHub
commit 3af220b1ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,21 +18,26 @@ I run PMM with docker-compose:
<br> <br>
## WIP Notice & Instructions ## WIP Notice & Instructions
Version required: v1.17.1 (latest) Version required: v1.17.3
I am still not finished but here are my new language overlays. I overhauled my language overlays yet again.
Instead of big flags, I now use small flags with the language written beside the flag.
My suggestion is downloading the required files and run them local, as I have not yet worked in to run them from the configs repo. My suggestion is downloading the required files and run them local, as I have not yet worked in to run them from the configs repo.
Also that way you can fine tune more to what you want. Also that way you can fine tune it all to your specific needs.
<br> <br>
Here is a short explanation on how to get them working and how to customize: Here is a short explanation on how to get them working and how to customize:
My approach was to separate all different aspects of it into individual files. My approach was to separate different aspects of it into individual files.
They are: They are:
- _OverlayPacks/*
| I generated 3 Packs to choose from: german, english and two letter language codes ISO 639-2. Take the files you want to use and put them in the folder *overlays/_flags* to use with my config
- metadata/admin/_switches.yml - metadata/admin/_switches.yml
| Switch specific overlays on using template_variables in config.yml, as they all default to false initially. | Switch specific overlays on using template_variables in config.yml, as they all default to false initially.
@ -41,41 +46,25 @@ They are:
| Contains all templates used in my files, not necessarily specific to overlays. | Contains all templates used in my files, not necessarily specific to overlays.
| Templates used in overlay files are `ol_builder` and `it_items`. | 'flag_overlays' is the template used.
- metadata/admin/core.yml - metadata/admin/core.yml
| Create a collection with all used labels, switch metadata languages for items and add a label to 4k/HDR content. | Use collections to switch metadata languages for items.
| Also toggable via template_variables in config.yml
- overlays/admin/queues.yml - overlays/admin/queues.yml
| Contains all queues used in my overlays and a pseudo overlay builder definition, which should not actually do something but was required to have a valid file. | Contains the queue 'flags' used in my overlays and a pseudo overlay builder definition, which should not actually do something but was required to have a valid file.
- overlays/flags.yml - overlays/flags.yml
| Has all the overlay builders for the different languages. | Has all the overlay builders for the different languages.
- overlays/badges.yml - overlays/_flags/*
| Has a 4k and a HDR overlay builder.
- overlays/_posters/[250x150]/* | overlays/_posters/[183x113]/*
| In this folder are all the files used as overlay for Movies, Shows and Seasons with dimensions 250x150 or 183x113.
Choose the size you want to use and move them up in overlays/_posters.
| My configs use size 250x150.
- overlays/_titlecards/[240x180]* | Put the overlay files you chose/created in this folder.
| In this folder are all the files used as overlay for Episodes with dimensions 240x180. I am using Overlay Queues and sorted all languages in my library according to my preference with weights.
I am using Overlay Queues and sorted all languages in my library according to my preference with weights accordingly.
All queues apart from the default ones require their specific label on the Plex Item.
You can add those manually or via another PMM collection builder using `item_label`.
<br> <br>
@ -83,56 +72,44 @@ Here is an example config:
```yaml ```yaml
x-movie_languages: &movie_languages x-movie_languages: &movie_languages
sw_german: true use_german: true
sw_english: true use_english: true
sw_french: true use_french: true
sw_japanese: true use_japanese: true
sw_korean: true use_korean: true
sw_chinese: true use_chinese: true
sw_danish: true use_danish: true
sw_russian: true use_russian: true
sw_spanish: true use_spanish: true
sw_italian: true use_italian: true
sw_portuguese: true use_portuguese: true
sw_hindi: true use_hindi: true
sw_telugu: true use_telugu: true
sw_farsi: true use_dutch: true
sw_thai: true use_icelandic: true
sw_dutch: true use_turkish: true
sw_norwegian: true use_ukranian: true
sw_icelandic: true
sw_turkish: true
sw_polish: true
sw_czech: true
sw_ukranian: true
sw_hungarian: true
x-show_languages: &show_languages x-show_languages: &show_languages
sw_german: true use_german: true
sw_english: true use_english: true
sw_french: true use_french: true
sw_korean: true use_korean: true
sw_spanish: true use_spanish: true
sw_swedish: true
x-anime_languages: &anime_languages x-anime_languages: &anime_languages
sw_german: true use_german: true
sw_english: true use_english: true
sw_french: true use_french: true
sw_japanese: true use_japanese: true
sw_korean: true use_korean: true
sw_spanish: true use_spanish: true
sw_italian: true use_italian: true
sw_portuguese: true use_portuguese: true
sw_thai: true use_thai: true
x-badges: &badges
sw_uhd: true
sw_hdr: true
libraries: libraries:
Movies: Movies:
metadata_path: metadata_path:
- file: metadata/admin/core - file: metadata/admin/core
template_variables:
local_only: true
- file: metadata/movies/metadata - file: metadata/movies/metadata
- file: metadata/movies/Collections - file: metadata/movies/Collections
- file: metadata/movies/Suggestions - file: metadata/movies/Suggestions
@ -142,63 +119,6 @@ libraries:
- file: overlays/flags - file: overlays/flags
template_variables: template_variables:
<<: *movie_languages <<: *movie_languages
ol_type: movie
ol_folder: _posters
ol_queue: default_portrait_flags
- file: overlays/badges
template_variables:
<<: *badges
ol_type: movie
ol_folder: _posters
ol_queue: default_portrait_badges
- file: overlays/flags
template_variables:
<<: *movie_languages
ol_type: movie
ol_folder: _posters
ol_queue: bottom_portrait_flags
it_queue: bottom
it_default: null
- file: overlays/badges
template_variables:
<<: *badges
ol_type: movie
ol_folder: _posters
ol_queue: bottom_portrait_badges
it_queue: bottom
it_default: null
- file: overlays/flags
template_variables:
<<: *movie_languages
ol_type: movie
ol_folder: _posters
ol_queue: up_corners_portrait_flags
it_queue: up_corners
it_default: null
- file: overlays/badges
template_variables:
<<: *badges
ol_type: movie
ol_folder: _posters
ol_queue: up_corners_portrait_badges
it_queue: up_corners
it_default: null
- file: overlays/flags
template_variables:
<<: *movie_languages
ol_type: movie
ol_folder: _posters
ol_queue: down_corners_portrait_flags
it_queue: down_corners
it_default: null
- file: overlays/badges
template_variables:
<<: *badges
ol_type: movie
ol_folder: _posters
ol_queue: down_corners_portrait_badges
it_queue: down_corners
it_default: null
settings: settings:
asset_directory: asset_directory:
- assets/movies/collections - assets/movies/collections
@ -208,8 +128,6 @@ libraries:
Shows: Shows:
metadata_path: metadata_path:
- file: metadata/admin/core - file: metadata/admin/core
template_variables:
local_only: true
- file: metadata/shows/metadata - file: metadata/shows/metadata
overlay_path: overlay_path:
- remove_overlays: false - remove_overlays: false
@ -218,54 +136,55 @@ libraries:
template_variables: template_variables:
<<: *show_languages <<: *show_languages
overlay_level: episode overlay_level: episode
ol_type: episode
ol_folder: _titlecards
ol_queue: default_landscape_flags
- file: overlays/badges
template_variables:
<<: *badges
overlay_level: episode
ol_type: episode
ol_folder: _titlecards
ol_queue: default_landscape_badges
- file: overlays/flags - file: overlays/flags
template_variables: template_variables:
<<: *show_languages <<: *show_languages
overlay_level: season overlay_level: season
ol_type: season
ol_folder: _posters
ol_queue: default_portrait_flags
- file: overlays/badges
template_variables:
<<: *badges
overlay_level: season
ol_type: season
ol_folder: _posters
ol_queue: default_portrait_badges
- file: overlays/flags - file: overlays/flags
template_variables: template_variables:
<<: *show_languages <<: *show_languages
ol_type: show
ol_folder: _posters
ol_queue: default_portrait_flags
- file: overlays/badges
template_variables:
<<: *badges
ol_type: show
ol_folder: _posters
ol_queue: default_portrait_badges
settings: settings:
asset_directory: asset_directory:
- assets/shows/collections - assets/shows/collections
- assets/shows/shows - assets/shows/shows
Anime:
metadata_path:
- file: metadata/admin/core
- file: metadata/animes/metadata
overlay_path:
- remove_overlays: false
- file: overlays/admin/queues
- file: overlays/flags
template_variables:
<<: *anime_languages
overlay_level: episode
- file: overlays/flags
template_variables:
<<: *anime_languages
overlay_level: season
- file: overlays/flags
template_variables:
<<: *anime_languages
settings:
asset_directory:
- assets/animes/collections
- assets/animes/animes
``` ```
I know I need to properly explain more, but for the moment it is all I can think of.
Feel free to ask me questions in the Discord or make suggestions on what I need to add here. Feel free to ask me questions in the Discord or make suggestions on what I need to add here.
<br>
I added all files I used to create the overlays in the folder *__OverlayCreation*.
The psd uses variables and datasets to be able to generate a batch quickly.
File->Export->Data-Sets as Files
To convert the generated psd-files into png-files I use the application ImageMagick and provided a batch file in the export directory to take care of it.
<br> <br>
## Questions? ## Questions?
You can always shoot me a question in the PMM Discord found on the main GitHub in the support section: You can always shoot me a question in the PMM Discord!
https://github.com/meisnate12/Plex-Meta-Manager/tree/master#support

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

@ -0,0 +1,25 @@
name,language,flag,bg_2,bg_3,bg_4,bg_5,bg_6,bg_7,bg_8,bg_9,bg_10,bg_11,bg_12,bg_13,bg_14
chinese,ZH,flags/chinese.png,true,false,false,false,false,false,false,false,false,false,false,false,false
czech,CS,flags/czech.png,true,false,false,false,false,false,false,false,false,false,false,false,false
danish,DA,flags/danish.png,true,false,false,false,false,false,false,false,false,false,false,false,false
dutch,NL,flags/dutch.png,true,false,false,false,false,false,false,false,false,false,false,false,false
english,EN,flags/english.png,true,false,false,false,false,false,false,false,false,false,false,false,false
french,FR,flags/french.png,true,false,false,false,false,false,false,false,false,false,false,false,false
german,DE,flags/german.png,true,false,false,false,false,false,false,false,false,false,false,false,false
hungarian,HU,flags/hungarian.png,true,false,false,false,false,false,false,false,false,false,false,false,false
icelandic,IS,flags/icelandic.png,true,false,false,false,false,false,false,false,false,false,false,false,false
hindi,HI,flags/indian.png,true,false,false,false,false,false,false,false,false,false,false,false,false
telugu,TE,flags/indian.png,true,false,false,false,false,false,false,false,false,false,false,false,false
farsi,FA,flags/iranian.png,true,false,false,false,false,false,false,false,false,false,false,false,false
italian,IT,flags/italian.png,true,false,false,false,false,false,false,false,false,false,false,false,false
japanese,JA,flags/japanese.png,true,false,false,false,false,false,false,false,false,false,false,false,false
korean,KO,flags/korean.png,true,false,false,false,false,false,false,false,false,false,false,false,false
norwegian,NO,flags/norwegian.png,true,false,false,false,false,false,false,false,false,false,false,false,false
polish,PL,flags/polish.png,true,false,false,false,false,false,false,false,false,false,false,false,false
portuguese,PT,flags/portuguese.png,true,false,false,false,false,false,false,false,false,false,false,false,false
russian,RU,flags/russian.png,true,false,false,false,false,false,false,false,false,false,false,false,false
spanish,ES,flags/spanish.png,true,false,false,false,false,false,false,false,false,false,false,false,false
swedish,SV,flags/swedish.png,true,false,false,false,false,false,false,false,false,false,false,false,false
thai,TH,flags/thai.png,true,false,false,false,false,false,false,false,false,false,false,false,false
turkish,TR,flags/turkish.png,true,false,false,false,false,false,false,false,false,false,false,false,false
ukrainian,UK,flags/ukrainian.png,true,false,false,false,false,false,false,false,false,false,false,false,false

@ -0,0 +1,25 @@
name,language,flag,bg_2,bg_3,bg_4,bg_5,bg_6,bg_7,bg_8,bg_9,bg_10,bg_11,bg_12,bg_13,bg_14
chinese,CHINESE,flags/chinese.png,false,false,false,false,false,true,false,false,false,false,false,false,false
czech,CZECH,flags/czech.png,false,false,false,true,false,false,false,false,false,false,false,false,false
danish,DANISH,flags/danish.png,false,false,false,false,true,false,false,false,false,false,false,false,false
dutch,DUTCH,flags/dutch.png,false,false,false,true,false,false,false,false,false,false,false,false,false
english,ENGLISH,flags/english.png,false,false,false,false,false,true,false,false,false,false,false,false,false
french,FRENCH,flags/french.png,false,false,false,false,true,false,false,false,false,false,false,false,false
german,GERMAN,flags/german.png,false,false,false,false,true,false,false,false,false,false,false,false,false
hungarian,HUNGARIAN,flags/hungarian.png,false,false,false,false,false,false,false,true,false,false,false,false,false
icelandic,ICELANDIC,flags/icelandic.png,false,false,false,false,false,false,false,true,false,false,false,false,false
hindi,HINDI,flags/indian.png,false,false,false,true,false,false,false,false,false,false,false,false,false
telugu,TELUGU,flags/indian.png,false,false,false,false,true,false,false,false,false,false,false,false,false
farsi,FARSI,flags/iranian.png,false,false,false,true,false,false,false,false,false,false,false,false,false
italian,ITALIAN,flags/italian.png,false,false,false,false,false,true,false,false,false,false,false,false,false
japanese,JAPANESE,flags/japanese.png,false,false,false,false,false,false,true,false,false,false,false,false,false
korean,KOREAN,flags/korean.png,false,false,false,false,true,false,false,false,false,false,false,false,false
norwegian,NORWEGIAN,flags/norwegian.png,false,false,false,false,false,false,false,true,false,false,false,false,false
polish,POLISH,flags/polish.png,false,false,false,false,true,false,false,false,false,false,false,false,false
portuguese,PORTUGUESE,flags/portuguese.png,false,false,false,false,false,false,false,false,true,false,false,false,false
russian,RUSSIAN,flags/russian.png,false,false,false,false,false,true,false,false,false,false,false,false,false
spanish,SPANISH,flags/spanish.png,false,false,false,false,false,true,false,false,false,false,false,false,false
swedish,SWEDISH,flags/swedish.png,false,false,false,false,false,true,false,false,false,false,false,false,false
thai,THAI,flags/thai.png,false,false,true,false,false,false,false,false,false,false,false,false,false
turkish,TURKISH,flags/turkish.png,false,false,false,false,false,true,false,false,false,false,false,false,false
ukrainian,UKRAINIAN,flags/ukrainian.png,false,false,false,false,false,false,false,true,false,false,false,false,false

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save