From 1f75072466b5f7ec572c035a728f5b2ab8ea197d Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Mon, 16 Oct 2023 14:39:54 -0600 Subject: [PATCH] - Better per-decade, per-genre configs for movies - Add per-decade for TV shows --- .../general/movies_collections_general.yml | 121 +++++++++++++++++- .../general/shows_collections_general.yml | 31 +++++ plex/pmm/templates/dynamic_collections.yml | 24 +++- 3 files changed, 163 insertions(+), 13 deletions(-) diff --git a/plex/pmm/collections/general/movies_collections_general.yml b/plex/pmm/collections/general/movies_collections_general.yml index 01c196b..2df53a8 100644 --- a/plex/pmm/collections/general/movies_collections_general.yml +++ b/plex/pmm/collections/general/movies_collections_general.yml @@ -123,32 +123,107 @@ collections: visible_home: true visible_shared: true + # Top 10s movies via IMDB, updated monthly + "Best of the 1910s": + template: { name: Decade, + level: "+" } + summary: "IMDb's top movies of the 1910s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1910.jpg + imdb_list: + - https://www.imdb.com/search/title/?title_type=movie&release_date=1910-01-01,1919-12-31&num_votes=1000,&sort=user_rating,desc + schedule: monthly(1) + visible_home: false + visible_shared: true + + # Top 20s movies via IMDB, updated monthly + "Best of the 1920s": + template: { name: Decade, + level: "+" } + summary: "IMDb's top movies of the 1920s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1920.jpg + imdb_list: + - https://www.imdb.com/search/title/?title_type=movie&release_date=1920-01-01,1929-12-31&num_votes=1000,&sort=user_rating,desc + schedule: monthly(1) + visible_home: false + visible_shared: true + + # Top 30s movies via IMDB, updated monthly + "Best of the 1930s": + template: { name: Decade, + level: "+" } + summary: "IMDb's top movies of the 1930s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1930.jpg + imdb_list: + - https://www.imdb.com/search/title/?title_type=movie&release_date=1930-01-01,1939-12-31&num_votes=1000,&sort=user_rating,desc + schedule: monthly(1) + visible_home: false + visible_shared: true + + # Top 40s movies via IMDB, updated monthly + "Best of the 1940s": + template: { name: Decade, + level: "+" } + summary: "IMDb's top movies of the 1940s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1940.jpg + imdb_list: + - https://www.imdb.com/search/title/?title_type=movie&release_date=1940-01-01,1949-12-31&num_votes=1000,&sort=user_rating,desc + schedule: monthly(1) + visible_home: false + visible_shared: true + + # Top 50s movies via IMDB, updated monthly + "Best of the 1950s": + template: { name: Decade, + level: "+" } + summary: "IMDb's top movies of the 1950s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg + imdb_list: + - https://www.imdb.com/search/title/?title_type=movie&release_date=1950-01-01,1959-12-31&num_votes=1000,&sort=user_rating,desc + schedule: monthly(1) + visible_home: false + visible_shared: true + + # Top 60s movies via IMDB, updated monthly + "Best of the 1960s": + template: { name: Decade, + level: "+" } + summary: "IMDb's top movies of the 1960s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1960.jpg + imdb_list: + - https://www.imdb.com/search/title/?title_type=movie&release_date=1960-01-01,1969-12-31&num_votes=1000,&sort=user_rating,desc + schedule: monthly(1) + visible_home: false + visible_shared: true + # Top 70s movies via IMDB, updated monthly - "Best of the 70s": + "Best of the 1970s": template: { name: Decade, level: "+" } summary: "IMDb's top movies of the 1970s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1970.jpg imdb_list: - - https://www.imdb.com/search/title/?title_type=tv_series&release_date=1970-01-01,1979-12-31&num_votes=1000,&sort=user_rating,desc + - https://www.imdb.com/search/title/?title_type=movie&release_date=1970-01-01,1979-12-31&num_votes=1000,&sort=user_rating,desc schedule: monthly(1) visible_home: false visible_shared: true # Top 80s movies via RottenTomatoes, updated monthly - "Best of the 80s": + "Best of the 1980s": template: { name: Decade, level: "+" } summary: "RottenTomatoes' top movies of the 1980s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1980.jpg mdblist_list: https://mdblist.com/lists/hdlists/rottentomatoes-com-s-best-of-the-80s schedule: monthly(1) visible_home: false visible_shared: true # Top 90s movies via RottenTomatoes, updated monthly - "Best of the 90s": + "Best of the 1990s": template: { name: Decade, level: "+" } summary: "RottenTomatoes' top movies of the 1990s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1990.jpg mdblist_list: https://mdblist.com/lists/hdlists/rottentomatoes-com-s-best-of-the-90s schedule: monthly(1) visible_home: false @@ -159,6 +234,7 @@ collections: template: { name: Decade, level: "+" } summary: "RottenTomatoes' top movies of the 2000s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/2000.jpg mdblist_list: https://mdblist.com/lists/hdlists/best-of-the-00s schedule: monthly(1) visible_library: true @@ -170,6 +246,7 @@ collections: template: { name: Decade, level: "+" } summary: "RottenTomatoes' top movies of the 2010s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/2010.jpg mdblist_list: https://mdblist.com/lists/hdlists/best-of-the-2010s schedule: monthly(1) visible_library: true @@ -181,8 +258,9 @@ collections: template: { name: Decade, level: "+" } summary: "IMDb's top movies of the 2020s" + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/2020.jpg imdb_list: - - https://www.imdb.com/search/title/?title_type=tv_series&release_date=2020-01-01,2029-12-31&num_votes=5000,&languages=en&sort=user_rating,desc + - https://www.imdb.com/search/title/?title_type=movie&release_date=2020-01-01,2029-12-31&num_votes=5000,&languages=en&sort=user_rating,desc schedule: - weekly(wednesday) - weekly(sunday) @@ -476,7 +554,38 @@ dynamic_collections: ending: current_year title_format: Best of <> template: - - Best_of_Year + - Movies_Best_of_Year + + Best of Decade DC: # mapping name does not matter just needs to be unique + type: custom + data: + 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 + template_variables: + ending: + twenties: 1929 + thirties: 1939 + forties: 1949 + fifties: 1959 + sixties: 1969 + seventies: 1979 + eighties: 1989 + nineties: 1999 + two_thousands: 2009 + twenty_tens: 2019 + twenty_twenties: 2029 + title_format: Best of the <>s + template: + - Per_Decade The A List: # mapping name DOES matter, since this isn't based on a template type: tmdb_popular_people diff --git a/plex/pmm/collections/general/shows_collections_general.yml b/plex/pmm/collections/general/shows_collections_general.yml index e51e94b..e55a361 100644 --- a/plex/pmm/collections/general/shows_collections_general.yml +++ b/plex/pmm/collections/general/shows_collections_general.yml @@ -778,3 +778,34 @@ dynamic_collections: # title_format: <> (Actor) # template: # - Per_Actor + + Best of Decade DC: # mapping name does not matter just needs to be unique + type: custom + data: + 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 + template_variables: + ending: + twenties: 1929 + thirties: 1939 + forties: 1949 + fifties: 1959 + sixties: 1969 + seventies: 1979 + eighties: 1989 + nineties: 1999 + two_thousands: 2009 + twenty_tens: 2019 + twenty_twenties: 2029 + title_format: Best of the <>s + template: + - Per_Decade diff --git a/plex/pmm/templates/dynamic_collections.yml b/plex/pmm/templates/dynamic_collections.yml index 004104e..c3bbfd0 100644 --- a/plex/pmm/templates/dynamic_collections.yml +++ b/plex/pmm/templates/dynamic_collections.yml @@ -1,7 +1,7 @@ templates: # Dynamic Collections Templates # ----------------------------- - Best_of_Year: + Movies_Best_of_Year: default: level: "" trakt_list: https://trakt.tv/users/lish408/lists/rotten-tomatoes-best-of-<> @@ -15,6 +15,20 @@ templates: visible_shared: false visible_home: false schedule: monthly(1) + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/year/best/<>.jpg + + Per_Decade: + smart_filter: + sort_by: audience_rating.desc + all: + year.gte: <> + year.lte: <> + sort_title: 08_+<>_<> + visible_library: true + visible_shared: false + visible_home: false + schedule: monthly(17) + url_poster: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Decades/<>.png Per_Genre: smart_filter: @@ -29,6 +43,7 @@ templates: visible_shared: false visible_home: false schedule: weekly(saturday) + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/genre/<>.jpg Per_Actor: smart_filter: @@ -71,12 +86,7 @@ templates: visible_shared: false visible_home: false schedule: weekly(saturday) - - Per_Network: - smart_filter: - sort_by: critic_rating.desc - all: - network: <> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/country/color/<>.jpg Per_Holiday: default: