From f67ebb1d580b3a7671026068c58a62679135b654 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Thu, 14 Dec 2023 16:17:39 -0700 Subject: [PATCH] - Fix key vs key_name in Per-Decade collections --- plex/pmm/collections/decades/movies.yml | 14 +++++++++++++- plex/pmm/collections/decades/shows.yml | 16 +++++++++++++++- plex/pmm/templates/dynamic_collections.yml | 8 ++++---- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/plex/pmm/collections/decades/movies.yml b/plex/pmm/collections/decades/movies.yml index de1ad4f..fa3450d 100644 --- a/plex/pmm/collections/decades/movies.yml +++ b/plex/pmm/collections/decades/movies.yml @@ -6,7 +6,7 @@ dynamic_collections: ## Use DC as suffix to avoid name conflicts with static collections ## These get generated in the order they are listed here, so put the more intensive ones at the bottom - Best of Decade DC Movies: # mapping name does not matter just needs to be unique + Best of Decade Movies DC: # mapping name does not matter just needs to be unique type: custom data: twenties: 1920 @@ -21,6 +21,18 @@ dynamic_collections: twenty_tens: 2010 twenty_twenties: 2020 template_variables: + starting: + twenties: 1920 + thirties: 1930 + forties: 1940 + fifties: 1950 + sixties: 1960 + seventies: 1970 + eighties: 1980 + nineties: 1990 + two_thousands: 2000 + twenty_tens: 2010 + twenty_twenties: 2020 ending: twenties: 1929 thirties: 1939 diff --git a/plex/pmm/collections/decades/shows.yml b/plex/pmm/collections/decades/shows.yml index 3825f97..09832a5 100644 --- a/plex/pmm/collections/decades/shows.yml +++ b/plex/pmm/collections/decades/shows.yml @@ -6,9 +6,10 @@ dynamic_collections: ## Use DC as suffix to avoid name conflicts with static collections ## These get generated in the order they are listed here, so put the more intensive ones at the bottom - Best of Decade DC: # mapping name does not matter just needs to be unique + Best of Decade Shows DC: # mapping name does not matter just needs to be unique type: custom data: + twenties: 1920 thirties: 1930 forties: 1940 fifties: 1950 @@ -20,7 +21,20 @@ dynamic_collections: twenty_tens: 2010 twenty_twenties: 2020 template_variables: + starting: + twenties: 1920 + thirties: 1930 + forties: 1940 + fifties: 1950 + sixties: 1960 + seventies: 1970 + eighties: 1980 + nineties: 1990 + two_thousands: 2000 + twenty_tens: 2010 + twenty_twenties: 2020 ending: + twenties: 1929 thirties: 1939 forties: 1949 fifties: 1959 diff --git a/plex/pmm/templates/dynamic_collections.yml b/plex/pmm/templates/dynamic_collections.yml index c167dfa..73830e1 100644 --- a/plex/pmm/templates/dynamic_collections.yml +++ b/plex/pmm/templates/dynamic_collections.yml @@ -10,14 +10,14 @@ templates: smart_filter: sort_by: audience_rating.desc all: - year.gte: <> + year.gte: <> year.lte: <> - sort_title: 080_+<>_<> - url_poster: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Decades/<>.png + sort_title: 080_+<>_<> + url_poster: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Decades/<>.png visible_library: false visible_shared: false visible_home: false - schedule: monthly(14) + schedule: monthly(15) Per_Genre: smart_filter: