From c622d77c7a258abbe3b24f4b95d36fea13693bef Mon Sep 17 00:00:00 2001 From: bullmoose20 Date: Thu, 31 Mar 2022 23:47:40 -0400 Subject: [PATCH] continue to work through yml issues with posters --- .../common/audio_language.yml | 44 ++++++++++++- .../common/country_color.yml | 2 +- .../common/country_white.yml | 2 +- yozora/configs 2.0 - WIP/common/decade.yml | 21 +++++-- yozora/configs 2.0 - WIP/common/genre.yml | 3 +- .../configs 2.0 - WIP/common/resolution.yml | 36 +++++++++-- .../common/resolution_standards.yml | 28 ++++++--- yozora/configs 2.0 - WIP/common/studio.yml | 3 +- yozora/configs 2.0 - WIP/common/year.yml | 13 ++-- yozora/configs 2.0 - WIP/movie/chart.yml | 15 ++--- .../movie/content_rating_us.yml | 13 ++-- yozora/configs 2.0 - WIP/movie/franchise.yml | 3 + yozora/configs 2.0 - WIP/movie/playlists.yml | 63 +++++++++++++++++++ yozora/configs 2.0 - WIP/tv/chart.yml | 6 -- .../tv/content_rating_us.yml | 11 +++- 15 files changed, 217 insertions(+), 46 deletions(-) create mode 100644 yozora/configs 2.0 - WIP/movie/playlists.yml diff --git a/yozora/configs 2.0 - WIP/common/audio_language.yml b/yozora/configs 2.0 - WIP/common/audio_language.yml index 260c67c..0a15a48 100644 --- a/yozora/configs 2.0 - WIP/common/audio_language.yml +++ b/yozora/configs 2.0 - WIP/common/audio_language.yml @@ -6,19 +6,58 @@ templates: audiolanguage: + default: + URL_ENCODE: <> collection_mode: hide + sort_title: +07_<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/audio_language/<>.jpg smart_filter: sort_by: release.desc any: audio_language: <> - sort_title: +07_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/audio_language/<>.jpg dynamic_collections: Audio Language: # mapping name does not matter just needs to be unique type: audio_language title_format: <> Audio other_name: Other Audio + template: audiolanguage + template_variables: + URL_ENCODE: + ar: ar + bg: bg + cs: cs + zh: zh + da: da + nl: nl + en: en + et: et + fr: fr + de: de + el: el + hu: hu + is: is + ur: ur + id: id + it: it + ja: ja + ko: ko + lv: lv + ms: ms + no: no + ph: ph + pl: pl + pt: pt + rm: rm + ru: ru + sr: sr + es: es + sv: sv + th: th + tr: tr + ua: ua + vi: vi + other: Other%20Audio key_name_override: ar: Arabic bg: Bulgarian @@ -53,7 +92,6 @@ dynamic_collections: tr: Turkish ua: Ukranian vi: Vietnamese - template: audiolanguage include: - ar - zh diff --git a/yozora/configs 2.0 - WIP/common/country_color.yml b/yozora/configs 2.0 - WIP/common/country_color.yml index a3a54e3..da15609 100644 --- a/yozora/configs 2.0 - WIP/common/country_color.yml +++ b/yozora/configs 2.0 - WIP/common/country_color.yml @@ -32,7 +32,7 @@ dynamic_collections: United Arab Emirates: United%20Arab%20Emirates United Kingdon: United%20Kingdom United States of America: United%20States%20of%20America - Other Countries: Other%20Countries + other: Other%20Countries include: - Australia - Brazil diff --git a/yozora/configs 2.0 - WIP/common/country_white.yml b/yozora/configs 2.0 - WIP/common/country_white.yml index 41e522d..ef10d47 100644 --- a/yozora/configs 2.0 - WIP/common/country_white.yml +++ b/yozora/configs 2.0 - WIP/common/country_white.yml @@ -32,7 +32,7 @@ dynamic_collections: United Arab Emirates: United%20Arab%20Emirates United Kingdon: United%20Kingdom United States of America: United%20States%20of%20America - Other Countries: Other%20Countries + other: Other%20Countries include: - Australia - Brazil diff --git a/yozora/configs 2.0 - WIP/common/decade.yml b/yozora/configs 2.0 - WIP/common/decade.yml index d4e35bb..3628c3b 100644 --- a/yozora/configs 2.0 - WIP/common/decade.yml +++ b/yozora/configs 2.0 - WIP/common/decade.yml @@ -6,21 +6,34 @@ templates: decade_dynamic: + default: + URL_ENCODE: <> collection_mode: hide + sort_title: +10_<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/yearsanddecades/<>.jpg smart_filter: sort_by: critic_rating.desc - all: + any: decade: <> limit: 100 - sort_title: +10_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/yearsanddecades/<>.jpg dynamic_collections: Decades: # mapping name does not matter just needs to be unique type: decade title_format: Best of <> - template: decade_dynamic other_name: Other Decades + template: decade_dynamic + template_variables: + URL_ENCODE: + 1950: Best%20of%201950s + 1960: Best%20of%201960s + 1970: Best%20of%201970s + 1980: Best%20of%201980s + 1990: Best%20of%201990s + 2000: Best%20of%202000s + 2010: Best%20of%202010s + 2020: Best%20of%202020s + other: Other%20Decades include: - "1950" - "1960" diff --git a/yozora/configs 2.0 - WIP/common/genre.yml b/yozora/configs 2.0 - WIP/common/genre.yml index b13817e..a5b7c8c 100644 --- a/yozora/configs 2.0 - WIP/common/genre.yml +++ b/yozora/configs 2.0 - WIP/common/genre.yml @@ -10,7 +10,7 @@ templates: URL_ENCODE: <> collection_mode: hide sort_title: +06_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/genre/<>.jpg + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/genre/<>.jpg smart_filter: sort_by: release.desc any: @@ -30,6 +30,7 @@ dynamic_collections: Sci-Fi & Fantasy: Sci-Fi%20&%20Fantasy Science Fiction: Science%20Fiction Talk Show: Talk%20Show + other: Other%20Genres include: - Action - Action/Adventure diff --git a/yozora/configs 2.0 - WIP/common/resolution.yml b/yozora/configs 2.0 - WIP/common/resolution.yml index 4272465..00494c2 100644 --- a/yozora/configs 2.0 - WIP/common/resolution.yml +++ b/yozora/configs 2.0 - WIP/common/resolution.yml @@ -1,24 +1,52 @@ ###################################################### # Dynamic Resolution Collections # # Created by Yozora and Bullmoose20 # +# # ###################################################### templates: resolution_dynamic: + default: + URL_ENCODE: <> collection_mode: hide + sort_title: +12_<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/resolution/<>.jpg smart_filter: sort_by: release.desc any: resolution: <> - sort_title: +12_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/resolution/<>.jpg dynamic_collections: Resolutions: # mapping name does not matter just needs to be unique type: resolution - template: resolution_dynamic title_format: <> <>s other_name: Other Resolutions + template: resolution_dynamic + template_variables: + URL_ENCODE: + 144p: 144p + 240p: 240p + 360p: 360p + 480p: 480p + 576p: 576p + 720p: 720p + SD: SD + 1080p: 1080p + 4K: 4K + 8K: 8K + other: Other%Resolutions + include: + - 144p + - 240p + - 360p + - 480p + - 576p + - 720p + - SD + - 1080p + - 2K + - 4K + - 8K addons: 1080p: - - 2K + - 2K \ No newline at end of file diff --git a/yozora/configs 2.0 - WIP/common/resolution_standards.yml b/yozora/configs 2.0 - WIP/common/resolution_standards.yml index 7f6b1e8..1029170 100644 --- a/yozora/configs 2.0 - WIP/common/resolution_standards.yml +++ b/yozora/configs 2.0 - WIP/common/resolution_standards.yml @@ -7,27 +7,41 @@ templates: resolution_dynamic: default: - URL_ENCODE: <> + URL_ENCODE: <> collection_mode: hide sort_title: +12_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/resolution/<>.jpg + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/resolution/<>.jpg smart_filter: sort_by: release.desc any: resolution: <> dynamic_collections: - resolutions: # mapping name does not matter just needs to be unique + Resolutions: # mapping name does not matter just needs to be unique type: resolution title_format: <> <>s other_name: Other Resolutions template: resolution_dynamic template_variables: URL_ENCODE: - HD Ready: HD%20Ready - Full HD: Full%20HD - Ultra HD: Ultra%20HD - 8K Ultra HD: 8K%20Ultra%20HD + 480p: SD + 720p: HD%20Ready + 1080p: Full%20HD + 4K: Ultra%20HD + 8K: 8K%20Ultra%20HD + other: Other%Resolutions + include: + - 144p + - 240p + - 360p + - 480p + - 576p + - 720p + - SD + - 1080p + - 2K + - 4K + - 8K addons: 480p: - 144p diff --git a/yozora/configs 2.0 - WIP/common/studio.yml b/yozora/configs 2.0 - WIP/common/studio.yml index 9318f7a..49b808b 100644 --- a/yozora/configs 2.0 - WIP/common/studio.yml +++ b/yozora/configs 2.0 - WIP/common/studio.yml @@ -39,6 +39,7 @@ dynamic_collections: Universal Pictures: Universal%20Pictures Walt Disney Pictures: Walt%20Disney%20Pictures Warner Bros. Pictures: Warner%20Bros.%20Pictures + Other Studios: Other%20Studios include: - 20th Century Studios - Amazon Studios @@ -59,7 +60,7 @@ dynamic_collections: - Walt Disney Pictures - Warner Bros. Pictures addons: - 20th Centruy Studios: + 20th Century Studios: - 20th Century Amazon Studios: - Amazon diff --git a/yozora/configs 2.0 - WIP/common/year.yml b/yozora/configs 2.0 - WIP/common/year.yml index 48b05bc..642c2b4 100644 --- a/yozora/configs 2.0 - WIP/common/year.yml +++ b/yozora/configs 2.0 - WIP/common/year.yml @@ -6,21 +6,26 @@ templates: year_dynamic: + default: + URL_ENCODE: <> collection_mode: hide + sort_title: +11_<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/yearsanddecades/<>.jpg smart_filter: sort_by: critic_rating.desc - all: + any: year: <> limit: 100 - sort_title: +11_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/yearsanddecades/<>.jpg dynamic_collections: Years: # mapping name does not matter just needs to be unique type: year - template: year_dynamic title_format: <> other_name: Other Years + template: year_dynamic + template_variables: + URL_ENCODE: + other: Other%20Years include: - "1950" - "1951" diff --git a/yozora/configs 2.0 - WIP/movie/chart.yml b/yozora/configs 2.0 - WIP/movie/chart.yml index c07abc9..455f793 100644 --- a/yozora/configs 2.0 - WIP/movie/chart.yml +++ b/yozora/configs 2.0 - WIP/movie/chart.yml @@ -10,11 +10,11 @@ templates: sort_title: +01_<> sync_mode: sync limit: 100 - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/chart/<>.jpg + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/common/chart/<>.jpg collections: Newly Released Movies: - template: {name: chartandrelease} + template: {name: chartandrelease, URL_ENCODE: "Newly%20Released%20Movies"} summary: A collection of newly-released movies in cinema and on streaming services smart_filter: all: @@ -24,22 +24,23 @@ collections: country: United Kingdom, United States of America, Canada sort_by: release.desc TMDb Trending Movies: - template: {name: chartandrelease} + template: {name: chartandrelease, URL_ENCODE: "TMDb%20Trending%20Movies"} tmdb_trending_weekly: 250 summary: A collection of movies trending on TMDb sync_mode: sync TMDb Popular Movies: - template: {name: chartandrelease} + template: {name: chartandrelease, URL_ENCODE: "TMDb%20Popular%20Movies"} tmdb_popular: 250 summary: A collection of the most watched movies according to TMDb. smart_label: random - TMDb Now Playing: - template: {name: chartandrelease} + TMDb Now Playing Movies: + template: {name: chartandrelease, URL_ENCODE: "TMDb%20Now%20Playing%20Movies"} tmdb_now_playing: 250 summary: A collection of movies that people are currently watching. smart_label: random - IMDb Top 250: + IMDb Top 250 Movies: sort_title: +01_z<> + template: {name: chartandrelease, URL_ENCODE: "IMDb%20Top%20250%20Movies"} imdb_chart: top_movies collection_mode: hide collection_order: custom diff --git a/yozora/configs 2.0 - WIP/movie/content_rating_us.yml b/yozora/configs 2.0 - WIP/movie/content_rating_us.yml index ee73379..ee261e7 100644 --- a/yozora/configs 2.0 - WIP/movie/content_rating_us.yml +++ b/yozora/configs 2.0 - WIP/movie/content_rating_us.yml @@ -6,20 +6,25 @@ templates: contentrating_dynamic: + default: + URL_ENCODE: <> collection_mode: hide + sort_title: +03_<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/movie/content_rating/mpaa_(us)/<>.jpg smart_filter: sort_by: release.desc any: - content_rating: <> - sort_title: +03_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/movie/content_rating/mpaa_(us)/<>.jpg + content_rating: <> dynamic_collections: US MOVIE Content Ratings: type: content_rating title_format: <> - template: contentrating_dynamic other_name: Other Ratings + template: contentrating_dynamic + template_variables: + URL_ENCODE: + other: Other%20Ratings include: - G - PG diff --git a/yozora/configs 2.0 - WIP/movie/franchise.yml b/yozora/configs 2.0 - WIP/movie/franchise.yml index e54384a..b858e84 100644 --- a/yozora/configs 2.0 - WIP/movie/franchise.yml +++ b/yozora/configs 2.0 - WIP/movie/franchise.yml @@ -42,6 +42,9 @@ collections: Star Wars: template: {name: collection, URL_ENCODE: "Star%20Wars"} tmdb_collection_details: 10 + The Hunger Games: + template: {name: collection, URL_ENCODE: "The%20Hunger%20Games"} + tmdb_collection_details: 131635 Wizarding World: template: {name: collection, URL_ENCODE: "Wizarding%20World"} tmdb_list: https://www.themoviedb.org/list/63607 diff --git a/yozora/configs 2.0 - WIP/movie/playlists.yml b/yozora/configs 2.0 - WIP/movie/playlists.yml new file mode 100644 index 0000000..ae241dc --- /dev/null +++ b/yozora/configs 2.0 - WIP/movie/playlists.yml @@ -0,0 +1,63 @@ +###################################################### +# Dynamic US Content Rating Collections # +# Rating Adjustments made by Yozora # +# Created by Yozora and Bullmoose20 # +###################################################### + +# templates: + # collection: + # url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/movie/franchise/<>.jpg + +playlists: + Marvel Cinematic Universe: + # template: {name: collection, URL_ENCODE: "Marvel%20Cinematic%20Universe"} + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/donxy/lists/marvel-cinematic-universe?sort=rank,asc + summary: Marvel Cinematic Universe In Order + X-Men Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/donxy/lists/x-men-universe?sort=rank,asc + Star Wars Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/movistapp/lists/star-wars?sort=rank,asc + Walt Disney Animated Feature Films: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/movistapp/lists/walt-disney-animated-feature-films?sort=rank,asc + James Bond Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/any/lists/james-bond?sort=rank,asc + Fast & Furious Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/mausk/lists/fast-furious?sort=rank,desc + Harry Potter Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/goldveia/lists/harry-potter?sort=rank,asc + Lord of the Rings Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/spite84/lists/lord-of-the-rings?sort=rank,asc + Jurassic Park Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/iamgabriel/lists/jurassic?sort=rank,asc + Hunger Games Movies Chronological Order: + sync_to_users: all + sync_mode: sync + libraries: Movies, TV Shows + trakt_list: https://trakt.tv/users/gapunk78/lists/hunger-games?sort=rank,asc \ No newline at end of file diff --git a/yozora/configs 2.0 - WIP/tv/chart.yml b/yozora/configs 2.0 - WIP/tv/chart.yml index ca85f17..f333bde 100644 --- a/yozora/configs 2.0 - WIP/tv/chart.yml +++ b/yozora/configs 2.0 - WIP/tv/chart.yml @@ -41,9 +41,3 @@ collections: summary: A collection of the most watched shows according to TMDb. smart_label: random sync_mode: sync - IMDb Top 250: - template: {name: chartandrelease, URL_ENCODE: "IMDb%20Top%20250"} - imdb_chart: top_movies - collection_mode: hide - collection_order: custom - sync_mode: sync \ No newline at end of file diff --git a/yozora/configs 2.0 - WIP/tv/content_rating_us.yml b/yozora/configs 2.0 - WIP/tv/content_rating_us.yml index 5619bc8..72cd308 100644 --- a/yozora/configs 2.0 - WIP/tv/content_rating_us.yml +++ b/yozora/configs 2.0 - WIP/tv/content_rating_us.yml @@ -6,20 +6,25 @@ templates: contentrating_dynamic: + default: + URL_ENCODE: <> collection_mode: hide + sort_title: +03_<> + url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/tv/content_rating/mpaa_(us)/<>.jpg smart_filter: sort_by: release.desc any: content_rating: <> - sort_title: +03_<> - url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/tv/content_rating/mpaa_(us)/<>.jpg dynamic_collections: US TV Content Ratings: type: content_rating title_format: <> - template: contentrating_dynamic other_name: Other Ratings + template: contentrating_dynamic + template_variables: + URL_ENCODE: + Other Ratings: Other%20Ratings include: - TV-G - TV-Y