From 94f20a3fea607238cb14c8b3c95b7a172d695495 Mon Sep 17 00:00:00 2001 From: nharris Date: Fri, 14 Oct 2022 15:49:48 -0600 Subject: [PATCH] - Rearrange files - Consolidate templates, import when needed - Experiment with dynamic collections --- .../4KMovies/4K_Movies_Collections.yml | 3 - .../4KMovies/4K_Movies_collections.yml | 6 + .../collections/Movies/Movies_Collections.yml | 845 ------------------ .../Movies/Movies_Collections_In_Memoriam.yml | 32 - .../collections/Movies/Movies_collections.yml | 7 + .../TV_Shows_Collections_In_Memoriam.yml | 31 - ...llections.yml => TV_Shows_collections.yml} | 187 ++-- .../movies_collections_awards_general.yml | 288 ++++++ .../general/movies_collections_general.yml | 287 +++--- .../movies_collections_holidays_general | 0 ...movies_collections_in_memoriam_general.yml | 6 + .../shows_collections_awards_general.yml | 0 .../general/shows_collections_general.yml | 182 +--- .../shows_collections_holidays_general.yml | 0 .../shows_collections_in_memoriam_general.yml | 6 + .../general/movies_playlists_general.yml | 3 + .../general/shows_playlists_general.yml | 3 + plex/pmm/templates/collections.yml | 175 ++++ plex/pmm/templates/playlists.yml | 1 + plex/pmm/tips_and_tricks.md | 39 + 20 files changed, 712 insertions(+), 1389 deletions(-) delete mode 100644 plex/pmm/collections/4KMovies/4K_Movies_Collections.yml create mode 100644 plex/pmm/collections/4KMovies/4K_Movies_collections.yml delete mode 100644 plex/pmm/collections/Movies/Movies_Collections.yml delete mode 100644 plex/pmm/collections/Movies/Movies_Collections_In_Memoriam.yml create mode 100644 plex/pmm/collections/Movies/Movies_collections.yml delete mode 100644 plex/pmm/collections/TVShows/TV_Shows_Collections_In_Memoriam.yml rename plex/pmm/collections/TVShows/{TV_Shows_Collections.yml => TV_Shows_collections.yml} (82%) create mode 100644 plex/pmm/collections/general/movies_collections_awards_general.yml create mode 100644 plex/pmm/collections/general/movies_collections_holidays_general create mode 100644 plex/pmm/collections/general/movies_collections_in_memoriam_general.yml create mode 100644 plex/pmm/collections/general/shows_collections_awards_general.yml create mode 100644 plex/pmm/collections/general/shows_collections_holidays_general.yml create mode 100644 plex/pmm/collections/general/shows_collections_in_memoriam_general.yml create mode 100644 plex/pmm/templates/collections.yml create mode 100644 plex/pmm/templates/playlists.yml diff --git a/plex/pmm/collections/4KMovies/4K_Movies_Collections.yml b/plex/pmm/collections/4KMovies/4K_Movies_Collections.yml deleted file mode 100644 index e381a30..0000000 --- a/plex/pmm/collections/4KMovies/4K_Movies_Collections.yml +++ /dev/null @@ -1,3 +0,0 @@ -# Collections specific to Movies (4K) - -colletions: diff --git a/plex/pmm/collections/4KMovies/4K_Movies_collections.yml b/plex/pmm/collections/4KMovies/4K_Movies_collections.yml new file mode 100644 index 0000000..084247c --- /dev/null +++ b/plex/pmm/collections/4KMovies/4K_Movies_collections.yml @@ -0,0 +1,6 @@ +# Collections specific to Movies (4K) + +external_templates: + - file: templates/collections.yml + +collections: diff --git a/plex/pmm/collections/Movies/Movies_Collections.yml b/plex/pmm/collections/Movies/Movies_Collections.yml deleted file mode 100644 index d0a4898..0000000 --- a/plex/pmm/collections/Movies/Movies_Collections.yml +++ /dev/null @@ -1,845 +0,0 @@ -# Collections specific to Movies - -templates: - Chart: - default: - level: "" - sort_title: <>+01_<> - sync_mode: sync - collection_order: custom - schedule: daily - visible_library: true - - Holiday: - default: - level: "" - sort_title: <>+02_<> - sync_mode: sync - collection_order: custom - schedule: never - visible_library: true - - Studio: - default: - level: "" - sort_title: <>+03_<> - sync_mode: sync - collection_order: custom - schedule: daily - visible_library: true - - Genre: - default: - level: "" - sort_title: <>+04_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Country: - default: - level: "" - sort_title: <>+05_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Award: - default: - level: "" - sort_title: <>+06_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Collection: - default: - level: "" - sort_title: <>+07_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Decade: - default: - level: "" - sort_title: <>+08_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Person: - default: - level: "" - smart_filter: - sort_by: release.desc - any: - actor: tmdb - director: tmdb - producer: tmdb - writer: tmdb - tmdb_person: <> - sort_title: <>+09_<> - sync_mode: append - visible_library: true - - Actor: - default: - level: "" - tmdb_actor_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Director: - default: - level: "" - tmdb_director_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Producer: - default: - level: "" - tmdb_producer_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - General: - default: - level: "" - sort_title: <>+10_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - -collections: - ### Trending - "What Everyone Is Watching": - template: { name: Chart, - level: "++" } - summary: "What other subscribers are checking out" - libraries: "Movies" - tautulli_popular: - list_days: 30 - list_size: 15 - list_minimum: 2 - visible_home: false - visible_shared: true - - ### Current Awards - "2022 Best Picture Nominees": - # TODO: NEED TO BUILD MANUALLY - template: { name: Award, - level: "++++++" } - summary: "Who will take home the trophy?" - schedule: never - visible_home: range(02/01-03/31) - visible_shared: range(02/01-03/31) - - "2022 Best Actor Nominees": - # TODO: NEED TO BUILD MANUALLY - template: { name: Award, - level: "+++++" } - summary: "Who will take home the trophy?" - schedule: never - visible_home: range(02/01-03/31) - visible_shared: range(02/01-03/31) - - "2022 Best Actress Nominees": - # TODO: NEED TO BUILD MANUALLY - template: { name: Holiday, - level: "+++++" } - summary: "Who will take home the trophy?" - schedule: never - visible_home: range(02/01-03/31) - visible_shared: range(02/01-03/31) - - "2022 Oscar Nominees": - summary: "Who will take home the trophy?" - template: { name: Award, - level: "++++" } - trakt_list: - # TODO: NEED TO REPLACE MANUALLY - - https://trakt.tv/users/jcbwoldseth/lists/oscar-race-2022 - schedule: yearly(02/20) - visible_home: range(02/01-03/31) - visible_shared: range(02/01-03/31) - - ### Historical Awards - "Past Oscar Winners": - summary: "Oscar-winning Movies" - template: { name: Award, - level: "++" } - imdb_list: - - https://www.imdb.com/search/title/?title_type=feature,documentary&groups=oscar_winner - schedule: yearly(03/28) - visible_home: range(02/01-03/31) - visible_shared: range(02/01-03/31) - - "Past Best Picture Winners": - template: { name: Award, - level: "++" } - summary: "Previous Oscar Best Picture winners" - imdb_list: - - https://www.imdb.com/search/title/?count=250&groups=oscar_best_picture_winners&sort=year%2Cdesc - schedule: yearly(04/01), yearly(01/01) # in case list wasn't updated in April, check again in January next year - visible_home: range(02/01-03/31) - visible_shared: range(02/01-03/31) - - "Past Worst Picture Winners": - template: { name: Award, - level: "++" } - summary: "Previous Razzie Worst Picture winners" - mdblist_list: https://mdblist.com/lists/hdlists/razzie-awards-worst-picture-winners - schedule: yearly(04/01), yearly(01/01) # in case list wasn't updated in April, check again in January next year - visible_home: range(02/01-03/31) - visible_shared: range(02/01-03/31) - - "Past Cannes Palme d'or Winners": - summary: "The Palme d'Or is the highest prize awarded at the Cannes Film Festival. It was introduced in 1955 by the organising committee." - template: { name: Award, - level: "++" } - trakt_list: https://trakt.tv/users/sp1ti/lists/cannes-palme-d-or-winners - schedule: yearly(06/01) - visible_home: range(06/01-06/30) - visible_shared: range(06/01-06/30) - - "Past Cesar Award Winners": - summary: "The César Award is the national film award of France. It is delivered in the Nuit des César ceremony and was first awarded in 1976." - template: { name: Award, - level: "++" } - trakt_list: https://trakt.tv/users/fauxliege/lists/cesar-meilleur-film - schedule: yearly(03/14) - visible_home: range(03/14-03/31) - visible_shared: range(03/14-03/31) - - "Past Berlinale Winners": - summary: "The Berlin International Film Festival, usually called the Berlinale, is a film festival held annually in Berlin, Germany." - template: { name: Award, - level: "++" } - trakt_list: https://trakt.tv/users/maxwelldeux/lists/berlin-international-film-festival-golden-bears - schedule: yearly(02/21) - visible_home: range(02/21-03/31) - visible_shared: range(02/21-03/31) - - "Past BAFTA Best Film Winners": - summary: "The EE British Academy Film Awards or BAFTA Film Awards are presented in an annual award show hosted by the British Academy of Film and Television Arts (BAFTA) to honour the best British and international contributions to film." - template: { name: Award, - level: "++" } - trakt_list: https://trakt.tv/users/maxwelldeux/lists/bafta-award-best-film - schedule: yearly(02/21) - visible_home: range(02/21-03/31) - visible_shared: range(02/21-03/31) - - "Past Venice Film Festival Winners": - summary: "The Venice Film Festival or Venice International Film Festival (Italian: Mostra Internazionale d'Arte Cinematografica della Biennale di Venezia is the world's oldest film festival" - template: { name: Award, - level: "++" } - trakt_list: https://trakt.tv/users/maxwelldeux/lists/venice-film-festival-golden-lion - schedule: yearly(02/21) - visible_home: range(02/21-03/31) - visible_shared: range(02/21-03/31) - - ### Seasonal - - ### People -# Adam Sandler: -# template: { name: Person, person: 19292 } -# Al Pacino: -# template: { name: Person, person: 1158 } -# Alfred Hitchcock: -# template: { name: Person, person: 2636 } -# Amy Adams: -# template: { name: Person, person: 9273 } -# Angelina Jolie: -# template: { name: Person, person: 11701 } -# Anne Hathaway: -# template: { name: Person, person: 1813 } -# Anthony Hopkins: -# template: { name: Person, person: 4173 } -# Antonio Banderas: -# template: { name: Person, person: 3131 } -# Arnold Schwarzenegger: -# template: { name: Person, person: 1100 } -# Ben Affleck: -# template: { name: Person, person: 880 } -# Ben Stiller: -# template: { name: Person, person: 7399 } -# Bill Murray: -# template: { name: Person, person: 1532 } -# Brad Pitt: -# template: { name: Person, person: 287 } -# Brendan Fraser: -# template: { name: Person, person: 18269 } -# Bruce Lee: -# template: { name: Person, person: 19429 } -# Bruce Willis: -# template: { name: Person, person: 62 } -# Cameron Diaz: -# template: { name: Person, person: 6941 } -# Carrie Fisher: -# template: { name: Person, person: 4 } -# Cate Blanchett: -# template: { name: Person, person: 112 } -# "Catherine Zeta-Jones": -# template: { name: Person, person: 1922 } -# Channing Tatum: -# template: { name: Person, person: 38673 } -# Charlie Chaplin: -# template: { name: Person, person: 13848 } -# Charlize Theron: -# template: { name: Person, person: 6885 } -# Christian Bale: -# template: { name: Person, person: 3894 } -# Chris Evans: -# template: { name: Person, person: 16828 } -# Chris Hemsworth: -# template: { name: Person, person: 74568 } -# Chris Pratt: -# template: { name: Person, person: 73457 } -# Chris Rock: -# template: { name: Person, person: 2632 } -# Christopher Nolan: -# template: { name: Person, person: 525 } -# Christopher Walken: -# template: { name: Person, person: 4690 } -# Chuck Norris: -# template: { name: Person, person: 51576 } -# Clint Eastwood: -# template: { name: Person, person: 190 } -# Coen Brothers: -# template: { name: Person, person: "1223, 1224" } -# Daniel Craig: -# template: { name: Person, person: 8784 } -# Dave Bautista: -# template: { name: Person, person: 543530 } -# Dave Chappelle: -# template: { name: Person, person: 4169 } -# Denzel Washington: -# template: { name: Person, person: 5292 } -# Diane Keaton: -# template: { name: Person, person: 3092 } -# Don Cheadle: -# template: { name: Person, person: 1896 } -# Dustin Hoffman: -# template: { name: Person, person: 4483 } -# Dwayne Johnson: -# template: { name: Person, person: 18918 } -# Eddie Murphy: -# template: { name: Person, person: 776 } -# Edward Norton: -# template: { name: Person, person: 819 } -# Elliot Page: -# template: { name: Person, person: 27578 } -# Emma Stone: -# template: { name: Person, person: 54693 } -# Emma Watson: -# template: { name: Person, person: 10990 } -# Ewan McGregor: -# template: { name: Person, person: 3061 } -# George Clooney: -# template: { name: Person, person: 1461 } -# Gerard Butler: -# template: { name: Person, person: 17276 } -# Harrison Ford: -# template: { name: Person, person: 3 } -# Hayao Miyazaki: -# template: { name: Person, person: 608 } -# Hugh Jackman: -# template: { name: Person, person: 6968 } -# Ian McKellen: -# template: { name: Person, person: 1327 } -# Ice Cube: -# template: { name: Person, person: 9778 } -# "J.J. Abrams": -# template: { name: Person, person: 15344 } -# Jack Black: -# template: { name: Person, person: 70851 } -# Jackie Chan: -# template: { name: Person, person: 18897 } -# James Cameron: -# template: { name: Person, person: 2710 } -# James Franco: -# template: { name: Person, person: 17051 } -# Jamie Foxx: -# template: { name: Person, person: 134 } -# Jason Bateman: -# template: { name: Person, person: 23532 } -# Jason Statham: -# template: { name: Person, person: 976 } -# Jeff Bridges: -# template: { name: Person, person: 1229 } -# Jeff Goldblum: -# template: { name: Person, person: 4785 } -# Jennifer Aniston: -# template: { name: Person, person: 4491 } -# Jennifer Lawrence: -# template: { name: Person, person: 72129 } -# Jesse Eisenberg: -# template: { name: Person, person: 44735 } -# Jessica Alba: -# template: { name: Person, person: 56731 } -# Jet Li: -# template: { name: Person, person: 1336 } -# Jim Carrey: -# template: { name: Person, person: 206 } -# John Candy: -# template: { name: Person, person: 7180 } -# John Travolta: -# template: { name: Person, person: 8891 } -# John Wayne: -# template: { name: Person, person: 4165 } -# Johnny Depp: -# template: { name: Person, person: 85 } -# Julia Roberts: -# template: { name: Person, person: 1204 } -# Kevin Bacon: -# template: { name: Person, person: 4724 } -# Kevin Costner: -# template: { name: Person, person: 1269 } -# Kevin Hart: -# template: { name: Person, person: 55638 } -# Kevin Smith: -# template: { name: Person, person: 19303 } -# Leonardo DiCaprio: -# template: { name: Person, person: 6193 } -# Liam Neeson: -# template: { name: Person, person: 3896 } -# Lucy Liu: -# template: { name: Person, person: 140 } -# "M. Night Shyamalan": -# template: { name: Person, person: 11614 } -# Mark Wahlberg: -# template: { name: Person, person: 13240 } -# Matt Damon: -# template: { name: Person, person: 1892 } -# Matthew McConaughey: -# template: { name: Person, person: 10297 } -# Megan Fox: -# template: { name: Person, person: 19537 } -# Mel Brooks: -# template: { name: Person, person: 14639 } -# Mel Gibson: -# template: { name: Person, person: 2461 } -# Melissa McCarthy: -# template: { name: Person, person: 55536 } -# Meryl Streep: -# template: { name: Person, person: 5064 } -# Michael Bay: -# template: { name: Person, person: 865 } -# Michael Caine: -# template: { name: Person, person: 3895 } -# Michael Keaton: -# template: { name: Person, person: 2232 } -# Mike Myers: -# template: { name: Person, person: 12073 } -# Mila Kunis: -# template: { name: Person, person: 18973 } -# Milla Jovovich: -# template: { name: Person, person: 63 } -# Morgan Freeman: -# template: { name: Person, person: 192 } -# Natalie Portman: -# template: { name: Person, person: 524 } -# Nicolas Cage: -# template: { name: Person, person: 2963 } -# Nicole Kidman: -# template: { name: Person, person: 2227 } -# Orlando Bloom: -# template: { name: Person, person: 114 } -# Owen Wilson: -# template: { name: Person, person: 887 } -# Patrick Stewart: -# template: { name: Person, person: 2387 } -# Quentin Tarantino: -# template: { name: Person, person: 138 } -# Reese Witherspoon: -# template: { name: Person, person: 368 } -# Ridley Scott: -# template: { name: Person, person: 578 } -# Robert De Niro: -# template: { name: Person, person: 380 } -# "Robert Downey Jr.": -# template: { name: Person, person: 3223 } -# Robin Williams: -# template: { name: Person, person: 2157 } -# Rosario Dawson: -# template: { name: Person, person: 5916 } -# Ryan Reynolds: -# template: { name: Person, person: 10859 } -# "Samuel L. Jackson": -# template: { name: Person, person: 2231 } -# Sandra Bullock: -# template: { name: Person, person: 18277 } -# Sacha Baron Cohen: -# template: { name: Person, person: 6730 } -# Scarlett Johansson: -# template: { name: Person, person: 1245 } -# Sean Connery: -# template: { name: Person, person: 738 } -# Seth Rogen: -# template: { name: Person, person: 19274 } -# Shia LaBeouf: -# template: { name: Person, person: 10959 } -# Steve Buscemi: -# template: { name: Person, person: 884 } -# Steve Carell: -# template: { name: Person, person: 4495 } -# Steve Martin: -# template: { name: Person, person: 67773 } -# Steven Seagal: -# template: { name: Person, person: 23880 } -# Steven Spielberg: -# template: { name: Person, person: 488 } -# Sylvester Stallone: -# template: { name: Person, person: 16483 } -# Tim Burton: -# template: { name: Person, person: 510 } -# Tom Cruise: -# template: { name: Person, person: 500 } -# Tom Hanks: -# template: { name: Person, person: 31 } -# Tommy Lee Jones: -# template: { name: Person, person: 2176 } -# Vin Diesel: -# template: { name: Person, person: 12835 } -# Vince Vaughn: -# template: { name: Person, person: 4937 } -# Wesley Snipes: -# template: { name: Person, person: 10814 } -# Will Ferrell: -# template: { name: Person, person: 23659 } -# Will Smith: -# template: { name: Person, person: 2888 } -# Woody Harrelson: -# template: { name: Person, person: 57755 } -# Zack Snyder: -# template: { name: Person, person: 15217 } -# Alan Arkin: -# template: { name: Person, person: 1903 } -# Alan Rickman: -# template: { name: Person, person: 4566 } -# Albert Finney: -# template: { name: Person, person: 3926 } -# Alec Baldwin: -# template: { name: Person, person: 7447 } -# Alec Guinness: -# template: { name: Person, person: 12248 } -# Alexandra Daddario: -# template: { name: Person, person: 109513 } -# Andy Serkis: -# template: { name: Person, person: 1333 } -# Ana De Armas: -# template: { name: Person, person: 224513 } -# Anya Taylor-Joy: -# template: { name: Person, person: 1397778 } -# Ben Kingsley: -# template: { name: Person, person: 2282 } -# Billy Boyd: -# template: { name: Person, person: 1329 } -# Billy Crystal: -# template: { name: Person, person: 7904 } -# Bradley Cooper: -# template: { name: Person, person: 51329 } -# Bradley Whitford: -# template: { name: Person, person: 11367 } -# Bryan Cranston: -# template: { name: Person, person: 17419 } -# Burt Lancaster: -# template: { name: Person, person: 13784 } -# Burt Reynolds: -# template: { name: Person, person: 16475 } -# Casey Kasem: -# template: { name: Person, person: 16418 } -# Cary Grant: -# template: { name: Person, person: 2638 } -# Casper Van Dien: -# template: { name: Person, person: 27763 } -# Charlton Heston: -# template: { name: Person, person: 10017 } -# Charlie Sheen: -# template: { name: Person, person: 6952 } -# "Chloë Grace Moretz": -# template: { name: Person, person: 56734 } -# Christoph Waltz: -# template: { name: Person, person: 27319 } -# Christopher Lee: -# template: { name: Person, person: 113 } -# Christopher Plummer: -# template: { name: Person, person: 290 } -# Cilian Murphy: -# template: { name: Person, person: 2037 } -# Clark Gable: -# template: { name: Person, person: 11492 } -# Colin Firth: -# template: { name: Person, person: 5472 } -# Connie Nielsen: -# template: { name: Person, person: 935 } -# Daniel Day-Lewis: -# template: { name: Person, person: 11856 } -# Danielle Panabaker: -# template: { name: Person, person: 31838 } -# Dominic Monaghan: -# template: { name: Person, person: 1330 } -# Elijah Wood: -# template: { name: Person, person: 109 } -# Ellen / Elliot Page: -# template: { name: Person, person: 27578 } -# Elizabeth Hurley: -# template: { name: Person, person: 13918 } -# Emily Blunt: -# template: { name: Person, person: 11701 } -# Ernie Hudson: -# template: { name: Person, person: 8874 } -# Evangeline Lilly: -# template: { name: Person, person: 19034 } -# Frank Welker: -# template: { name: Person, person: 15831 } -# Gal Gadot: -# template: { name: Person, person: 90633 } -# Gary Cooper: -# template: { name: Person, person: 4068 } -# Gary Oldman: -# template: { name: Person, person: 64 } -# Gene Hackman: -# template: { name: Person, person: 193 } -# Gene Kelly: -# template: { name: Person, person: 13294 } -# Geoffrey Rush: -# template: { name: Person, person: 118 } -# George C. Scott: -# template: { name: Person, person: 862 } -# George Carlin: -# template: { name: Person, person: 15903 } -# Goldie Hawn: -# template: { name: Person, person: 18892 } -# Gregory Peck: -# template: { name: Person, person: 8487 } -# Hailee Steinfeld: -# template: { name: Person, person: 130640 } -# Heath Ledger: -# template: { name: Person, person: 1810 } -# Helen Mirren: -# template: { name: Person, person: 15735 } -# Henry Cavill: -# template: { name: Person, person: 73968 } -# Henry Fonda: -# template: { name: Person, person: 4958 } -# Hiroyuki Sanada: -# template: { name: Person, person: 9195 } -# Humphrey Bogart: -# template: { name: Person, person: 4110 } -# Ian Holm: -# template: { name: Person, person: 65 } -# Ian McShane: -# template: { name: Person, person: 6972 } -# Jack Lemmon: -# template: { name: Person, person: 3151 } -# Jack Nicholson: -# template: { name: Person, person: 514 } -# Jake Gyllenhaal: -# template: { name: Person, person: 131 } -# James Dean: -# template: { name: Person, person: 2749 } -# James Garner: -# template: { name: Person, person: 16896 } -# James Stewart: -# template: { name: Person, person: 854 } -# Javier Bardem: -# template: { name: Person, person: 3810 } -# Jeffrey Dean Morgan: -# template: { name: Person, person: 47296 } -# Jennifer Garner: -# template: { name: Person, person: 9278 } -# Jeremy Irons: -# template: { name: Person, person: 16940 } -# Joan Cusack: -# template: { name: Person, person: 3234 } -# "Jodi Lyn O'Keefe": -# template: { name: Person, person: 58006 } -# Joaquin Phoenix: -# template: { name: Person, person: 73421 } -# Joe Pesci: -# template: { name: Person, person: 4517 } -# John Cena: -# template: { name: Person, person: 56446 } -# John Cusack: -# template: { name: Person, person: 3036 } -# John Goodman: -# template: { name: Person, person: 1230 } -# John Noble: -# template: { name: Person, person: 1381 } -# John Rhys-Davis: -# template: { name: Person, person: 655 } -# John Turturro: -# template: { name: Person, person: 1241 } -# Jon Voight: -# template: { name: Person, person: 10127 } -# Josh Duhamel: -# template: { name: Person, person: 19536 } -# Judd Nelson: -# template: { name: Person, person: 21624 } -# Judge Reinhold: -# template: { name: Person, person: 777 } -# Karl Urban: -# template: { name: Person, person: 1372 } -# Kelsey Grammer: -# template: { name: Person, person: 7090 } -# Kate Hudson: -# template: { name: Person, person: 11661 } -# Kate Winslet: -# template: { name: Person, person: 204 } -# Kathy Bates: -# template: { name: Person, person: 8534 } -# Keanu Reeves: -# template: { name: Person, person: 6384 } -# Kevin Spacey: -# template: { name: Person, person: 1979 } -# Kirk Douglas: -# template: { name: Person, person: 2090 } -# Laurence Olivier: -# template: { name: Person, person: 3359 } -# Leonard Nimoy: -# template: { name: Person, person: 1749 } -# Leslie Nielsen: -# template: { name: Person, person: 813 } -# Lin Shaye: -# template: { name: Person, person: 7401 } -# Lisa Kudrow: -# template: { name: Person, person: 14406 } -# Liv Tyler: -# template: { name: Person, person: 882 } -# Lloyd Bridges: -# template: { name: Person, person: 2177 } -# Mandy Moore: -# template: { name: Person, person: 16855 } -# Margot Robbie: -# template: { name: Person, person: 234352 } -# Mark Strong: -# template: { name: Person, person: 2983 } -# Marlon Brando: -# template: { name: Person, person: 3084 } -# Martin Sheen: -# template: { name: Person, person: 8349 } -# Meg Foster: -# template: { name: Person, person: 41229 } -# Michael Clarke Duncan: -# template: { name: Person, person: 61981 } -# Michael Douglass: -# template: { name: Person, person: 3392 } -# Michelle Pfeiffer: -# template: { name: Person, person: 1160 } -# "Ming-Na Wen": -# template: { name: Person, person: 21702 } -# Orson Welles: -# template: { name: Person, person: 40 } -# Patrick Dempsey: -# template: { name: Person, person: 18352 } -# Paul Newman: -# template: { name: Person, person: 3636 } -# Paul Rudd: -# template: { name: Person, person: 22226 } -# Paul Walker: -# template: { name: Person, person: 8167 } -# Peter Cullen: -# template: { name: Person, person: 19540 } -# Peter Fonda: -# template: { name: Person, person: 8949 } -# Peter Sellers: -# template: { name: Person, person: 12446 } -# "Peter O'Toole": -# template: { name: Person, person: 11390 } -# Philip Seymour Hoffman: -# template: { name: Person, person: 1233 } -# Rachel McAdams: -# template: { name: Person, person: 53714 } -# Ralph Fiennes: -# template: { name: Person, person: 5469 } -# Renee Zelweger: -# template: { name: Person, person: 9137 } -# Richard Gere: -# template: { name: Person, person: 1205 } -# Rick Moranis: -# template: { name: Person, person: 8872 } -# River Phoenix: -# template: { name: Person, person: 741 } -# Robert DuVall: -# template: { name: Person, person: 3087 } -# Robert Redford: -# template: { name: Person, person: 4135 } -# Robert Wagner: -# template: { name: Person, person: 9208 } -# Russell Crowe: -# template: { name: Person, person: 934 } -# Salma Hayek: -# template: { name: Person, person: 3136 } -# Sean Astin: -# template: { name: Person, person: 1328 } -# Sean Bean: -# template: { name: Person, person: 48 } -# Sean Penn: -# template: { name: Person, person: 2228 } -# Sebastian Stan: -# template: { name: Person, person: 60898 } -# Seth Green: -# template: { name: Person, person: 13922 } -# Sidney Poitier: -# template: { name: Person, person: 16897 } -# Sophia Loren: -# template: { name: Person, person: 16757 } -# Spencer Tracy: -# template: { name: Person, person: 12147 } -# Stan Lee: -# template: { name: Person, person: 7624 } -# Stanley Tucci: -# template: { name: Person, person: 2283 } -# Steve McQueen: -# template: { name: Person, person: 13565 } -# Tom Hardy: -# template: { name: Person, person: 2524 } -# Tom Holland: -# template: { name: Person, person: 1136406 } -# Tom Selleck: -# template: { name: Person, person: 15112 } -# Tyrese Gibson: -# template: { name: Person, person: 8169 } -# Uma Thurman: -# template: { name: Person, person: 139 } -# Val Kilmer: -# template: { name: Person, person: 5576 } -# Vanessa Williams: -# template: { name: Person, person: 27011 } -# Verne Troyer: -# template: { name: Person, person: 10987 } -# Viggo Mortensen: -# template: { name: Person, person: 110 } -# Wanda Sykes: -# template: { name: Person, person: 27102 } -# William Shakespeare: -# template: { name: Person, person: 6210 } -# William Shatner: -# template: { name: Person, person: 1748 } -# Zachary Levi: -# template: { name: Person, person: 69899 } -# Zooey Deschanel: -# template: { name: Person, person: 11664 } - -# disabled until CommentedMap is fixed -# dynamic_collections: -# "PER-ACTOR COLLECTION": # mapping name does not matter just needs to be unique -# type: actor -# data: -# depth: 5 # 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 diff --git a/plex/pmm/collections/Movies/Movies_Collections_In_Memoriam.yml b/plex/pmm/collections/Movies/Movies_Collections_In_Memoriam.yml deleted file mode 100644 index c4d97ef..0000000 --- a/plex/pmm/collections/Movies/Movies_Collections_In_Memoriam.yml +++ /dev/null @@ -1,32 +0,0 @@ -# In Memoriam collections for the Movies section - -templates: - Actor: - default: - level: "" - tmdb_person: <> - smart_filter: - sort_by: release.desc - any: - actor: tmdb - sort_title: <>+02_<> - sync_mode: append - visible_library: true - visible_shared: true - visible_home: true - Director: - default: - level: "" - tmdb_person: <> - smart_filter: - sort_by: release.desc - any: - director: tmdb - sort_title: <>+02_<> - sync_mode: append - visible_library: true - visible_shared: true - visible_home: true - -collections: - diff --git a/plex/pmm/collections/Movies/Movies_collections.yml b/plex/pmm/collections/Movies/Movies_collections.yml new file mode 100644 index 0000000..d8e01db --- /dev/null +++ b/plex/pmm/collections/Movies/Movies_collections.yml @@ -0,0 +1,7 @@ +# Collections specific to Movies + +external_templates: + - file: templates/collections.yml + +collections: + diff --git a/plex/pmm/collections/TVShows/TV_Shows_Collections_In_Memoriam.yml b/plex/pmm/collections/TVShows/TV_Shows_Collections_In_Memoriam.yml deleted file mode 100644 index 47c25df..0000000 --- a/plex/pmm/collections/TVShows/TV_Shows_Collections_In_Memoriam.yml +++ /dev/null @@ -1,31 +0,0 @@ -# In Memoriam collections for the TV Shows section - -templates: - Actor: - default: - level: "" - tmdb_person: <> - smart_filter: - sort_by: release.desc - any: - actor: tmdb - sort_title: <>+02_<> - sync_mode: append - visible_library: true - visible_shared: true - visible_home: true - Director: - default: - level: "" - tmdb_person: <> - smart_filter: - sort_by: release.desc - any: - director: tmdb - sort_title: <>+02_<> - sync_mode: append - visible_library: true - visible_shared: true - visible_home: true - -collections: diff --git a/plex/pmm/collections/TVShows/TV_Shows_Collections.yml b/plex/pmm/collections/TVShows/TV_Shows_collections.yml similarity index 82% rename from plex/pmm/collections/TVShows/TV_Shows_Collections.yml rename to plex/pmm/collections/TVShows/TV_Shows_collections.yml index ccad0bf..bc9319f 100644 --- a/plex/pmm/collections/TVShows/TV_Shows_Collections.yml +++ b/plex/pmm/collections/TVShows/TV_Shows_collections.yml @@ -1,132 +1,7 @@ # Collections specific to TV Shows -templates: - Chart: - default: - level: "" - sort_title: <>+01_<> - sync_mode: sync - schedule: daily - visible_library: true - - Holiday: - default: - level: "" - sort_title: <>+02_<> - sync_mode: sync - collection_order: custom - schedule: never - visible_library: true - - Studio: - sort_title: ~<> - collection_order: alpha - url_poster: <> - - Network: - sort_title: ~<> - smart_filter: - type: shows - sort_by: title.desc - validate: false - any: - network: <> - url_poster: <> - - Genre: - default: - level: "" - sort_title: <>+04_<> - sync_mode: sync - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Country: - default: - level: "" - sort_title: <>+05_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Award: - default: - level: "" - sort_title: <>+06_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Collection: - default: - level: "" - sort_title: <>+07_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Decade: - default: - level: "" - sort_title: <>+08_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Person: - default: - level: "" - smart_filter: - sort_by: release.desc - any: - actor: tmdb - director: tmdb - producer: tmdb - writer: tmdb - tmdb_person: <> - sort_title: <>+09_<> - sync_mode: append - visible_library: true - - Actor: - default: - level: "" - tmdb_actor_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Director: - default: - level: "" - tmdb_director_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Producer: - default: - level: "" - tmdb_producer_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - General: - default: - level: "" - sort_title: <>+10_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true +external_templates: + - file: templates/collections.yml collections: ### Custom @@ -167,6 +42,64 @@ collections: visible_home: false visible_shared: true + "Trending Now": + summary: "The hottest shows right now" + imdb_chart: popular_shows + collection_order: custom + sync_mode: sync + visible_library: true + visible_home: false + visible_shared: true + + "Editor's Choice": + template: { name: Chart, + level: "++" } + summary: "Our top picks" + trakt_list: + - https://trakt.tv/users/nwithan8/lists/recommendations-plex-sync?sort=popularity,asc + collection_order: release.desc + visible_home: true + visible_shared: true + + ### New Content + "Added This Week": + summary: "Episodes added this week on Plex" + sort_title: + smart_filter: + type: episodes + sort_by: release.desc + all: + # Episode added in the last 7 days + episode_added: 7 + sync_mode: sync + visible_home: true + visible_shared: true + visible_library: true + + "Now On Plex": + summary: "Shows now playing on Plex" + sort_title: + smart_filter: + type: shows + sort_by: release.desc + all: + # Shows added in the last 30 days + added: 30 + sync_mode: sync + visible_library: true + visible_home: true + visible_shared: true + + ### Genres + "A Real-Life Whodunnit": + template: { name: Genre } + summary: "True Crime Documentaries" + trakt_list: + - https://trakt.tv/users/lish408/lists/true-crime-documentary-series-film + collection_order: release + visible_home: false + visible_shared: true + ### Topical "Treehouse of Horror": summary: "All the Simpsons' Treehouse of Horror episodes" diff --git a/plex/pmm/collections/general/movies_collections_awards_general.yml b/plex/pmm/collections/general/movies_collections_awards_general.yml new file mode 100644 index 0000000..4d5fe60 --- /dev/null +++ b/plex/pmm/collections/general/movies_collections_awards_general.yml @@ -0,0 +1,288 @@ +external_templates: + - file: templates/collections.yml + +templates: + # Normal Templates + # ---------------- + + # Dynamic Collections Templates + # ----------------------------- + # Per-year award winners + Yearly_Oscars_Winners: + default: + imdb_sort: moviemeter,asc + allowed_library_types: movie + summary: <> Academy Awards (Oscars) Winners + imdb_list: https://www.imdb.com/search/title/?release_date=<>-01-01,<>-12-31&groups=oscar_winner&sort=<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/oscars/winner/<>.jpg + + Yearly_Cannes_Awards: + allowed_library_types: movie + summary: <> Cannes Film Festival + trakt_list: https://trakt.tv/users/pjcob/lists/<>-cannes + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/cannes/<>.jpg + + Yearly_Sundance_Awards: + allowed_library_types: movie + summary: <> Sundance Film Festival + trakt_list: https://trakt.tv/users/pjcob/lists/<>-sundance + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/sundance/<>.jpg + + Yearly_Golden_Globes_Winners: + default: + imdb_sort: moviemeter,asc + summary: <> Golden Globe Winners + imdb_list: https://www.imdb.com/search/title/?release_date=<>-01-01,<>-12-31&groups=golden_globe_winner&sort=<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/golden/winner/<>.jpg + + Yearly_Spirit_Awards: + allowed_library_types: movie + summary: <> Independent Spirit Awards + trakt_list: https://trakt.tv/users/pjcob/lists/<>-independent-spirits + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/spirit/<>.jpg + + Yearly_Critics_Choice_Awards: + default: + url: critic-s + summary: <> Critics Choice Awards + trakt_list: https://trakt.tv/users/pjcob/lists/<>-<>-choice + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/choice/<>.jpg + + Yearly_BAFTA_Awards: + allowed_library_types: movie + summary: <> BAFTA awards + trakt_list: https://trakt.tv/users/pjcob/lists/<>-bafta + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/bafta/<>.jpg + + +collections: + # This current year's Best Picture Oscar nominees + # Only visible on home screen during Oscar season + "This Year's Best Picture Nominees": + # TODO: NEED TO BUILD MANUALLY + template: { name: Award, + level: "++++++" } + summary: "Who will take home the trophy?" + schedule: never + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + # This current year's Best Actor Oscar nominees + # Only visible on home screen during Oscar season + "This Year's Best Actor Nominees": + # TODO: NEED TO BUILD MANUALLY + template: { name: Award, + level: "+++++" } + summary: "Who will take home the trophy?" + schedule: never + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + # This current year's Best Actress Oscar nominees + # Only visible on home screen during Oscar season + "This Year's Best Actress Nominees": + # TODO: NEED TO BUILD MANUALLY + template: { name: Holiday, + level: "+++++" } + summary: "Who will take home the trophy?" + schedule: never + 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": + summary: "Who will take home the trophy?" + template: { name: Award, + level: "++++" } + trakt_list: + # TODO: NEED TO REPLACE MANUALLY + - https://trakt.tv/users/jcbwoldseth/lists/oscar-race-2022 + schedule: yearly(02/20) + visible_home: range(02/01-03/31) + 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": + summary: "Oscar-winning Movies" + template: { name: Award, + level: "++" } + imdb_list: + - https://www.imdb.com/search/title/?title_type=feature,documentary&groups=oscar_winner + schedule: yearly(03/28) + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + # All past Oscar Best Director-winning movies + # Only visible on home screen during Oscar season + "Past Best Director Winners": + template: { name: Award, + level: "++" } + imdb_list: + - https://www.imdb.com/search/title/?groups=best_director_winners&sort=year%2Cdesc + schedule: yearly(04/01), yearly(01/01) # in case list wasn't updated in April, check again in January next year + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + summary: The Academy Award for Best Director is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/oscars/best_director_winner.jpg + + # All past Oscar Best Picture-winning movies + # Only visible on home screen during Oscar season + "Past Best Picture Winners": + template: { name: Award, + level: "++" } + imdb_list: + - https://www.imdb.com/search/title/?groups=best_picture_winners&sort=year%2Cdesc + schedule: yearly(04/01), yearly(01/01) # in case list wasn't updated in April, check again in January next year + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + summary: The Academy Award for Best Picture is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/oscars/best_picture_winner.jpg + + # All past Razzie-winning Worst Picture movies + # Only visible on home screen during Razzie season + "Past Worst Picture Winners": + template: { name: Award, + level: "++" } + summary: "Previous Razzie Worst Picture winners" + mdblist_list: https://mdblist.com/lists/hdlists/razzie-awards-worst-picture-winners + schedule: yearly(04/01), yearly(01/01) # in case list wasn't updated in April, check again in January next year + visible_home: range(02/01-03/31) + visible_shared: range(02/01-03/31) + + # All past Cannes Palme d'or-winning movies + # Only visible on home screen during Cannes Palme d'or season + "Past Cannes Palme d'or Winners": + summary: "The Palme d'Or is the highest prize awarded at the Cannes Film Festival. It was introduced in 1955 by the organising committee." + template: { name: Award, + level: "++" } + trakt_list: https://trakt.tv/users/sp1ti/lists/cannes-palme-d-or-winners + schedule: yearly(06/01) + visible_home: range(06/01-06/30) + visible_shared: range(06/01-06/30) + + # All past Cesar Award-winning movies + # Only visible on home screen during Cesar Award season + "Past Cesar Award Winners": + summary: "The César Award is the national film award of France. It is delivered in the Nuit des César ceremony and was first awarded in 1976." + template: { name: Award, + level: "++" } + trakt_list: https://trakt.tv/users/fauxliege/lists/cesar-meilleur-film + schedule: yearly(03/14) + visible_home: range(03/14-03/31) + visible_shared: range(03/14-03/31) + + # All past Berlinale-winning movies + # Only visible on home screen during Berlinale season + "Past Berlinale Winners": + summary: "The Berlin International Film Festival, usually called the Berlinale, is a film festival held annually in Berlin, Germany." + template: { name: Award, + level: "++" } + trakt_list: https://trakt.tv/users/maxwelldeux/lists/berlin-international-film-festival-golden-bears + schedule: yearly(02/21) + visible_home: range(02/21-03/31) + visible_shared: range(02/21-03/31) + + # All past BAFTA Best Film-winning movies + # Only visible on home screen during BAFTA season + "Past BAFTA Best Film Winners": + summary: "The EE British Academy Film Awards or BAFTA Film Awards are presented in an annual award show hosted by the British Academy of Film and Television Arts (BAFTA) to honour the best British and international contributions to film." + template: { name: Award, + level: "++" } + trakt_list: https://trakt.tv/users/maxwelldeux/lists/bafta-award-best-film + schedule: yearly(02/21) + visible_home: range(02/21-03/31) + visible_shared: range(02/21-03/31) + + # All past Venice Film Festival-winning movies + # Only visible on home screen during Venice Film Festival season + "Past Venice Film Festival Winners": + summary: "The Venice Film Festival or Venice International Film Festival (Italian: Mostra Internazionale d'Arte Cinematografica della Biennale di Venezia is the world's oldest film festival" + template: { name: Award, + level: "++" } + trakt_list: https://trakt.tv/users/maxwelldeux/lists/venice-film-festival-golden-lion + schedule: yearly(02/21) + visible_home: range(02/21-03/31) + visible_shared: range(02/21-03/31) + +dynamic_collections: + ## Use DC as suffix to avoid name conflicts with static collections + Yearly Oscars Winners DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2010 + ending: current_year + title_format: Oscars Winners <> + template: + - Yearly_Oscars_Winners + + Yearly Cannes DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2016 + ending: current_year + title_format: Cannes Film Festival <> + template: + - Yearly_Cannes_Awards + + Yearly Sundance DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2010 + ending: current_year + title_format: Sundance Film Festival <> + template: + - Yearly_Sundance_Awards + + Yearly Golden Globes DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2014 + ending: current_year + title_format: Golden Globes Winners <> + template: + - Yearly_Golden_Globes_Winners + + Yearly Spirit Awards DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2014 + ending: current_year + title_format: Independent Spirit Awards <> + template: + - Yearly_Spirit_Awards + + Yearly Critics Choice Awards DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2014 + ending: current_year + title_format: Critics Choice Awards <> + template: + - Yearly_Critics_Choice_Awards + template_variables: + url: + 2019: critics + 2018: critics + 2017: critics + 2016: critics + 2015: critics + 2014: critics + + Yearly BAFTA Awards DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2014 + ending: current_year + title_format: BAFTA <> + template: + - Yearly_BAFTA_Awards diff --git a/plex/pmm/collections/general/movies_collections_general.yml b/plex/pmm/collections/general/movies_collections_general.yml index 6823dfd..fd13214 100644 --- a/plex/pmm/collections/general/movies_collections_general.yml +++ b/plex/pmm/collections/general/movies_collections_general.yml @@ -1,139 +1,25 @@ # General collections for any movie library (will be replicated for each movie library) +external_templates: + - file: templates/collections.yml + templates: - Chart: + # Dynamic Collections Templates + # ----------------------------- + Best_of_Year: default: level: "" - sort_title: <>+01_<> + trakt_list: https://trakt.tv/users/lish408/lists/rotten-tomatoes-best-of-<> + sort_title: <>+08+_Best of <> sync_mode: sync - schedule: daily - visible_library: true - - Holiday: - default: - level: "" - sort_title: <>+02_<> - sync_mode: sync - collection_order: custom - schedule: never - visible_library: true - - Studio: - default: - level: "" - sort_title: <>+03_<> - sync_mode: sync - collection_order: custom - schedule: daily - visible_library: true - - Genre: - default: - level: "" - sort_title: <>+04_<> - sync_mode: sync - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Country: - default: - level: "" - sort_title: <>+05_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Award: - default: - level: "" - sort_title: <>+06_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Collection: - default: - level: "" - sort_title: <>+07_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Best Of: - default: - level: "" - trakt_list: https://trakt.tv/users/lish408/lists/rotten-tomatoes-best-of-<> - sort_title: <>+08+_Best of <> - sync_mode: sync - summary: Rotten Tomatoes Best Movies of <> + summary: Rotten Tomatoes Best Movies of <> collection_order: release collection_minimum: 3 delete_below_minimum: true visible_library: true visible_shared: false - - Decade: - default: - level: "" - sort_title: <>+08_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Person: - default: - level: "" - smart_filter: - sort_by: release.desc - any: - actor: tmdb - director: tmdb - producer: tmdb - writer: tmdb - tmdb_person: <> - sort_title: <>+09_<> - sync_mode: append - visible_library: true - - Actor: - default: - level: "" - tmdb_actor_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Director: - default: - level: "" - tmdb_director_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Producer: - default: - level: "" - tmdb_producer_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - General: - default: - level: "" - sort_title: <>+10_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true + visible_home: false + schedule: monthly(1) collections: ### New Content @@ -152,6 +38,7 @@ collections: visible_shared: true ### Trending + # Box Office "At The Box Office": template: { name: Chart, level: "+++" } @@ -161,6 +48,7 @@ collections: visible_home: false visible_shared: true + # Trending online "Trending Now": template: { name: Chart, level: "+++" } @@ -170,6 +58,20 @@ collections: visible_home: false visible_shared: true + # Trending on Plex + "What Everyone Is Watching": + template: { name: Chart, + level: "++" } + summary: "What other subscribers are checking out" + libraries: "Movies" # Only consider movies in the Movies library (even when building this collection for 4K Movies) + tautulli_popular: + list_days: 30 + list_size: 15 + list_minimum: 2 + visible_home: false + visible_shared: true + + # Recommendations from me "Editor's Choice": template: { name: Chart, level: "++" } @@ -180,7 +82,19 @@ collections: visible_home: true visible_shared: true + # Trending actors + "The A List": + template: { name: Chart, + level: "++" } + summary: "The biggest actors in Hollywood right now" + type: tmdb_popular_people + data: 10 + visible_home: false + visible_shared: true + ### For the User + # Random list of 10 movies released in the last 10 years + # Regenerates every time the user visits the page "Something New": template: { name: Chart, level: "++" } @@ -195,6 +109,8 @@ collections: visible_home: true visible_shared: true + # Random list of 30 movies released in the last 5 months and added in the last 2 months + # Regenerates every time the user visits the page "Spin The Wheel!": template: { name: Chart, level: "+" } @@ -211,6 +127,7 @@ collections: visible_shared: true ### Top Rated + # Top movies via IMDB, updated twice a week "Best Of All Time": template: { name: Award, level: "++" } @@ -220,6 +137,7 @@ collections: visible_home: false visible_shared: true + # Top 70s movies via IMDB, updated monthly "Best of the 70s": template: { name: Award, level: "+" } @@ -230,6 +148,7 @@ collections: visible_home: false visible_shared: false + # Top 80s movies via RottenTomatoes, updated monthly "Best of the 80s": template: { name: Award, level: "+" } @@ -239,6 +158,7 @@ collections: visible_home: false visible_shared: false + # Top 90s movies via RottenTomatoes, updated monthly "Best of the 90s": template: { name: Award, level: "+" } @@ -248,6 +168,7 @@ collections: visible_home: false visible_shared: false + # Top 2000s movies via RottenTomatoes, updated monthly "Best of the 2000s": template: { name: Award, level: "+" } @@ -257,6 +178,7 @@ collections: visible_home: false visible_shared: false + # Top 2010s movies via RottenTomatoes, updated monthly "Best of the 2010s": template: { name: Award, level: "+" } @@ -266,6 +188,7 @@ collections: visible_home: false visible_shared: false + # Top 2020s movies via IMDB, updated twice a week "Best of the 2020s": template: { name: Award, level: "+" } @@ -276,6 +199,7 @@ collections: visible_home: false visible_shared: false + # Movies with a perfect RT score, updated monthly "The 100 Club": template: { name: Award, level: "+" } @@ -285,6 +209,7 @@ collections: visible_home: false visible_shared: false + # Worst movies of all time, updated monthly "Just the Worst": template: { name: Award } summary: "The worst movies of all time." @@ -296,7 +221,8 @@ collections: visible_home: false visible_shared: false - # Genres + ### Genres + ## All genres collections are updated twice a week by default "What's The Deal With Airplane Food?": template: { name: Genre } summary: "Some of the best stand-up you'll ever see." @@ -310,7 +236,6 @@ collections: template: { name: Genre } summary: "Imitation is the sincerest form of flattery" mdblist_list: https://mdblist.com/lists/hdlists/top-50-parody-movies-of-all-time - schedule: yearly(01/01) visible_home: false visible_shared: false @@ -318,7 +243,6 @@ collections: template: { name: Genre } summary: "The best sports movies, ever." mdblist_list: https://mdblist.com/lists/hdlists/150-best-sports-movies-of-all-time - schedule: yearly(01/01) visible_home: false visible_shared: false @@ -326,7 +250,6 @@ collections: template: { name: Genre } summary: "Don't forget about the getaway driver out front" mdblist_list: https://mdblist.com/lists/hdlists/best-heist-movies-of-all-time - schedule: yearly(01/01) visible_home: false visible_shared: false @@ -374,6 +297,7 @@ collections: visible_home: false visible_shared: true + # Good weekend movies, only visible on home on Saturday and Sunday "Kick Back and Relax": template: { name: Genre } summary: "The best movies for a lazy weekend afternoon" @@ -383,7 +307,8 @@ collections: visible_home: weekly(saturday), weekly(sunday) visible_shared: weekly(saturday), weekly(sunday) - ### Seasonal + ### Seasonal + ## All seasonal collections are only updated and visible during the season "This is Halloween": template: { name: Holiday, level: "+++" } @@ -400,13 +325,13 @@ collections: visible_home: range(09/30-10/31) visible_shared: range(10/01-10/31) - # TODO: Replace for 2022 + # TODO: Replace for 2023 "31 Days of Horror": template: { name: Holiday, level: "++" } summary: "Do you dare?" trakt_list: - - https://trakt.tv/users/lish408/lists/31-days-of-horror-2021 + - https://trakt.tv/users/lish408/lists/31-days-of-horror-2022 collection_order: custom schedule: range(09/30-10/31) visible_home: range(09/30-10/31) @@ -498,38 +423,6 @@ collections: visible_shared: range(03/10-03/18) ### Series and Collections - Best of 2014: - template: { name: Best Of, year: 2014 } - schedule: yearly(1) - - Best of 2015: - template: { name: Best Of, year: 2015 } - schedule: yearly(1) - - Best of 2016: - template: { name: Best Of, year: 2016 } - schedule: yearly(1) - - Best of 2017: - template: { name: Best Of, year: 2017 } - schedule: yearly(1) - - Best of 2018: - template: { name: Best Of, year: 2018 } - schedule: yearly(1) - - Best of 2019: - template: { name: Best Of, year: 2019 } - schedule: yearly(1) - - Best of 2020: - template: { name: Best Of, year: 2020 } - schedule: yearly(1) - - Best of 2021: - template: { name: Best Of, year: 2021 } - schedule: yearly(1) - Best of 2022: template: { name: Best Of, year: 2022 } schedule: monthly(1) @@ -676,10 +569,62 @@ collections: visible_shared: false dynamic_collections: - ### Trending - "The A List": - template: { name: Chart, - level: "++" } - summary: "The biggest actors in Hollywood right now" - type: tmdb_popular_people - data: 10 + ## Use DC as suffix to avoid name conflicts with static collections + Best of Year DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 2014 + ending: current_year + title_format: Best of <> + template: + - Best_of_Year + + Per-Actor DC: # mapping name does not matter just needs to be unique + type: actor + data: + depth: 5 # 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 + + Per-Country DC: # mapping name does not matter just needs to be unique + type: country + title_format: Top <> Cinema + key_name_override: + France: French + Germany: German + India: Indian + United States: American + England: British + Japan: Japanese + China: Chinese + South Korea: Korean + Italy: Italian + Spain: Spanish + Canada: Canadian + Mexico: Mexican + Australia: Australian + Brazil: Brazilian + Russia: Russian + Argentina: Argentinean + Belgium: Belgian + Denmark: Danish + Finland: Finnish + Greece: Greek + Iceland: Icelandic + Ireland: Irish + Netherlands: Dutch + New Zealand: New Zealand + Norway: Norwegian + Poland: Polish + Portugal: Portuguese + Sweden: Swedish + Switzerland: Swiss + Turkey: Turkish + Ukraine: Ukrainian + + Per-Genre DC: # mapping name does not matter just needs to be unique + type: genre + exclude: + - Talk Show + title_format: Top <> <>s + diff --git a/plex/pmm/collections/general/movies_collections_holidays_general b/plex/pmm/collections/general/movies_collections_holidays_general new file mode 100644 index 0000000..e69de29 diff --git a/plex/pmm/collections/general/movies_collections_in_memoriam_general.yml b/plex/pmm/collections/general/movies_collections_in_memoriam_general.yml new file mode 100644 index 0000000..7f3ee02 --- /dev/null +++ b/plex/pmm/collections/general/movies_collections_in_memoriam_general.yml @@ -0,0 +1,6 @@ +# In Memoriam collections for the all movies sections + +external_templates: + - file: templates/collections.yml + +collections: diff --git a/plex/pmm/collections/general/shows_collections_awards_general.yml b/plex/pmm/collections/general/shows_collections_awards_general.yml new file mode 100644 index 0000000..e69de29 diff --git a/plex/pmm/collections/general/shows_collections_general.yml b/plex/pmm/collections/general/shows_collections_general.yml index 21b904d..df70c71 100644 --- a/plex/pmm/collections/general/shows_collections_general.yml +++ b/plex/pmm/collections/general/shows_collections_general.yml @@ -1,185 +1,7 @@ # General collections for any show library (will be replicated for each show library) -templates: - Chart: - default: - level: "" - sort_title: <>+01_<> - sync_mode: sync - collection_order: custom - schedule: daily - visible_library: true - - Holiday: - default: - level: "" - sort_title: <>+02_<> - sync_mode: sync - collection_order: custom - schedule: never - visible_library: true - - Studio: - default: - level: "" - sort_title: <>+03_<> - sync_mode: sync - collection_order: custom - schedule: daily - visible_library: true - - Genre: - default: - level: "" - sort_title: <>+04_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Country: - default: - level: "" - sort_title: <>+05_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Award: - default: - level: "" - sort_title: <>+06_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Collection: - default: - level: "" - sort_title: <>+07_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Decade: - default: - level: "" - sort_title: <>+08_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - - Person: - default: - level: "" - smart_filter: - sort_by: release.desc - any: - actor: tmdb - director: tmdb - producer: tmdb - writer: tmdb - tmdb_person: <> - sort_title: <>+09_<> - sync_mode: append - visible_library: true - Actor: - default: - level: "" - tmdb_actor_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Director: - default: - level: "" - tmdb_director_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - Producer: - default: - level: "" - tmdb_producer_details: <> - sort_title: <>+09_<> - sync_mode: append - collection_order: custom - visible_library: true - - General: - default: - level: "" - sort_title: <>+10_<> - sync_mode: sync - collection_order: custom - schedule: weekly(wednesday), weekly(sunday) - visible_library: true - +external_templates: + - file: templates/collections.yml collections: - ### New Content - "Added This Week": - summary: "Episodes added this week on Plex" - sort_title: - smart_filter: - type: episodes - sort_by: release.desc - all: - # Episode added in the last 7 days - episode_added: 7 - sync_mode: sync - visible_home: true - visible_shared: true - visible_library: true - "Now On Plex": - summary: "Shows now playing on Plex" - sort_title: - smart_filter: - type: shows - sort_by: release.desc - all: - # Shows added in the last 30 days - added: 30 - sync_mode: sync - visible_library: true - visible_home: true - visible_shared: true - - ### Trending - "Trending Now": - summary: "The hottest shows right now" - imdb_chart: popular_shows - collection_order: custom - sync_mode: sync - visible_library: true - visible_home: false - visible_shared: true - - "Editor's Choice": - template: { name: Chart, - level: "++" } - summary: "Our top picks" - trakt_list: - - https://trakt.tv/users/nwithan8/lists/recommendations-plex-sync?sort=popularity,asc - collection_order: release.desc - visible_home: true - visible_shared: true - - ### Genres - "A Real-Life Whodunnit": - template: { name: Genre } - summary: "True Crime Documentaries" - trakt_list: - - https://trakt.tv/users/lish408/lists/true-crime-documentary-series-film - collection_order: release - visible_home: false - visible_shared: true diff --git a/plex/pmm/collections/general/shows_collections_holidays_general.yml b/plex/pmm/collections/general/shows_collections_holidays_general.yml new file mode 100644 index 0000000..e69de29 diff --git a/plex/pmm/collections/general/shows_collections_in_memoriam_general.yml b/plex/pmm/collections/general/shows_collections_in_memoriam_general.yml new file mode 100644 index 0000000..19abeb1 --- /dev/null +++ b/plex/pmm/collections/general/shows_collections_in_memoriam_general.yml @@ -0,0 +1,6 @@ +# In Memoriam collections for the all shows sections + +external_templates: + - file: templates/collections.yml + +collections: diff --git a/plex/pmm/playlists/general/movies_playlists_general.yml b/plex/pmm/playlists/general/movies_playlists_general.yml index b79952a..3994a3f 100644 --- a/plex/pmm/playlists/general/movies_playlists_general.yml +++ b/plex/pmm/playlists/general/movies_playlists_general.yml @@ -1,4 +1,7 @@ # General playlists for any movie library +external_templates: + - file: templates/playlists.yml + playlists: diff --git a/plex/pmm/playlists/general/shows_playlists_general.yml b/plex/pmm/playlists/general/shows_playlists_general.yml index d4f3ff5..7ecd4e4 100644 --- a/plex/pmm/playlists/general/shows_playlists_general.yml +++ b/plex/pmm/playlists/general/shows_playlists_general.yml @@ -1,3 +1,6 @@ # General playlists for any show library +external_templates: + - file: templates/playlists.yml + playlists: diff --git a/plex/pmm/templates/collections.yml b/plex/pmm/templates/collections.yml new file mode 100644 index 0000000..3750561 --- /dev/null +++ b/plex/pmm/templates/collections.yml @@ -0,0 +1,175 @@ +external_templates: + git: PMM/collections.yml + +templates: + Chart: + default: + level: "" + optional: + - poster_url + sort_title: <>+01_<> + sync_mode: sync + schedule: daily + visible_library: true + url_poster: <> + + Holiday: + default: + level: "" + optional: + - poster_url + sort_title: <>+02_<> + sync_mode: sync + collection_order: custom + schedule: never + visible_library: true + url_poster: <> + + Studio: + default: + level: "" + optional: + - poster_url + sort_title: <>+03_<> + sync_mode: sync + collection_order: custom + schedule: daily + visible_library: true + url_poster: <> + + Genre: + default: + level: "" + optional: + - poster_url + sort_title: <>+04_<> + sync_mode: sync + schedule: weekly(wednesday), weekly(sunday) + visible_library: true + url_poster: <> + + Country: + default: + level: "" + optional: + - poster_url + sort_title: <>+05_<> + sync_mode: sync + collection_order: custom + schedule: weekly(wednesday), weekly(sunday) + visible_library: true + url_poster: <> + + Award: + default: + level: "" + optional: + - poster_url + sort_title: <>+06_<> + sync_mode: sync + collection_order: custom + schedule: weekly(wednesday), weekly(sunday) + visible_library: true + url_poster: <> + + Collection: + default: + level: "" + optional: + - poster_url + sort_title: <>+07_<> + sync_mode: sync + collection_order: custom + schedule: weekly(wednesday), weekly(sunday) + visible_library: true + url_poster: <> + + Decade: + default: + level: "" + optional: + - poster_url + sort_title: <>+08_<> + sync_mode: sync + collection_order: custom + schedule: weekly(wednesday), weekly(sunday) + visible_library: true + url_poster: <> + + Person: + default: + level: "" + smart_filter: + sort_by: release.desc + any: + actor: tmdb + director: tmdb + producer: tmdb + writer: tmdb + tmdb_person: <> + sort_title: <>+09_<> + sync_mode: append + visible_library: true + + Actor: + default: + level: "" + tmdb_actor_details: <> + sort_title: <>+09_<> + sync_mode: append + collection_order: custom + visible_library: true + + Director: + default: + level: "" + tmdb_director_details: <> + sort_title: <>+09_<> + sync_mode: append + collection_order: custom + visible_library: true + + Producer: + default: + level: "" + tmdb_producer_details: <> + sort_title: <>+09_<> + sync_mode: append + collection_order: custom + visible_library: true + + General: + default: + level: "" + sort_title: <>+10_<> + sync_mode: sync + collection_order: custom + schedule: weekly(wednesday), weekly(sunday) + visible_library: true + + InMemoriamActor: + default: + level: "" + tmdb_person: <> + smart_filter: + sort_by: release.desc + any: + actor: tmdb + sort_title: <>+02_<> + sync_mode: append + visible_library: true + visible_shared: true + visible_home: true + InMemoriamDirector: + default: + level: "" + tmdb_person: <> + smart_filter: + sort_by: release.desc + any: + director: tmdb + sort_title: <>+02_<> + sync_mode: append + visible_library: true + visible_shared: true + visible_home: true diff --git a/plex/pmm/templates/playlists.yml b/plex/pmm/templates/playlists.yml new file mode 100644 index 0000000..c7e252c --- /dev/null +++ b/plex/pmm/templates/playlists.yml @@ -0,0 +1 @@ +templates: diff --git a/plex/pmm/tips_and_tricks.md b/plex/pmm/tips_and_tricks.md index d570c6e..bc706df 100644 --- a/plex/pmm/tips_and_tricks.md +++ b/plex/pmm/tips_and_tricks.md @@ -54,3 +54,42 @@ Prefix suggestions: - criteria1 - criteria2 - 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) + +## Templates +- As of v1.16.4, you can define templates in an external file. This allows you to define your templates in one central place, rather than having to copy-paste them into each file. + - Import your templates with the `external_templates` key + +## Collection vs Playlist +- A collection is an unordered group of content from the same Library (Movies, TV Shows, 4K Movies, etc.) + - Collection configs exist inside metadata configs + - For each Plex library, define a list of "metadata_path" config files + - You can technically group multiple Plex libraries into one "metadata" section, but it's not recommended (too confusing) +- A playlist is an ordered list of content of the same type (all movies, all shows, all music, etc.) + - Import a list of "playlist" config files. A "show" playlist file will execute on all shows (and only on shows) + +## Overlays +- You can add custom overlay configurations for specific Plex libraries + - Similar to collection/metadata, define a list of "overlay_path" config files for each Plex library + + +## Collections Import Flow +1. We define a "Movies" section under "libraries" in the `config.yml` file. (The name "Movies" is purely descriptive and doesn't have to match the name of the Plex library) +2. In the "Movies" section, we define: + - the "library_name" as "Movies" (this is the name of the Plex library, this does matter) + - the "metadata_path" list of metadata config files. These can come from local files/folders, the Configs repo, or a custom repo. + - In our case, all our config files come from a custom repo. +3. Each metadata config file is parsed and executed + - Each config file imports templates from another file (from the custom repo) via the `external_templates` key + - The main template file imports templates from the Configs repo via the `external_templates` key + - This means that every metadata config file has access to all templates (user-defined and Configs repo-defined) + - Each config entry is parsed and executed (if needed), using items from the "Movies" library. + +## Collections vs Dynamic Collections +- Let's say I wanted to make a collection of each actor's movies. +- Thankfully, with templates, we don't have to manually define every single setting/parameter for each actor's collection. +- I can make an "actor" template, and then define an "Adam Sandler", "Mike Myers" or "Justin Timberlake" collection and have it reuse the settings from the "actor" template. +- The problem is, I still need to manually define a collection for each actor. That's where dynamic collections come in. +- A dynamic collection is useful when you don't know the input data (when we don't know what actors to define) +- A dynamic collection will execute a query (say, grab a list of the top 10 actors right now), and then for each result, make a collection using the "actor" template. +- Schedule a dynamic collection (visibility, update frequency, etc.) via the template +