- Remove templates for dynamic collection templates (can't nest templates)

This commit is contained in:
nwithan8 2023-11-18 13:10:43 -07:00
parent 536a04871b
commit ab646507c7
2 changed files with 20 additions and 42 deletions

View File

@ -5,82 +5,60 @@ templates:
# Dynamic Collections Templates # Dynamic Collections Templates
# ----------------------------- # -----------------------------
Per_Decade: Per_Decade:
template: { name: Decade,
level: "",
poster_url: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Decades/<<key>>.png }
smart_filter: smart_filter:
sort_by: audience_rating.desc sort_by: audience_rating.desc
all: all:
year.gte: <<key_name>> year.gte: <<key_name>>
year.lte: <<ending>> year.lte: <<ending>>
sort_title: 080_+<<level>>_<<key>>
url_poster: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Decades/<<key>>.png
visible_library: false visible_library: false
visible_shared: false visible_shared: false
visible_home: false visible_home: false
schedule: monthly(17)
Per_Genre: Per_Genre:
template: { name: Genre,
level: "",
poster_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/genre/<<key_name>>.jpg }
smart_filter: smart_filter:
limit: 10000 limit: 10000
sort_by: critic_rating.desc sort_by: critic_rating.desc
all: all:
genre: <<value>> genre: <<value>>
default:
level: ""
sort_title: 070_+<<level>>_<<key_name>>
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/genre/<<key_name>>.jpg
visible_library: false visible_library: false
visible_shared: false visible_shared: false
visible_home: false visible_home: false
schedule: weekly(saturday)
Per_Actor:
template: { name: Actor,
level: ""}
smart_filter:
sort_by: release.asc
any:
actor: <<value>>
visible_library: false
visible_shared: false
visible_home: false
schedule:
- weekly(thursday)
- weekly(monday)
Per_Director:
template: { name: Director,
level: ""}
smart_filter:
sort_by: release.asc
any:
director: <<value>>
visible_library: false
visible_shared: false
visible_home: false
schedule:
- weekly(friday)
- weekly(tuesday)
Per_Country_Movies: Per_Country_Movies:
template: { name: Country,
level: "",
poster_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/country/white/<<key_name>>.jpg }
smart_filter: smart_filter:
limit: 10000 limit: 10000
sort_by: critic_rating.desc sort_by: critic_rating.desc
any: any:
country: <<value>> country: <<value>>
default:
level: ""
sort_title: 110_+<<level>>_<<key_name>>
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/country/white/<<key_name>>.jpg
visible_library: false visible_library: false
visible_shared: false visible_shared: false
visible_home: false visible_home: false
schedule: weekly(saturday)
Per_Country_Shows: Per_Country_Shows:
template: { name: Country,
level: "",
poster_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/country/white/<<key_name>>.jpg }
smart_filter: smart_filter:
limit: 10000 limit: 10000
sort_by: critic_rating.desc sort_by: critic_rating.desc
any: any:
origin_country: <<value>> origin_country: <<value>>
default:
level: ""
sort_title: 110_+<<level>>_<<key_name>>
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/country/white/<<key_name>>.jpg
visible_library: false visible_library: false
visible_shared: false visible_shared: false
visible_home: false visible_home: false
schedule: weekly(saturday)

View File

@ -113,7 +113,7 @@ This collection uses a combination of all these prefixes, and are always sorted
- As of v1.16.4, you can define templates in an external file. This allows you to define your templates in one central - As of v1.16.4, you can define templates in an external file. This allows you to define your templates in one central
place, rather than having to copy-paste them into each file. place, rather than having to copy-paste them into each file.
- Import your templates with the `external_templates` key - Import your templates with the `external_templates` key
- HINT: A template can refer to another template rather than needing to re-implement every setting - Unfortunately, you cannot have a template refer to another template; you need to re-implement every setting
## Collection vs Playlist ## Collection vs Playlist
@ -157,7 +157,7 @@ This collection uses a combination of all these prefixes, and are always sorted
- A dynamic collection will execute a query (say, grab a list of the top 10 actors right now), and then for each result, - A dynamic collection will execute a query (say, grab a list of the top 10 actors right now), and then for each result,
make a collection using the "actor" template. make a collection using the "actor" template.
- Schedule a dynamic collection (visibility, update frequency, etc.) via the template - Schedule a dynamic collection (visibility, update frequency, etc.) via the template
- HINT: You can use a collection template in a dynamic collection template (e.g. use the same sort_title setting for both dynamic collections and one-off collections by using the same collection template) - Unfortunately, you cannot use a template in a dynamic collection, so make sure elements are the same (e.g. the sort_title syntax)
## Custom Posters ## Custom Posters
- Placeholder posters generated using [this utility](https://github.com/bullmoose20/Plex-Stuff#create_poster) and [this font](https://github.com/meisnate12/Plex-Meta-Manager-Images/blob/master/Comfortaa-Bold.ttf) - Placeholder posters generated using [this utility](https://github.com/bullmoose20/Plex-Stuff#create_poster) and [this font](https://github.com/meisnate12/Plex-Meta-Manager-Images/blob/master/Comfortaa-Bold.ttf)