From 5bb5b225e078231972377e050866f097e8354dc3 Mon Sep 17 00:00:00 2001 From: nharris Date: Tue, 24 Jan 2023 22:35:56 -0700 Subject: [PATCH] - Add collections for each Best Actor/Actress nominee --- .../TVShows/TV_Shows_collections.yml | 11 ++ .../movies_collections_awards_general.yml | 102 +++++++++++++++++- plex/pmm/templates/collections.yml | 12 +++ plex/pmm/templates/dynamic_collections.yml | 4 +- plex/pmm/tips_and_tricks.md | 2 + 5 files changed, 128 insertions(+), 3 deletions(-) diff --git a/plex/pmm/collections/TVShows/TV_Shows_collections.yml b/plex/pmm/collections/TVShows/TV_Shows_collections.yml index b231c9d..321ece1 100644 --- a/plex/pmm/collections/TVShows/TV_Shows_collections.yml +++ b/plex/pmm/collections/TVShows/TV_Shows_collections.yml @@ -116,3 +116,14 @@ collections: visible_home: false visible_shared: false + "Top 100 Simpsons Episodes": + collection_order: custom + builder_level: episode + smart_filter: + type: episodes + sort_by: audience_rating.desc + limit: 100 + all: + title.ends: "Simpsons" + summary: A collection of the highest-rated Simpsons episodes. + diff --git a/plex/pmm/collections/general/movies_collections_awards_general.yml b/plex/pmm/collections/general/movies_collections_awards_general.yml index f0fba11..ccd12b2 100644 --- a/plex/pmm/collections/general/movies_collections_awards_general.yml +++ b/plex/pmm/collections/general/movies_collections_awards_general.yml @@ -56,6 +56,9 @@ templates: collections: + ### This year's Academy Awards + # --------------------------------- + # This current year's Best Picture Oscar nominees # Only visible on home screen during Oscar season "This Year's Best Picture Nominees": @@ -82,13 +85,108 @@ collections: # Only visible on home screen during Oscar season "This Year's Best Actress Nominees": # TODO: NEED TO BUILD MANUALLY - template: { name: Holiday, + template: { name: Award, level: "+++++" } summary: "Who will take home the trophy?" schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch visible_home: range(02/01-03/31) visible_shared: range(02/01-03/31) + ### This year's Per-Best Actor Collections + # --------------------------------- + + # This current year's Best Actor Oscar nominees + # Only visible on home screen during Oscar season + + "2023 Best Actor Nominee - Austin Butler": + template: { name: ActorAward, + level: "+++++", + tmdb: 86654 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actor Nominee - Colin Farrell": + template: { name: ActorAward, + level: "+++++", + tmdb: 72466 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actor Nominee - Brendan Fraser": + template: { name: ActorAward, + level: "+++++", + tmdb: 18269 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actor Nominee - Paul Mescal": + template: { name: ActorAward, + level: "+++++", + tmdb: 2326151 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actor Nominee - Bill Nighy": + template: { name: ActorAward, + level: "+++++", + tmdb: 2440 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + + ### This year's Per-Best Actress Collections + # --------------------------------- + + # This current year's Best Actress Oscar nominees + # Only visible on home screen during Oscar season + + "2023 Best Actress Nominee - Cate Blanchett": + template: { name: ActorAward, + level: "+++++", + tmdb: 112 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actress Nominee - Ana de Armas": + template: { name: ActorAward, + level: "+++++", + tmdb: 224513 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actress Nominee - Andrea Riseborough": + template: { name: ActorAward, + level: "+++++", + tmdb: 127558 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actress Nominee - Michelle Williams": + template: { name: ActorAward, + level: "+++++", + tmdb: 1812 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + "2023 Best Actress Nominee - Michelle Yeoh": + template: { name: ActorAward, + level: "+++++", + tmdb: 1620 } + schedule: yearly(02/01), yearly(04/01) # You have to schedule it to run before and after visibility timeframe for visibility to switch + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + + # This current year's Oscar nominees (all) # Only visible on home screen during Oscar season "This Year's Oscar Nominees": @@ -103,6 +201,8 @@ collections: visible_shared: range(02/01-03/31) ### Historical Awards + # --------------------------------- + # All past Oscar-winning movies (not just Best Picture) # Only visible on home screen during Oscar season "Past Oscar Winners": diff --git a/plex/pmm/templates/collections.yml b/plex/pmm/templates/collections.yml index 977333a..47be425 100644 --- a/plex/pmm/templates/collections.yml +++ b/plex/pmm/templates/collections.yml @@ -76,6 +76,18 @@ templates: visible_library: true url_poster: <> + ActorAward: + default: + level: "" + smart_filter: # smart filter means Plex will automatically update the collection when new movies are added, rather than having to rerun the script + all: + actor: tmdb + tmdb_person: <> + sort_title: 05_+<>_<> + sync_mode: append + schedule: weekly(wednesday), weekly(sunday) + visible_library: true + Collection: default: level: "" diff --git a/plex/pmm/templates/dynamic_collections.yml b/plex/pmm/templates/dynamic_collections.yml index 4a42d9d..cd1f2cd 100644 --- a/plex/pmm/templates/dynamic_collections.yml +++ b/plex/pmm/templates/dynamic_collections.yml @@ -31,7 +31,7 @@ templates: schedule: weekly(saturday) Per_Actor: - plex_search: + smart_filter: any: actor: <> default: @@ -43,7 +43,7 @@ templates: schedule: weekly(thursday), weekly(monday) Per_Director: - plex_search: + smart_filter: any: director: <> default: diff --git a/plex/pmm/tips_and_tricks.md b/plex/pmm/tips_and_tricks.md index 79c5ad8..4101224 100644 --- a/plex/pmm/tips_and_tricks.md +++ b/plex/pmm/tips_and_tricks.md @@ -77,6 +77,8 @@ Prefix suggestions: - any: - criteria1 - criteria2 + - Recommended to use `smart_filter` over `plex_search` when possible, as `smart_filter` means Plex will keep the + list updated based on the criteria, rather than Plex Meta Manager having to re-run the builder every time - All other rules: Use, i.e., `collection_level: episodes`, to limit collection to [specific type](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Metadata-Details#metadata-details)