From 081ccd25c8c63af96bc6e3ec77577cee6918d4ff Mon Sep 17 00:00:00 2001 From: Nate Harris Date: Wed, 9 Mar 2022 10:03:39 -0700 Subject: [PATCH] - Fix order for smart collections - Fix template names - Move TV Show collections to tv show general --- plex/pmm/collections/Movies_Collections.yml | 15 -- plex/pmm/collections/TV_Shows_Collections.yml | 153 +++++++++++++----- .../movies_collections_general.yml | 42 ++--- .../collections/shows_collections_general.yml | 82 ++++++---- 4 files changed, 175 insertions(+), 117 deletions(-) diff --git a/plex/pmm/collections/Movies_Collections.yml b/plex/pmm/collections/Movies_Collections.yml index 6b5986a..d500ac6 100644 --- a/plex/pmm/collections/Movies_Collections.yml +++ b/plex/pmm/collections/Movies_Collections.yml @@ -1,20 +1,5 @@ # Collections specific to Movies -# PREFIXES -# +01_ = Charts -# +02_ = Holidays -# +03_ = Studios or Network -# +04_ = Genres -# +05_ = Countries -# +06_ = Awards -# +07_ = Collections -# +08_ = Decades -# +09_ = Person -# +09_ = Actor -# +09_ = Director -# +09_ = Producer -# +10_ = General - templates: Chart: default: diff --git a/plex/pmm/collections/TV_Shows_Collections.yml b/plex/pmm/collections/TV_Shows_Collections.yml index f63272e..8cc77c9 100644 --- a/plex/pmm/collections/TV_Shows_Collections.yml +++ b/plex/pmm/collections/TV_Shows_Collections.yml @@ -1,6 +1,23 @@ # 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 @@ -16,6 +33,101 @@ templates: 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 + collections: ### Custom "From The Top": @@ -42,36 +154,6 @@ collections: visible_shared: true visible_library: true - ### New Content - "Added This Week": - summary: "Episodes added this week on Plex" - sort_title: - collection_level: episode - 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 "What Everyone Is Watching": summary: "What other BigBox users are checking out" @@ -86,15 +168,6 @@ 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 - ### Topical "Treehouse of Horror": summary: "All the Simpsons' Treehouse of Horror episodes" @@ -111,7 +184,7 @@ collections: visible_home: false visible_shared: false - #### Studios + ### Studios ABC: template: { name: Network, network: "ABC, ABC (AU), ABS (US), ABC Comedy, ABC Family, ABC Me, ABC Spark, ABC.com, ABC1, ABC3" , diff --git a/plex/pmm/collections/movies_collections_general.yml b/plex/pmm/collections/movies_collections_general.yml index a8c92df..987b2ed 100644 --- a/plex/pmm/collections/movies_collections_general.yml +++ b/plex/pmm/collections/movies_collections_general.yml @@ -1,27 +1,11 @@ # General collections for any movie library (will be replicated for each movie library) -# PREFIXES -# +01_ = Charts -# +02_ = Holidays -# +03_ = Studios or Network -# +04_ = Genres -# +05_ = Countries -# +06_ = Awards -# +07_ = Collections -# +08_ = Decades -# +09_ = Person -# +09_ = Actor -# +09_ = Director -# +09_ = Producer -# +10_ = General - templates: Chart: default: level: "" sort_title: <>+01_<> sync_mode: sync - collection_order: custom schedule: daily visible_library: true @@ -48,7 +32,6 @@ templates: level: "" sort_title: <>+04_<> sync_mode: sync - collection_order: custom schedule: weekly(wednesday), weekly(sunday) visible_library: true @@ -171,6 +154,7 @@ collections: level: "+++" } summary: "Now playing on a screen near you" imdb_chart: box_office + collection_order: custom visible_home: false visible_shared: true @@ -179,6 +163,7 @@ collections: level: "+++" } summary: "The hottest movies right now" imdb_chart: popular_movies + collection_order: custom visible_home: false visible_shared: true @@ -323,6 +308,7 @@ collections: template: { name: Genre } summary: "Bet you didn't see THAT coming..." mdblist_list: https://mdblist.com/lists/hdlists/crazy-plot-twists + collection_order: custom visible_home: false visible_shared: false @@ -330,6 +316,7 @@ collections: template: { name: Genre } summary: "" mdblist_list: https://mdblist.com/lists/hdlists/based-on-or-inspired-by-a-true-story + collection_order: custom visible_home: false visible_shared: false @@ -338,7 +325,7 @@ collections: summary: "True Crime Documentaries" trakt_list: - https://trakt.tv/users/lish408/lists/true-crime-documentary-series-film - collection_order: release + collection_order: custom visible_home: false visible_shared: true @@ -436,39 +423,39 @@ collections: ### Series and Collections Best of 2014: - template: { name: Best of, year: 2014 } + template: { name: Best Of, year: 2014 } schedule: yearly(1) Best of 2015: - template: { name: Best of, year: 2015 } + template: { name: Best Of, year: 2015 } schedule: yearly(1) Best of 2016: - template: { name: Best of, year: 2016 } + template: { name: Best Of, year: 2016 } schedule: yearly(1) Best of 2017: - template: { name: Best of, year: 2017 } + template: { name: Best Of, year: 2017 } schedule: yearly(1) Best of 2018: - template: { name: Best of, year: 2018 } + template: { name: Best Of, year: 2018 } schedule: monthly(1) Best of 2019: - template: { name: Best of, year: 2019 } + template: { name: Best Of, year: 2019 } schedule: monthly(1) Best of 2020: - template: { name: Best of, year: 2020 } + template: { name: Best Of, year: 2020 } schedule: monthly(1) Best of 2021: - template: { name: Best of, year: 2021 } + template: { name: Best Of, year: 2021 } schedule: monthly(1) Best of 2022: - template: { name: Best of, year: 2021 } + template: { name: Best Of, year: 2021 } schedule: monthly(1) "How Did This Get Made?": @@ -583,7 +570,6 @@ collections: level: "+" } trakt_list_details: - https://trakt.tv/users/ruben_vw_/lists/star-wars-canon-timeline - - https://trakt.tv/users/darkman1498/lists/star-wars url_background: https://images.unsplash.com/photo-1579566346927-c68383817a25 visible_home: false visible_shared: false diff --git a/plex/pmm/collections/shows_collections_general.yml b/plex/pmm/collections/shows_collections_general.yml index 2311292..32c5ab7 100644 --- a/plex/pmm/collections/shows_collections_general.yml +++ b/plex/pmm/collections/shows_collections_general.yml @@ -1,20 +1,5 @@ # General collections for any show library (will be replicated for each show library) -# PREFIXES -# +01_ = Charts -# +02_ = Holidays -# +03_ = Studios or Network -# +04_ = Genres -# +05_ = Countries -# +06_ = Awards -# +07_ = Collections -# +08_ = Decades -# +09_ = Person -# +09_ = Actor -# +09_ = Director -# +09_ = Producer -# +10_ = General - templates: Chart: default: @@ -79,17 +64,6 @@ templates: 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 <> - collection_order: release - collection_minimum: 3 - delete_below_minimum: true - Decade: default: level: "" @@ -151,12 +125,43 @@ templates: collections: - "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 + ### New Content + "Added This Week": + summary: "Episodes added this week on Plex" + sort_title: + collection_level: episode + 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 @@ -165,8 +170,17 @@ collections: level: "++" } summary: "Our top picks" trakt_list: - - https://trakt.tv/users/nwithan8/recommendations?sort=rank,asc - - https://trakt.tv/users/nwithan8/lists/recommendations-custom + - https://trakt.tv/users/nwithan8/lists/recommendations-plex-sync?sort=popularity,asc + collection_order: release + 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