overlays - final version refining

This commit is contained in:
c k
2022-06-14 20:03:16 +02:00
parent 63d7ce6558
commit d1efc91afd
105 changed files with 1532 additions and 5812 deletions

View File

@@ -0,0 +1,106 @@
templates:
sw_german:
default:
sw_german: false
allowed_library_types: <<sw_german>>
sw_english:
default:
sw_english: false
allowed_library_types: <<sw_english>>
sw_french:
default:
sw_french: false
allowed_library_types: <<sw_french>>
sw_japanese:
default:
sw_japanese: false
allowed_library_types: <<sw_japanese>>
sw_korean:
default:
sw_korean: false
allowed_library_types: <<sw_korean>>
sw_chinese:
default:
sw_chinese: false
allowed_library_types: <<sw_chinese>>
sw_danish:
default:
sw_danish: false
allowed_library_types: <<sw_danish>>
sw_russian:
default:
sw_russian: false
allowed_library_types: <<sw_russian>>
sw_spanish:
default:
sw_spanish: false
allowed_library_types: <<sw_spanish>>
sw_italian:
default:
sw_italian: false
allowed_library_types: <<sw_italian>>
sw_portuguese:
default:
sw_portuguese: false
allowed_library_types: <<sw_portuguese>>
sw_hindi:
default:
sw_hindi: false
allowed_library_types: <<sw_hindi>>
sw_telugu:
default:
sw_telugu: false
allowed_library_types: <<sw_telugu>>
sw_farsi:
default:
sw_farsi: false
allowed_library_types: <<sw_farsi>>
sw_thai:
default:
sw_thai: false
allowed_library_types: <<sw_thai>>
sw_dutch:
default:
sw_dutch: false
allowed_library_types: <<sw_dutch>>
sw_norwegian:
default:
sw_norwegian: false
allowed_library_types: <<sw_norwegian>>
sw_icelandic:
default:
sw_icelandic: false
allowed_library_types: <<sw_icelandic>>
sw_swedish:
default:
sw_swedish: false
allowed_library_types: <<sw_swedish>>
sw_turkish:
default:
sw_turkish: false
allowed_library_types: <<sw_turkish>>
sw_polish:
default:
sw_polish: false
allowed_library_types: <<sw_polish>>
sw_czech:
default:
sw_czech: false
allowed_library_types: <<sw_czech>>
sw_ukrainian:
default:
sw_ukrainian: false
allowed_library_types: <<sw_ukrainian>>
sw_hungarian:
default:
sw_hungarian: false
allowed_library_types: <<sw_hungarian>>
sw_uhd:
default:
sw_uhd: false
allowed_library_types: <<sw_uhd>>
sw_hdr:
default:
sw_hdr: false
allowed_library_types: <<sw_hdr>>

View File

@@ -0,0 +1,236 @@
templates:
sw_german:
template_variables:
it_language: de
ol_overlay: german
ol_file: german
ol_weight: 89
default:
sw_german: false
allowed_library_types: <<sw_german>>
sw_english:
template_variables:
it_language: en
ol_overlay: english
ol_file: english
ol_weight: 88
default:
sw_english: false
allowed_library_types: <<sw_english>>
sw_french:
template_variables:
it_language: fr
ol_overlay: french
ol_file: french
ol_weight: 87
default:
sw_french: false
allowed_library_types: <<sw_french>>
sw_japanese:
template_variables:
it_language: ja
ol_overlay: japanese
ol_file: japanese
ol_weight: 86
default:
sw_japanese: false
allowed_library_types: <<sw_japanese>>
sw_korean:
template_variables:
it_language: ko
ol_overlay: korean
ol_file: korean
ol_weight: 85
default:
sw_korean: false
allowed_library_types: <<sw_korean>>
sw_chinese:
template_variables:
it_language: zh
ol_overlay: chinese
ol_file: chinese
ol_weight: 84
default:
sw_chinese: false
allowed_library_types: <<sw_chinese>>
sw_danish:
template_variables:
it_language: da
ol_overlay: danish
ol_file: danish
ol_weight: 83
default:
sw_danish: false
allowed_library_types: <<sw_danish>>
sw_russian:
template_variables:
it_language: ru
ol_overlay: russian
ol_file: russian
ol_weight: 82
default:
sw_russian: false
allowed_library_types: <<sw_russian>>
sw_spanish:
template_variables:
it_language: es
ol_overlay: spanish
ol_file: spanish
ol_weight: 81
default:
sw_spanish: false
allowed_library_types: <<sw_spanish>>
sw_italian:
template_variables:
it_language: it
ol_overlay: italian
ol_file: italian
ol_weight: 80
default:
sw_italian: false
allowed_library_types: <<sw_italian>>
sw_portuguese:
template_variables:
it_language: pt
ol_overlay: portuguese
ol_file: portuguese
ol_weight: 79
default:
sw_portuguese: false
allowed_library_types: <<sw_portuguese>>
sw_hindi:
template_variables:
it_language: hi
ol_overlay: hindi
ol_file: indian
ol_weight: 78
default:
sw_hindi: false
allowed_library_types: <<sw_hindi>>
sw_telugu:
template_variables:
it_language: te
ol_overlay: telugu
ol_file: indian
ol_weight: 77
default:
sw_telugu: false
allowed_library_types: <<sw_telugu>>
sw_farsi:
template_variables:
it_language: fa
ol_overlay: farsi
ol_file: iranian
ol_weight: 76
default:
sw_farsi: false
allowed_library_types: <<sw_farsi>>
sw_thai:
template_variables:
it_language: th
ol_overlay: thai
ol_file: thai
ol_weight: 75
default:
sw_thai: false
allowed_library_types: <<sw_thai>>
sw_dutch:
template_variables:
it_language: nl
ol_overlay: dutch
ol_file: dutch
ol_weight: 74
default:
sw_dutch: false
allowed_library_types: <<sw_dutch>>
sw_norwegian:
template_variables:
it_language: no
ol_overlay: norwegian
ol_file: norwegian
ol_weight: 73
default:
sw_norwegian: false
allowed_library_types: <<sw_norwegian>>
sw_icelandic:
template_variables:
it_language: is
ol_overlay: icelandic
ol_file: icelandic
ol_weight: 72
default:
sw_icelandic: false
allowed_library_types: <<sw_icelandic>>
sw_swedish:
template_variables:
it_language: sv
ol_overlay: swedish
ol_file: swedish
ol_weight: 71
default:
sw_swedish: false
allowed_library_types: <<sw_swedish>>
sw_turkish:
template_variables:
it_language: tr
ol_overlay: turkish
ol_file: turkish
ol_weight: 70
default:
sw_turkish: false
allowed_library_types: <<sw_turkish>>
sw_polish:
template_variables:
it_language: pl
ol_overlay: polish
ol_file: polish
ol_weight: 69
default:
sw_polish: false
allowed_library_types: <<sw_polish>>
sw_czech:
template_variables:
it_language: cs
ol_overlay: czech
ol_file: czech
ol_weight: 68
default:
sw_czech: false
allowed_library_types: <<sw_czech>>
sw_ukrainian:
template_variables:
it_language: uk
ol_overlay: ukrainian
ol_file: ukrainian
ol_weight: 67
default:
sw_ukrainian: false
allowed_library_types: <<sw_ukrainian>>
sw_hungarian:
template_variables:
it_language: hu
ol_overlay: hungarian
ol_file: hungarian
ol_weight: 66
default:
sw_hungarian: false
allowed_library_types: <<sw_hungarian>>
sw_uhd:
template_variables:
it_uhd: 4k
ol_overlay: uhd
ol_file: 4k
ol_weight: 50
default:
sw_uhd: false
allowed_library_types: <<sw_uhd>>
sw_hdr:
template_variables:
it_hdr: true
ol_overlay: hdr
ol_file: hdr
ol_weight: 49
default:
sw_hdr: false
allowed_library_types: <<sw_hdr>>

View File

@@ -4,21 +4,48 @@ templates:
- overlay_level
collection_level: <<overlay_level>>
overlay:
name: <<ol_type>>_<<ol_language>>_<<ol_posx>>_<<ol_posy>>
name: <<ol_type>>_<<ol_overlay>>_<<ol_queue>>_<<ol_weight>>
file: overlays/<<ol_folder>>/<<ol_file>>.png
group: <<ol_group>>
queue: <<ol_queue>>
weight: <<ol_weight>>
horizontal_offset: <<ol_posx>>
vertical_offset: <<ol_posy>>
ol_items:
it_items:
optional:
- it_language
- it_uhd
- it_hdr
- it_resolution
- it_resolution_not
plex_all: true
filters:
audio_language: <<it_language>>
hdr: <<it_hdr>>
resolution: <<it_resolution>>
resolution.not: <<it_resolution_not>>
- it_queue
plex_search:
all:
- audio_language: <<it_language>>
resolution: <<it_uhd>>
hdr: <<it_hdr>>
- any:
- label: <<it_queue>>
- all:
label.not:
- bottom_portrait
lbxd_list:
optional:
- lbxd_order
- lbxd_smart
default:
lbxd_user: jkbsmm
lbxd_type: list/
lbxd_sort: <<collection_name>>
letterboxd_list: https://letterboxd.com/<<lbxd_user>>/<<lbxd_type>><<lbxd_list>>/
collection_order: <<lbxd_order>>
smart_label: <<lbxd_smart>>
sort_title: <<lbxd_sort>>
tmdb_movie:
optional:
- tmdb_collection
- tmdb_movie
- tmdb_order
- tmdb_smart
default:
tmdb_sort: <<collection_name>>
tmdb_collection_details: <<tmdb_collection>>
tmdb_movie: <<tmdb_movie>>
collection_order: <<tmdb_order>>
smart_label: <<tmdb_smart>>
sort_title: <<tmdb_sort>>

View File

@@ -1,5 +1,5 @@
external_templates:
- file: metadata/admin/_templates.yml
- file: metadata/admin/_templates
templates:
label_collector:
default:
@@ -22,6 +22,8 @@ collections:
- admin
- german_metadata
- non_german_metadata
- local_only
- bottom_portrait
german_metadata:
template: {name: german_metadata}
build_collection: false

View File

@@ -0,0 +1,131 @@
external_templates:
- file: metadata/admin/_templates.yml
templates:
movie_collections:
default:
minimum_items: 2
optional:
- add_movies
- name_mapping
collection_order: release
tmdb_collection: <<value>>
tmdb_summary: <<value>>
tmdb_background: <<value>>
tmdb_movie: <<add_movies>>
minimum_items: <<minimum_items>>
name_mapping: <<name_mapping>>
dynamic_collections:
TMDb Collections:
type: tmdb_collection
template: movie_collections
remove_suffix:
- Collection
- Filmreihe
title_override:
304: Ocean's Movies
2344: The Matrix
9485: Fast & Furious
34055: Pokémon
86055: Men In Black
115575: Star Trek Alternate Reality
115838: "Escape From ..."
135483: Taken
290973: Crouching Tiger, Hidden Dragon
382685: Now You See Me
386382: Frozen
535313: The Monsterverse
575987: The Girl - Millennium
608101: "The Hitman's Bodyguard"
735384: Hercule Poirot
747168: Borat Moviefilms
975677: The First Myth Universe
addons:
34055: # Combine all Pokémon Movie Collections into one
- 661025
- 661026
- 661028
- 661029
- 661031
exclude:
- 10 # Exclude Star Wars, added via Letterboxd List below
template_variables:
add_movies:
304: "402900" # Add "Ocean's 8" to "Ocean's Movies"
2344: "55931" # Add "Animatrix" to "The Matrix"
2883: "414419" # Add "Kill Bill: The Whole Bloody Affair" to "Kill Bill"
9485: "384018" # Add "Fast & Furious: Hobbs & Shaw" to "Fast & Furious"
17178: "828853" # Add "Jackass 4.5" to "Jackass"
17235: "456740" # Add "Hellboy (2019)" to "Hellboy"
44215: "2164" # Add "Stargate" to "Stargate"
448150: "567604" # Add "Once upon a Deadpool" to "Deadpool"
535313: "293167" # Add "Kong: Skull Island" to "The Monsterverse"
minimum_items: # Movies that have TMDb Collections where I have multiple versions of the first one,
475557: 3 # that should not be a collection until the second movie actually gets released.
870339: 3
948485: 3
726871: 3
861415: 3
name_mapping:
119: The Lord of the Rings
131: Three Colors
230: The Godfather
264: Back to the Future
295: Pirates of the Caribbean
420: The Chronicles of Narnia
528: The Terminator
1565: 28 Days-Weeks Later
1570: Die Hard
1960: Evil Dead
2366: Jaws
3963: The Crimson Rivers
4438: The Space Odyssey Series
31562: The Bourne
37139: Naked Gun
91746: Bill & Ted's Most Excellent Movies
87186: The Boondock Saints
87359: Mission Impossible
115762: Alien vs Predator
115838: Escape From
121938: The Hobbit
137696: Monsters, Inc
137697: Finding Nemo
163902: RED
173710: Planet of the Apes (Reboot)
261307: Alice in Wonderland
353325: Joe Dirt
435259: Fantastic Beasts
464577: The Croods
468222: The Incredibles
477962: It
530064: The Shining
647077: Coming to America
720879: Sonic the Hedgehog
collections:
Alien + Predator Universe:
template: {name: lbxd_list, lbxd_list: alien-predator-universe, lbxd_smart: year.asc}
Army of the Dead:
template: {name: lbxd_list, lbxd_list: army-of-the-dead, lbxd_order: custom}
Cloverfield:
template: {name: lbxd_list, lbxd_list: cloverfield}
Cornetto Trilogy:
template: {name: lbxd_list, lbxd_list: cornetto-trilogy}
Eastrail 177:
template: {name: lbxd_list, lbxd_list: eastrail-177}
Grindhouse:
template: {name: lbxd_list, lbxd_list: grindhouse}
Marvel Cinematic Universe:
template: {name: lbxd_list, lbxd_list: marvel-cinematic-universe, lbxd_smart: year.desc}
Middle Earth:
template: {name: lbxd_list, lbxd_list: middle-earth, lbxd_smart: year.desc}
Monty Python:
template: {name: lbxd_list, lbxd_list: monty-python, lbxd_smart: year.asc}
Spider-Man Universe:
template: {name: lbxd_list, lbxd_list: spider-man-universe, lbxd_smart: year.asc}
Star Wars:
template: {name: lbxd_list, lbxd_list: star-wars, lbxd_order: custom}
Vengeance:
template: {name: lbxd_list, lbxd_list: vengeance-trilogy, lbxd_order: custom}
Wizarding World:
template: {name: lbxd_list, lbxd_list: wizarding-world, lbxd_smart: year.desc}
Worlds of DC:
template: {name: lbxd_list, lbxd_list: worlds-of-dc, lbxd_smart: year.desc}

View File

@@ -0,0 +1,16 @@
external_templates:
- file: metadata/admin/_templates.yml
collections:
Movie of the Day:
plex_search:
all:
year.gte: 1800
sort_by: random
limit: 1
schedule: hourly(1)
smart_label: random
visible_shared: true
visible_library: true
Family Watchlist:
template: {name: lbxd_list, lbxd_list: watchlist, lbxd_type: null, lbxd_smart: random}
label: family