- Adjust dynamic collections

This commit is contained in:
nharris 2022-12-09 16:38:06 -07:00
parent 1a0f3702c5
commit 85383971ab
3 changed files with 114 additions and 63 deletions

View File

@ -2,24 +2,7 @@
external_templates: external_templates:
- repo: templates/collections - repo: templates/collections
- repo: templates/dynamic_collections
templates:
# Dynamic Collections Templates
# -----------------------------
Best_of_Year:
default:
level: ""
trakt_list: https://trakt.tv/users/lish408/lists/rotten-tomatoes-best-of-<<key>>
sort_title: 08_+<<level>>_Best of <<key>>
sync_mode: sync
summary: Rotten Tomatoes Best Movies of <<key>>
collection_order: release
collection_minimum: 3
delete_below_minimum: true
visible_library: true
visible_shared: false
visible_home: false
schedule: monthly(1)
collections: collections:
### New Content ### New Content
@ -466,12 +449,26 @@ dynamic_collections:
Per-Actor DC: # mapping name does not matter just needs to be unique Per-Actor DC: # mapping name does not matter just needs to be unique
type: actor type: actor
data: data:
depth: 5 # must be in top X billed actors for a given movie for the movie to be added depth: 10 # must be in top X billed actors for a given movie for the movie to be added
minimum: 10 # actor must be in at least X movies to have a collection made minimum: 10 # actor must be in at least X movies to have a collection made
title_format: <<key_name>> (Actor)
template:
- Per_Actor
Per-Director DC: # mapping name does not matter just needs to be unique
type: director
data:
depth: 10 # must be in top X billed directors for a given movie for the movie to be added
minimum: 10 # director must be in at least X movies to have a collection made
title_format: <<key_name>> (Director)
template:
- Per_Director
Per-Country DC: # mapping name does not matter just needs to be unique Per-Country DC: # mapping name does not matter just needs to be unique
type: country type: country
title_format: Top <<key_name>> Cinema title_format: Top <<key_name>> Cinema
template:
- Per_Country
key_name_override: key_name_override:
France: French France: French
Germany: German Germany: German
@ -510,4 +507,5 @@ dynamic_collections:
exclude: exclude:
- Talk Show - Talk Show
title_format: Top <<key_name>> <<library_type>>s title_format: Top <<key_name>> <<library_type>>s
template:
- Per_Genre

View File

@ -88,47 +88,16 @@ templates:
visible_library: true visible_library: true
url_poster: <<poster_url>> url_poster: <<poster_url>>
Person: Genre:
default: default:
level: "" level: ""
smart_filter: optional:
sort_by: release.desc - poster_url
any:
actor: tmdb
director: tmdb
producer: tmdb
writer: tmdb
tmdb_person: <<person>>
sort_title: 07_+<<level>>_<<collection_name>> sort_title: 07_+<<level>>_<<collection_name>>
sync_mode: append sync_mode: sync
visible_library: true schedule: weekly(wednesday), weekly(sunday)
Actor:
default:
level: ""
tmdb_actor_details: <<person>>
sort_title: 07_+<<level>>_<<collection_name>>
sync_mode: append
collection_order: custom
visible_library: true
Director:
default:
level: ""
tmdb_director_details: <<person>>
sort_title: 07_+<<level>>_<<collection_name>>
sync_mode: append
collection_order: custom
visible_library: true
Producer:
default:
level: ""
tmdb_producer_details: <<person>>
sort_title: 07_+<<level>>_<<collection_name>>
sync_mode: append
collection_order: custom
visible_library: true visible_library: true
url_poster: <<poster_url>>
Decade: Decade:
default: default:
@ -142,16 +111,47 @@ templates:
visible_library: true visible_library: true
url_poster: <<poster_url>> url_poster: <<poster_url>>
Genre: Person:
default: default:
level: "" level: ""
optional: smart_filter:
- poster_url sort_by: release.desc
any:
actor: tmdb
director: tmdb
producer: tmdb
writer: tmdb
tmdb_person: <<person>>
sort_title: 09_+<<level>>_<<collection_name>> sort_title: 09_+<<level>>_<<collection_name>>
sync_mode: sync sync_mode: append
schedule: weekly(wednesday), weekly(sunday) visible_library: true
Actor:
default:
level: ""
tmdb_actor_details: <<person>>
sort_title: 09_+<<level>>_<<collection_name>>
sync_mode: append
collection_order: custom
visible_library: true
Director:
default:
level: ""
tmdb_director_details: <<person>>
sort_title: 09_+<<level>>_<<collection_name>>
sync_mode: append
collection_order: custom
visible_library: true
Producer:
default:
level: ""
tmdb_producer_details: <<person>>
sort_title: 09_+<<level>>_<<collection_name>>
sync_mode: append
collection_order: custom
visible_library: true visible_library: true
url_poster: <<poster_url>>
Studio: Studio:
default: default:

View File

@ -0,0 +1,53 @@
templates:
# Dynamic Collections Templates
# -----------------------------
Best_of_Year:
default:
level: ""
trakt_list: https://trakt.tv/users/lish408/lists/rotten-tomatoes-best-of-<<key>>
sort_title: 08_+<<level>>_Best of <<key>>
sync_mode: sync
summary: Rotten Tomatoes Best Movies of <<key>>
collection_order: release
collection_minimum: 3
delete_below_minimum: true
visible_library: true
visible_shared: false
visible_home: false
schedule: monthly(1)
Per_Genre:
default:
level: ""
sort_title: 07_+<<level>>_<<key>>
visible_library: true
visible_shared: false
visible_home: false
schedule: weekly(saturday)
Per_Actor:
default:
level: ""
sort_title: 09_+<<level>>_<<key>>
visible_library: true
visible_shared: false
visible_home: false
schedule: weekly(thursday), weekly(monday)
Per_Director:
default:
level: ""
sort_title: 09_+<<level>>_<<key>>
visible_library: true
visible_shared: false
visible_home: false
schedule: weekly(friday), weekly(tuesday)
Per_Country:
default:
level: ""
sort_title: 11_+<<level>>_<<key>>
visible_library: true
visible_shared: false
visible_home: false
schedule: weekly(saturday)