- Use collection templates for dynamic_collections (consolidate sort_title)

- Remove unused per-holiday dynamic collection template
This commit is contained in:
nwithan8 2023-11-17 17:35:26 -07:00
parent 0059261b4c
commit 13930382da
1 changed files with 16 additions and 66 deletions

View File

@ -1,42 +1,42 @@
external_templates:
- repo: templates/collections
templates: 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>>
visible_library: false visible_library: false
visible_shared: false visible_shared: false
visible_home: false visible_home: false
schedule: monthly(17)
collection_order: random collection_order: random
url_poster: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Decades/<<key>>.png
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>>
visible_library: false visible_library: false
visible_shared: false visible_shared: false
visible_home: false visible_home: false
schedule: weekly(saturday)
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/genre/<<key_name>>.jpg
Per_Actor: Per_Actor:
template: { name: Actor,
level: ""}
smart_filter: smart_filter:
any: any:
actor: <<value>> actor: <<value>>
default:
level: ""
sort_title: 090_+<<level>>_<<key>>
collection_order: release.asc collection_order: release.asc
visible_library: false visible_library: false
visible_shared: false visible_shared: false
@ -46,12 +46,11 @@ templates:
- weekly(monday) - weekly(monday)
Per_Director: Per_Director:
template: { name: Director,
level: ""}
smart_filter: smart_filter:
any: any:
director: <<value>> director: <<value>>
default:
level: ""
sort_title: 090_+<<level>>_<<key>>
collection_order: release.asc collection_order: release.asc
visible_library: false visible_library: false
visible_shared: false visible_shared: false
@ -61,65 +60,16 @@ templates:
- weekly(tuesday) - weekly(tuesday)
Per_Country: Per_Country:
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: 11_+<<level>>_<<key_name>>
collection_order: random collection_order: random
visible_library: false visible_library: false
visible_shared: false visible_shared: false
visible_home: false visible_home: false
schedule: weekly(saturday)
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/country/white/<<key_name>>.jpg
Per_Holiday:
default:
level: ""
sync_mode: sync
sync_mode_<<key>>: <<sync_mode>>
sort_by: title.asc
sort_by_<<key>>: <<sort_by>>
schedule_<<key>>: <<schedule>>
limit_<<key>>: <<limit>>
tmdb_collection_<<key>>: <<tmdb_collection>>
tmdb_movie_<<key>>: <<tmdb_movie>>
imdb_list_<<key>>: <<imdb_list>>
trakt_list_<<key>>: <<trakt_list>>
mdblist_list_<<key>>: <<mdblist_list>>
summary_<<key>>: <<seasonal_summary>>
name_<<key>>: <<key>>
emoji_<<key>>: <<emoji>>
optional:
- poster_url
- schedule
- tmdb_collection
- tmdb_movie
- limit
- imdb_list
- trakt_list
- mdblist_list
smart_label:
sort_by: <<sort_by_<<key>>>>
limit: <<limit_<<key>>>>
all:
label: <<smart_label>>
schedule: <<schedule_<<key>>>>
sync_mode: <<sync_mode_<<key>>>>
collection_order: random
tmdb_collection: <<tmdb_collection_<<key>>>>
tmdb_movie: <<tmdb_movie_<<key>>>>
imdb_list: <<imdb_list_<<key>>>>
trakt_list: <<trakt_list_<<key>>>>
mdblist_list: <<mdblist_list_<<key>>>>
cache_builders: 1
summary: <<summary_<<key>>>>
name: <<emoji_<<key>>>><<name_<<key>>>>
sort_title: 060_+<<level>>_<<collection_name>>
visible_shared: true
visible_home: true
url_poster: <<poster_url>>