[123] fix navbar

This commit is contained in:
meisnate12 2022-10-17 10:00:48 -04:00
parent 53e3be2e0b
commit 2fc3328d1d
23 changed files with 193 additions and 146 deletions

View file

@ -77,7 +77,7 @@ Below are some user-curated collections which have been created by Plex Meta Man
## Default and User Submitted Metadata/Overlay Files
The overlays and collection built in the images above can be easily added to any plex by using the [PMM Defaults](https://metamanager.wiki/en/latest/defaults/defaults.html). These Files were created by the PMM team to make it easier than ever to have customized collections and overlays.
The overlays and collection built in the images above can be easily added to any plex by using the [PMM Defaults](https://metamanager.wiki/en/latest/defaults/guide.html). These Files were created by the PMM team to make it easier than ever to have customized collections and overlays.
To see user submitted Metadata configuration files, and you to even add your own, go to the [Plex Meta Manager Configs](https://github.com/meisnate12/Plex-Meta-Manager-Configs).

View file

@ -1 +1 @@
1.17.3-develop122
1.17.3-develop123

View file

@ -32,32 +32,46 @@
<li class="divider"></li>
{% elif sublink[0] == "_menu" %}
<li class="dropdown-submenu">
<a tabindex="-1" href="{{ pathto(sublink[2]) }}">{{ sublink[1] }}</a>
{% if sublink[2] == "#" %}
<a tabindex="-1" href="#">{{ sublink[1] }}</a>
{% else %}
<a tabindex="-1" href="{{ pathto(sublink[2]) }}">{{ sublink[1] }}</a>
{% endif %}
<ul class="dropdown-menu">
{%- for subsublink in sublink[3] %}
{% if subsublink[0] == "_divider" %}
<li class="divider"></li>
{% elif subsublink[0] == "_menu" %}
<li class="dropdown-submenu">
<a tabindex="-1" href="{{ pathto(subsublink[2]) }}">{{ subsublink[1] }}</a>
{% if subsublink[2] == "#" %}
<a tabindex="-1" href="#">{{ subsublink[1] }}</a>
{% else %}
<a tabindex="-1" href="{{ pathto(subsublink[2]) }}">{{ subsublink[1] }}</a>
{% endif %}
<ul class="dropdown-menu">
{%- for subsubsublink in subsublink[3] %}
{% if subsubsublink[0] == "_divider" %}
<li class="divider"></li>
{% elif subsubsublink|length > 2 %}
<li><a href="{{ pathto(subsubsublink[1]) }}{{ subsubsublink[2] }}">{{ subsubsublink[0] }}</a></li>
{% else %}
<li><a href="{{ pathto(*subsubsublink[1:]) }}">{{ subsubsublink[0] }}</a></li>
<li><a href="{{ pathto(subsubsublink[1]) }}">{{ subsubsublink[0] }}</a></li>
{% endif %}
{%- endfor %}
</ul>
</li>
{% elif subsublink|length > 2 %}
<li><a href="{{ pathto(subsublink[1]) }}{{ subsublink[2] }}">{{ subsublink[0] }}</a></li>
{% else %}
<li><a href="{{ pathto(*subsublink[1:]) }}">{{ subsublink[0] }}</a></li>
<li><a href="{{ pathto(subsublink[1]) }}">{{ subsublink[0] }}</a></li>
{% endif %}
{%- endfor %}
</ul>
</li>
{% elif sublink|length > 2 %}
<li><a href="{{ pathto(sublink[1]) }}{{ sublink[2] }}">{{ sublink[0] }}</a></li>
{% else %}
<li><a href="{{ pathto(*sublink[1:]) }}">{{ sublink[0] }}</a></li>
<li><a href="{{ pathto(sublink[1]) }}">{{ sublink[0] }}</a></li>
{% endif %}
{%- endfor %}
</ul>

View file

@ -150,29 +150,28 @@ html_theme_options = {
("_divider", ),
("Libraries/Playlists", "config/libraries"),
("Path Types", "config/paths"),
("Operations", "config/operations"),
("_menu", "Operations", "config/operations", [
("Assets For All", "config/operations.html#assets-for-all"),
("Delete Collections With Less", "config/operations.html#delete-collections-with-less"),
("Delete Unmanaged Collections", "config/operations.html#delete-unmanaged-collections"),
("Mass Genre Update", "config/operations.html#mass-genre-update"),
("Mass Content Rating Update", "config/operations.html#mass-content-rating-update"),
("Mass Original Title Update", "config/operations.html#mass-original-title-update"),
("Mass Originally Available Update", "config/operations.html#mass-originally-available-update"),
("Mass * Rating Update", "config/operations.html#mass--rating-update"),
("Mass Episode * Rating Update", "config/operations.html#mass-episode--rating-update"),
("Mass IMDb Parental Labels", "config/operations.html#mass-imdb-parental-labels"),
("Mass Collection Mode", "config/operations.html#mass-collection-mode"),
("Update Blank Track Titles", "config/operations.html#update-blank-track-titles"),
("Remove Title Parentheses", "config/operations.html#remove-title-parentheses"),
("Split Duplicates", "config/operations.html#split-duplicates"),
("Radarr Add All", "config/operations.html#radarr-add-all"),
("Radarr Remove By Tag", "config/operations.html#radarr-remove-by-tag"),
("Sonarr Add All", "config/operations.html#sonarr-add-all"),
("Sonarr Remove By Tag", "config/operations.html#sonarr-remove-by-tag"),
("Genre Mapper", "config/operations.html#genre-mapper"),
("Content Rating Mapper", "config/operations.html#content-rating-mapper"),
("Metadata Backup", "config/operations.html#metadata-backup"),
("Assets For All", "config/operations", "#assets-for-all"),
("Delete Collections With Less", "config/operations", "#delete-collections-with-less"),
("Delete Unmanaged Collections", "config/operations", "#delete-unmanaged-collections"),
("Mass Genre Update", "config/operations", "#mass-genre-update"),
("Mass Content Rating Update", "config/operations", "#mass-content-rating-update"),
("Mass Original Title Update", "config/operations", "#mass-original-title-update"),
("Mass Originally Available Update", "config/operations", "#mass-originally-available-update"),
("Mass * Rating Update", "config/operations", "#mass--rating-update"),
("Mass Episode * Rating Update", "config/operations", "#mass-episode--rating-update"),
("Mass IMDb Parental Labels", "config/operations", "#mass-imdb-parental-labels"),
("Mass Collection Mode", "config/operations", "#mass-collection-mode"),
("Update Blank Track Titles", "config/operations", "#update-blank-track-titles"),
("Remove Title Parentheses", "config/operations", "#remove-title-parentheses"),
("Split Duplicates", "config/operations", "#split-duplicates"),
("Radarr Add All", "config/operations", "#radarr-add-all"),
("Radarr Remove By Tag", "config/operations", "#radarr-remove-by-tag"),
("Sonarr Add All", "config/operations", "#sonarr-add-all"),
("Sonarr Remove By Tag", "config/operations", "#sonarr-remove-by-tag"),
("Genre Mapper", "config/operations", "#genre-mapper"),
("Content Rating Mapper", "config/operations", "#content-rating-mapper"),
("Metadata Backup", "config/operations", "#metadata-backup"),
]),
("Settings", "config/settings"),
("Webhooks", "config/webhooks"),
@ -194,12 +193,12 @@ html_theme_options = {
("Defaults Usage Guide", "defaults/guide"),
("Defaults Files", "defaults/files"),
("_divider", ),
("_menu", "Collections", "defaults/variables", [
("_menu", "Collections", "defaults/defaults", [
("Collections", "defaults/defaults"),
("Shared Variables", "defaults/variables"),
("_divider", ),
("Separators", "defaults/separators"),
("_menu", "Award", "#", [
("_menu", "Award", "defaults/award/separator", [
("Awards Separator", "defaults/award/separator"),
("_divider",),
("Academy Awards (Oscars)", "defaults/award/oscars"),
@ -212,7 +211,7 @@ html_theme_options = {
("Sundance File Festival Awards", "defaults/award/sundance"),
("Other Awards", "defaults/award/other"),
]),
("_menu", "Chart", "#", [
("_menu", "Chart", "defaults/chart/separator", [
("Chart Separator", "defaults/chart/separator"),
("_divider",),
("Basic Charts", "defaults/chart/basic"),
@ -225,7 +224,7 @@ html_theme_options = {
("Trakt Charts", "defaults/chart/trakt"),
("Other Charts", "defaults/chart/other"),
]),
("_menu", "Movie", "#", [
("_menu", "Movie", "defaults/separators", [
("Actors", "defaults/both/actor"),
("Audio Languages", "defaults/both/audio_language"),
("Content Ratings (US)", "defaults/movie/content_rating_us"),
@ -246,7 +245,7 @@ html_theme_options = {
("Writers", "defaults/movie/writer"),
("Years", "defaults/both/year"),
]),
("_menu", "Show", "#", [
("_menu", "Show", "defaults/separators", [
("Actors", "defaults/both/actor"),
("Audio Languages", "defaults/both/audio_language"),
("Content Ratings (US)", "defaults/show/content_rating_us"),
@ -292,7 +291,41 @@ html_theme_options = {
("_divider", ),
("Templates", "metadata/templates"),
("Filters", "metadata/filters"),
("Dynamic Collections", "metadata/dynamic"),
("_menu", "Dynamic Collections", "metadata/dynamic", [
("_menu", "TMDb Dynamic Collections", "metadata/dynamic", [
("TMDb Collection", "metadata/dynamic", "#tmdb-collection"),
("TMDb Popular People", "metadata/dynamic", "#tmdb-popular-people"),
("Original Language", "metadata/dynamic", "#original-language"),
("Origin Country", "metadata/dynamic", "#origin-country"),
]),
("_menu", "Trakt Dynamic Collections", "metadata/dynamic", [
("Trakt User Lists", "metadata/dynamic", "#trakt-user-lists"),
("Trakt Liked Lists", "metadata/dynamic", "#trakt-liked-lists"),
("Trakt People Lists", "metadata/dynamic", "#trakt-people-lists"),
]),
("_menu", "Plex Dynamic Collections", "metadata/dynamic", [
("Actor", "metadata/dynamic", "#actor"),
("Director", "metadata/dynamic", "#director"),
("Writer", "metadata/dynamic", "#writer"),
("Producer", "metadata/dynamic", "#producer"),
("Genre", "metadata/dynamic", "#genre"),
("Content Rating", "metadata/dynamic", "#content-rating"),
("Year", "metadata/dynamic", "#year"),
("Decade", "metadata/dynamic", "#decade"),
("Country", "metadata/dynamic", "#country"),
("Resolution", "metadata/dynamic", "#resolution"),
("Subtitle Language", "metadata/dynamic", "#subtitle-language"),
("Audio Language", "metadata/dynamic", "#audio-language"),
("Studio", "metadata/dynamic", "#studio"),
("Edition", "metadata/dynamic", "#edition"),
("Network", "metadata/dynamic", "#network"),
("Mood", "metadata/dynamic", "#mood"),
("Style", "metadata/dynamic", "#style"),
("Album Style", "metadata/dynamic", "#album-style"),
]),
("Number", "metadata/dynamic", "#number"),
("Custom", "metadata/dynamic", "#custom"),
]),
("_menu", "Editing Media Metadata", "#", [
("Editing Movie Metadata", "metadata/metadata/movie"),
("Editing TV Metadata", "metadata/metadata/show"),
@ -300,119 +333,119 @@ html_theme_options = {
]),
("_menu", "Builders", "#", [
("_menu", "Plex Builders", "metadata/builders/plex", [
("Plex All", "metadata/builders/plex.html#plex-all"),
("Plex Watchlist", "metadata/builders/plex.html#plex-watchlist"),
("Plex Pilots", "metadata/builders/plex.html#plex-pilots"),
("Plex Collectionless", "metadata/builders/plex.html#plex-collectionless"),
("Plex Search", "metadata/builders/plex.html#plex-search"),
("Plex All", "metadata/builders/plex", "#plex-all"),
("Plex Watchlist", "metadata/builders/plex", "#plex-watchlist"),
("Plex Pilots", "metadata/builders/plex", "#plex-pilots"),
("Plex Collectionless", "metadata/builders/plex", "#plex-collectionless"),
("Plex Search", "metadata/builders/plex", "#plex-search"),
]),
("_menu", "Smart Builders", "metadata/builders/smart", [
("Smart Label", "metadata/builders/smart.html#smart-label"),
("Smart Filter", "metadata/builders/smart.html#smart-filter"),
("Smart Label", "metadata/builders/smart", "#smart-label"),
("Smart Filter", "metadata/builders/smart", "#smart-filter"),
]),
("_menu", "TMDb Builders", "metadata/builders/tmdb", [
("TMDb Collection", "metadata/builders/tmdb.html#tmdb-collection"),
("TMDb List", "metadata/builders/tmdb.html#tmdb-list"),
("TMDb Actor", "metadata/builders/tmdb.html#tmdb-actor"),
("TMDb Crew", "metadata/builders/tmdb.html#tmdb-crew"),
("TMDb Director", "metadata/builders/tmdb.html#tmdb-director"),
("TMDb Producer", "metadata/builders/tmdb.html#tmdb-producer"),
("TMDb Writer", "metadata/builders/tmdb.html#tmdb-writer"),
("TMDb Movie", "metadata/builders/tmdb.html#tmdb-movie"),
("TMDb Show", "metadata/builders/tmdb.html#tmdb-show"),
("TMDb Company", "metadata/builders/tmdb.html#tmdb-company"),
("TMDb Network", "metadata/builders/tmdb.html#tmdb-network"),
("TMDb Keyword", "metadata/builders/tmdb.html#tmdb-keyword"),
("TMDb Popular", "metadata/builders/tmdb.html#tmdb-popular"),
("TMDb Now Playing", "metadata/builders/tmdb.html#tmdb-now-playing"),
("TMDb Top Rated", "metadata/builders/tmdb.html#tmdb-top-rated"),
("TMDb Upcoming", "metadata/builders/tmdb.html#tmdb-upcoming"),
("TMDb Airing Today", "metadata/builders/tmdb.html#tmdb-airing-today"),
("TMDb On the Air", "metadata/builders/tmdb.html#tmdb-on-the-air"),
("TMDb Trending Daily", "metadata/builders/tmdb.html#tmdb-trending-daily"),
("TMDb Trending Weekly", "metadata/builders/tmdb.html#tmdb-trending-weekly"),
("TMDb Discover", "metadata/builders/tmdb.html#tmdb-discover"),
("TMDb Collection", "metadata/builders/tmdb", "#tmdb-collection"),
("TMDb List", "metadata/builders/tmdb", "#tmdb-list"),
("TMDb Actor", "metadata/builders/tmdb", "#tmdb-actor"),
("TMDb Crew", "metadata/builders/tmdb", "#tmdb-crew"),
("TMDb Director", "metadata/builders/tmdb", "#tmdb-director"),
("TMDb Producer", "metadata/builders/tmdb", "#tmdb-producer"),
("TMDb Writer", "metadata/builders/tmdb", "#tmdb-writer"),
("TMDb Movie", "metadata/builders/tmdb", "#tmdb-movie"),
("TMDb Show", "metadata/builders/tmdb", "#tmdb-show"),
("TMDb Company", "metadata/builders/tmdb", "#tmdb-company"),
("TMDb Network", "metadata/builders/tmdb", "#tmdb-network"),
("TMDb Keyword", "metadata/builders/tmdb", "#tmdb-keyword"),
("TMDb Popular", "metadata/builders/tmdb", "#tmdb-popular"),
("TMDb Now Playing", "metadata/builders/tmdb", "#tmdb-now-playing"),
("TMDb Top Rated", "metadata/builders/tmdb", "#tmdb-top-rated"),
("TMDb Upcoming", "metadata/builders/tmdb", "#tmdb-upcoming"),
("TMDb Airing Today", "metadata/builders/tmdb", "#tmdb-airing-today"),
("TMDb On the Air", "metadata/builders/tmdb", "#tmdb-on-the-air"),
("TMDb Trending Daily", "metadata/builders/tmdb", "#tmdb-trending-daily"),
("TMDb Trending Weekly", "metadata/builders/tmdb", "#tmdb-trending-weekly"),
("TMDb Discover", "metadata/builders/tmdb", "#tmdb-discover"),
]),
("_menu", "TVDb Builders", "metadata/builders/tvdb", [
("TVDb List", "metadata/builders/tvdb.html#tvdb-list"),
("TVDb Movie", "metadata/builders/tvdb.html#tvdb-movie"),
("TVDb Show", "metadata/builders/tvdb.html#tvdb-show"),
("TVDb List", "metadata/builders/tvdb", "#tvdb-list"),
("TVDb Movie", "metadata/builders/tvdb", "#tvdb-movie"),
("TVDb Show", "metadata/builders/tvdb", "#tvdb-show"),
]),
("_menu", "IMDb Builders", "metadata/builders/imdb", [
("IMDb ID", "metadata/builders/imdb.html#imdb-id"),
("IMDb Chart", "metadata/builders/imdb.html#imdb-chart"),
("IMDb List", "metadata/builders/imdb.html#imdb-list"),
("IMDb Watchlist", "metadata/builders/imdb.html#imdb-watchlist"),
("IMDb ID", "metadata/builders/imdb", "#imdb-id"),
("IMDb Chart", "metadata/builders/imdb", "#imdb-chart"),
("IMDb List", "metadata/builders/imdb", "#imdb-list"),
("IMDb Watchlist", "metadata/builders/imdb", "#imdb-watchlist"),
]),
("_menu", "Trakt Builders", "metadata/builders/trakt", [
("Trakt List", "metadata/builders/trakt.html#trakt-list"),
("Trakt Chart", "metadata/builders/trakt.html#trakt-chart"),
("Trakt Userlist", "metadata/builders/trakt.html#trakt-userlist"),
("Trakt Recommendations", "metadata/builders/trakt.html#trakt-recommendations"),
("Trakt Box Office", "metadata/builders/trakt.html#trakt-box-office"),
("Trakt List", "metadata/builders/trakt", "#trakt-list"),
("Trakt Chart", "metadata/builders/trakt", "#trakt-chart"),
("Trakt Userlist", "metadata/builders/trakt", "#trakt-userlist"),
("Trakt Recommendations", "metadata/builders/trakt", "#trakt-recommendations"),
("Trakt Box Office", "metadata/builders/trakt", "#trakt-box-office"),
]),
("_menu", "Tautulli Builders", "metadata/builders/tautulli", [
("Tautulli Popular/Watched", "metadata/builders/tautulli.html#tautulli-popular-watched"),
("Tautulli Popular/Watched", "metadata/builders/tautulli", "#tautulli-popular-watched"),
]),
("_menu", "Radarr Builders", "metadata/builders/radarr", [
("Radarr All", "metadata/builders/radarr.html#radarr-all"),
("Radarr Taglist", "metadata/builders/radarr.html#radarr-taglist"),
("Radarr All", "metadata/builders/radarr", "#radarr-all"),
("Radarr Taglist", "metadata/builders/radarr", "#radarr-taglist"),
]),
("_menu", "Sonarr Builders", "metadata/builders/sonarr", [
("Sonarr All", "metadata/builders/sonarr.html#sonarr-all"),
("Sonarr Taglist", "metadata/builders/sonarr.html#sonarr-taglist"),
("Sonarr All", "metadata/builders/sonarr", "#sonarr-all"),
("Sonarr Taglist", "metadata/builders/sonarr", "#sonarr-taglist"),
]),
("_menu", "MdbList Builders", "metadata/builders/mdblist", [
("MdbList List", "metadata/builders/mdblist.html#mdblist-list"),
("MdbList List", "metadata/builders/mdblist", "#mdblist-list"),
]),
("_menu", "Letterboxd Builders", "metadata/builders/letterboxd", [
("Letterboxd List", "metadata/builders/letterboxd.html#letterboxd-list"),
("Letterboxd List", "metadata/builders/letterboxd", "#letterboxd-list"),
]),
("_menu", "ICheckMovies Builders", "metadata/builders/icheckmovies", [
("ICheckMovies List", "metadata/builders/icheckmovies.html#icheckmovies-list"),
("ICheckMovies List", "metadata/builders/icheckmovies", "#icheckmovies-list"),
]),
("_menu", "FlixPatrol Builders", "metadata/builders/flixpatrol", [
("FlixPatrol Top Platform", "metadata/builders/flixpatrol.html#flixpatrol-top"),
("FlixPatrol Popular", "metadata/builders/flixpatrol.html#flixpatrol-popular"),
("FlixPatrol demographicURLTop Platform", "metadata/builders/flixpatrol.html#flixpatrol-url"),
("FlixPatrol Top Platform", "metadata/builders/flixpatrol", "#flixpatrol-top"),
("FlixPatrol Popular", "metadata/builders/flixpatrol", "#flixpatrol-popular"),
("FlixPatrol demographicURLTop Platform", "metadata/builders/flixpatrol", "#flixpatrol-url"),
]),
("_menu", "Reciperr Builders", "metadata/builders/reciperr", [
("Reciperr List", "metadata/builders/reciperr.html#reciperr-list"),
("Reciperr List", "metadata/builders/reciperr", "#reciperr-list"),
]),
("_menu", "StevenLu Builders", "metadata/builders/stevenlu", [
("StevenLu List", "metadata/builders/stevenlu.html#stevenlu-s-popular-movies-list"),
("StevenLu List", "metadata/builders/stevenlu", "#stevenlu-s-popular-movies-list"),
]),
("_menu", "AniDB Builders", "metadata/builders/anidb", [
("AniDB ID", "metadata/builders/anidb.html#anidb-id"),
("AniDB Relation", "metadata/builders/anidb.html#anidb-relation"),
("AniDB Popular", "metadata/builders/anidb.html#anidb-popular"),
("AniDB Tag", "metadata/builders/anidb.html#anidb-tag"),
("AniDB ID", "metadata/builders/anidb", "#anidb-id"),
("AniDB Relation", "metadata/builders/anidb", "#anidb-relation"),
("AniDB Popular", "metadata/builders/anidb", "#anidb-popular"),
("AniDB Tag", "metadata/builders/anidb", "#anidb-tag"),
]),
("_menu", "AniList Builders", "metadata/builders/anilist", [
("AniList Top Rated", "metadata/builders/anilist.html#anilist-top-rated"),
("AniList Anilist Popular", "metadata/builders/anilist.html#anilist-anilist-popular"),
("AniList Trending", "metadata/builders/anilist.html#anilist-trending"),
("AniList Relations", "metadata/builders/anilist.html#anilist-relations"),
("AniList Studio", "metadata/builders/anilist.html#anilist-studio"),
("AniList ID", "metadata/builders/anilist.html#anilist-id"),
("AniList UserList", "metadata/builders/anilist.html#anilist-userlist"),
("AniList Search", "metadata/builders/anilist.html#anilist-search"),
("AniList Top Rated", "metadata/builders/anilist", "#anilist-top-rated"),
("AniList Anilist Popular", "metadata/builders/anilist", "#anilist-anilist-popular"),
("AniList Trending", "metadata/builders/anilist", "#anilist-trending"),
("AniList Relations", "metadata/builders/anilist", "#anilist-relations"),
("AniList Studio", "metadata/builders/anilist", "#anilist-studio"),
("AniList ID", "metadata/builders/anilist", "#anilist-id"),
("AniList UserList", "metadata/builders/anilist", "#anilist-userlist"),
("AniList Search", "metadata/builders/anilist", "#anilist-search"),
]),
("_menu", "MyAnimeList Builders", "metadata/builders/myanimelist", [
("MyAnimeList Search", "metadata/builders/myanimelist.html#myanimelist-search"),
("MyAnimeList Top All", "metadata/builders/myanimelist.html#myanimelist-top-all"),
("MyAnimeList Top Airing", "metadata/builders/myanimelist.html#myanimelist-top-airing"),
("MyAnimeList Top Upcoming", "metadata/builders/myanimelist.html#myanimelist-top-upcoming"),
("MyAnimeList Top TV Series", "metadata/builders/myanimelist.html#myanimelist-top-tv-series"),
("MyAnimeList Top Movies", "metadata/builders/myanimelist.html#myanimelist-top-movies"),
("MyAnimeList Top OVA Series", "metadata/builders/myanimelist.html#myanimelist-top-ova-series"),
("MyAnimeList Top Specials", "metadata/builders/myanimelist.html#myanimelist-top-specials"),
("MyAnimeList Most Popular", "metadata/builders/myanimelist.html#myanimelist-most-popular"),
("MyAnimeList Most Favorited", "metadata/builders/myanimelist.html#myanimelist-most-favorited"),
("MyAnimeList Suggested", "metadata/builders/myanimelist.html#myanimelist-suggested"),
("MyAnimeList ID", "metadata/builders/myanimelist.html#myanimelist-id"),
("MyAnimeList UserList", "metadata/builders/myanimelist.html#myanimelist-userlist"),
("MyAnimeList Seasonal", "metadata/builders/myanimelist.html#myanimelist-seasonal"),
("MyAnimeList Search", "metadata/builders/myanimelist", "#myanimelist-search"),
("MyAnimeList Top All", "metadata/builders/myanimelist", "#myanimelist-top-all"),
("MyAnimeList Top Airing", "metadata/builders/myanimelist", "#myanimelist-top-airing"),
("MyAnimeList Top Upcoming", "metadata/builders/myanimelist", "#myanimelist-top-upcoming"),
("MyAnimeList Top TV Series", "metadata/builders/myanimelist", "#myanimelist-top-tv-series"),
("MyAnimeList Top Movies", "metadata/builders/myanimelist", "#myanimelist-top-movies"),
("MyAnimeList Top OVA Series", "metadata/builders/myanimelist", "#myanimelist-top-ova-series"),
("MyAnimeList Top Specials", "metadata/builders/myanimelist", "#myanimelist-top-specials"),
("MyAnimeList Most Popular", "metadata/builders/myanimelist", "#myanimelist-most-popular"),
("MyAnimeList Most Favorited", "metadata/builders/myanimelist", "#myanimelist-most-favorited"),
("MyAnimeList Suggested", "metadata/builders/myanimelist", "#myanimelist-suggested"),
("MyAnimeList ID", "metadata/builders/myanimelist", "#myanimelist-id"),
("MyAnimeList UserList", "metadata/builders/myanimelist", "#myanimelist-userlist"),
("MyAnimeList Seasonal", "metadata/builders/myanimelist", "#myanimelist-seasonal"),
]),
]),
("_menu", "Details", "#", [

View file

@ -2,7 +2,7 @@
The `golden` Default Metadata File is used to create collections based on the Golden Globe Awards.
**The `Golden Globe Best Motion Pictures` Collection only works with Movie Libraries but the year collections work with both Movie and TV libraries.**
**The `Golden Globe Best Motion Pictures` Collection only works with Movie Libraries but the year collections work with both Movie and Show libraries.**
![](../images/golden.png)

View file

@ -2,7 +2,7 @@
The `imdb` Default Metadata File is used to create collections based on IMDb Charts.
**The `IMDb Lowest Rated` Collection only works with Movie Libraries but the rest of the collections work with both Movie and TV libraries.**
**The `IMDb Lowest Rated` Collection only works with Movie Libraries but the rest of the collections work with both Movie and Show libraries.**
![](../images/imdb.png)

View file

@ -2,7 +2,7 @@
The `other_chart` Default Metadata File is used to create collections based on other Charts.
**The `StevenLu's Popular Movies` and `Top 10 Pirated Movies of the Week` Collections only work with Movie Libraries but the rest of the collections work with both Movie and TV libraries.**
**The `StevenLu's Popular Movies` and `Top 10 Pirated Movies of the Week` Collections only work with Movie Libraries but the rest of the collections work with both Movie and Show libraries.**
![](../images/chartother.png)

View file

@ -2,7 +2,7 @@
The `tmdb` Default Metadata File is used to create collections based on TMDb Charts.
**The `TMDb Airing Today` and `TMDb On The Air` Collections only work with TV Libraries but the rest of the collections work with both Movie and TV libraries.**
**The `TMDb Airing Today` and `TMDb On The Air` Collections only work with TV Libraries but the rest of the collections work with both Movie and Show libraries.**
![](../images/tmdb.png)

View file

@ -0,0 +1 @@
# Collection Defaults

View file

@ -0,0 +1 @@
# Defaults Usage Guide

View file

@ -4,7 +4,7 @@ The `content_rating_us` Default Metadata File is used to dynamically create coll
If you do not use the US-based rating system within Plex, this file will attempt to match the ratings in your library to the respective rating system.
**This file works with Movie Libraries, but has a TV Library [Counterpart](../show/content_rating_us).**
**This file works with Movie Libraries, but has a Show Library [Counterpart](../show/content_rating_us).**
![](../images/moviecontent_rating_us.png)

View file

@ -2,7 +2,7 @@
The `country` Default Metadata File is used to dynamically create collections based on the countries available in your library.
**This file works with Movie Libraries, but has a TV Library [Counterpart](../show/country).**
**This file works with Movie Libraries, but has a Show Library [Counterpart](../show/country).**
![](../images/country1.png)

View file

@ -2,7 +2,7 @@
The `decade` Default Metadata File is used to dynamically create collections based on the decades available in your library, sorted by critic rating to create a "best of <decade>"
**This file works with Movie Libraries, but has a TV Library [Counterpart](../show/decade).**
**This file works with Movie Libraries, but has a Show Library [Counterpart](../show/decade).**
![](../images/decade.png)

View file

@ -4,7 +4,7 @@ The `franchise` Default Metadata File is used to create collections based on pop
Unlike most Default Metadata Files, Franchise works by placing collections inline with the main library items if your library allows it. For example, the "Iron Man" franchise collection will appear next to the "Iron Man" movies within your library.
**This file works with Movie Libraries, but has a TV Library [Counterpart](../show/franchise).**
**This file works with Movie Libraries, but has a Show Library [Counterpart](../show/franchise).**
![](../images/moviefranchise.png)

View file

@ -45,19 +45,19 @@ Note that the `templates_variables:` section only needs to be used if you do wan
All [Shared Collection Variables](../variables) are available as well as the additional Variables below which can be used to customize the file.
| Variable | Description & Values |
|:---------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `use_separator` | **Description:** Turn the [Separator Collection](../separators) off.<br>**Values:** `false` to turn of the collection |
| `sep_style` | **Description:** Choose the [Separator Style](../separators.md#separator-styles).<br>**Default:** `orig`<br>**Values:** `orig`, `red`, `blue`, `green`, `gray`, `purple`, or `stb` |
| `collection_order` | **Description:** Changes the Collection Order for all collections in a Defaults file.<br>**Default:** `custom`<br>**Values:**<table class="clearTable"><tr><td>`release`</td><td>Order Collection by Release Dates</td></tr><tr><td>`alpha`</td><td>Order Collection Alphabetically</td></tr><tr><td>`custom`</td><td>Order Collection Via the Builder Order</td></tr><tr><td>[Any `plex_search` Sort Option](../../metadata/builders/plex.md#sort-options)</td><td>Order Collection by any `plex_search` Sort Option</td></tr></table> |
| Variable | Description & Values |
|:---------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `use_separator` | **Description:** Turn the [Separator Collection](../separators) off.<br>**Values:** `false` to turn of the collection |
| `sep_style` | **Description:** Choose the [Separator Style](../separators.md#separator-styles).<br>**Default:** `orig`<br>**Values:** `orig`, `red`, `blue`, `green`, `gray`, `purple`, or `stb` |
| `collection_order` | **Description:** Changes the Collection Order for all collections in a Defaults file.<br>**Default:** `custom`<br>**Values:**<table class="clearTable"><tr><td>`release`</td><td>Order Collection by Release Dates</td></tr><tr><td>`alpha`</td><td>Order Collection Alphabetically</td></tr><tr><td>`custom`</td><td>Order Collection Via the Builder Order</td></tr><tr><td>[Any `plex_search` Sort Option](../../metadata/builders/plex.md#sort-options)</td><td>Order Collection by any `plex_search` Sort Option</td></tr></table> |
| `collection_order_<<key>>`<sup>1</sup> | **Description:** Changes the Collection Order of the specified key's collection.<br>**Default:** `collection_order`<br>**Values:**<table class="clearTable"><tr><td>`release`</td><td>Order Collection by Release Dates</td></tr><tr><td>`alpha`</td><td>Order Collection Alphabetically</td></tr><tr><td>`custom`</td><td>Order Collection Via the Builder Order</td></tr><tr><td>[Any `plex_search` Sort Option](../../metadata/builders/plex.md#sort-options)</td><td>Order Collection by any `plex_search` Sort Option</td></tr></table> |
| `minimum_items` | **Description:** Controls the minimum items that the collection must have to be created.<br>**Default:** `2`<br>**Values:** Any number |
| `minimum_items` | **Description:** Controls the minimum items that the collection must have to be created.<br>**Default:** `2`<br>**Values:** Any number |
| `name_mapping_<<key>>`<sup>1</sup> | **Description:** Sets the name mapping value for using assets of the specified key's collection. <br>**Values:** Any String |
| `imdb_list_<<key>>`<sup>1</sup> | **Description:** Adds the Movies in the IMDb List to the specified key's collection.<br>**Values:** List of IMDb List URLs | | |
| `trakt_list_<<key>>`<sup>1</sup> | **Description:** Adds the Movies in the Trakt List to the specified key's collection. Overrides the [default trakt_list](#default-trakt_list) for that collection if used.<br>**Values:** List of Trakt List URLs | | | |
| `data` | **Description:** Overrides the [default data dictionary](#default-data). Defines the data that the custom dynamic collection processes.<br>**Values:** Dictionary List of keys/names |
| `append_data` | **Description:** Appends to the [default data dictionary](#default-data).<br>**Values:** Dictionary List of keys/names |
| `exclude` | **Description:** Exclude these Universes from creating a Dynamic Collection.<br>**Values:** List of Universes |
| `data` | **Description:** Overrides the [default data dictionary](#default-data). Defines the data that the custom dynamic collection processes.<br>**Values:** Dictionary List of keys/names |
| `append_data` | **Description:** Appends to the [default data dictionary](#default-data).<br>**Values:** Dictionary List of keys/names |
| `exclude` | **Description:** Exclude these Universes from creating a Dynamic Collection.<br>**Values:** List of Universes |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.

View file

@ -54,10 +54,10 @@ All [Shared Overlay Variables](variables) are available with the default values
| `back_width` | `188` |
| `back_height` | `105` |
| Variable | Description & Values |
|:-----------------|:-------------------------------------------------------------------------------------------------------------|
| `minimum` | **Description:** Choose the minimum for the `multi` Overlay.<br>**Default:** `2` <br>**Values:** Any Number |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| Variable | Description & Values |
|:-----------------------------|:-------------------------------------------------------------------------------------------------------------|
| `minimum` | **Description:** Choose the minimum for the `multi` Overlay.<br>**Default:** `2` <br>**Values:** Any Number |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
1. Each default overlay has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.

View file

@ -0,0 +1 @@
# Overlay Defaults

View file

@ -53,9 +53,9 @@ All [Shared Overlay Variables](variables) are available with the default values
| `back_width` | `305` |
| `back_height` | `105` |
| Variable | Description & Values |
|:-------------------------------|:-------------------------------------------------------------------------------------------------------------|
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
| Variable | Description & Values |
|:-----------------------------|:-------------------------------------------------------------------------------------------------------------|
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
1. Each default overlay has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.

View file

@ -8,7 +8,7 @@ Below are the available variables which can be used to customize the file.
| Variable | Description & Values |
|:--------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `use_<<key>>`<sup>1</sup><sup>1</sup> | **Description:** Turns off individual Overlays in a Defaults file.<br>**Values:** `false` to turn off the overlay |
| `use_<<key>>`<sup>1</sup> | **Description:** Turns off individual Overlays in a Defaults file.<br>**Values:** `false` to turn off the overlay |
| `file` | **Description:** Controls the image associated with the Overlay to a local file. Use `pmm: null` with this to no use the default image.<br>**Values:** Filepath to Overlay Image |
| `url` | **Description:** Controls the image associated with the Overlay to a url. Use `pmm: null` with this to no use the default image.<br>**Values:** URL to Overlay Image |
| `git` | **Description:** Controls the image associated with the Overlay to the git repo. Use `pmm: null` with this to no use the default image.<br>**Values:** Git Path to Overlay Image |

View file

@ -65,7 +65,7 @@ Note that the `templates_variables:` section only needs to be used if you do wan
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
2. The below is an example config.yml extract with some Template Variables added in to change how the file works.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
playlist_files:
@ -74,7 +74,7 @@ playlist_files:
radarr_add_missing: true
```
## Default Trakt Lists
## Default `trakt_list`
The below Trakt lists are used to populate the playlists associated with the keys.

View file

@ -8,7 +8,6 @@ Below is an example of a separator, which can be seen surrounded by a red square
![](images/separators.jpg)
## Separator Files
These are all the files that contain a separator.
@ -118,5 +117,3 @@ libraries:
template_variables:
sep_style: stb
```

View file

@ -132,7 +132,7 @@ Below are some user-curated collections which have been created by Plex Meta Man
## Default and User Metadata/Overlay Files
The overlays and collection built in the images above can be easily added to any plex by using the [PMM Defaults](defaults/defaults). These Files were created by the PMM team to make it easier than ever to have customized collections and overlays.
The overlays and collection built in the images above can be easily added to any plex by using the [PMM Defaults](defaults/guide). These Files were created by the PMM team to make it easier than ever to have customized collections and overlays.
To see user submitted Metadata configuration files, and you to even add your own, go to the [Plex Meta Manager Configs](https://github.com/meisnate12/Plex-Meta-Manager-Configs).

View file

@ -218,7 +218,7 @@ class Operations:
logger.trace(f"IMDb ID: {imdb_id}")
raise
if mdb_item is None:
logger.warning(f"No TMDb ID, TVDb ID, or IMDb ID for Guid: {item.guid}")
logger.warning(f"No MdbItem for Guid: {item.guid}")
def update_rating(attribute, item_attr, display):
current = getattr(item, item_attr)