From 87110506edd648a7ab21da9ec6c835ddcf1c5b90 Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Sat, 12 Nov 2022 09:42:06 +0000 Subject: [PATCH] Fix inconsistent use of "mdb" and "mdblist" between rating operations and rating images --- defaults/overlays/ratings.yml | 4 ++-- docs/defaults/overlays/ratings.md | 40 +++++++++++++++---------------- docs/metadata/builders/mdblist.md | 34 +++++++++++++------------- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/defaults/overlays/ratings.yml b/defaults/overlays/ratings.yml index 82b5d79f..dcf6c428 100644 --- a/defaults/overlays/ratings.yml +++ b/defaults/overlays/ratings.yml @@ -85,7 +85,7 @@ templates: default: true conditions: - image_level: Top - rating<>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt, mal, star] + rating<>_image: [anidb, letterboxd, rt_popcorn, mdb, tmdb, trakt, mal, star] value: false - image_level: Top overlay_level: episode @@ -115,7 +115,7 @@ templates: value: IMDb - rating<>_image: letterboxd value: Letterboxd - - rating<>_image: mdblist + - rating<>_image: mdb value: MDBList - rating<>_image: metacritic value: Metacritic diff --git a/docs/defaults/overlays/ratings.md b/docs/defaults/overlays/ratings.md index e3802467..5380298a 100644 --- a/docs/defaults/overlays/ratings.md +++ b/docs/defaults/overlays/ratings.md @@ -78,26 +78,26 @@ All [Shared Overlay Variables](../overlay_variables) can be appended by `rating1 | `back_radius` | `30` | | `back_height` | `105` | -| Variable | Description & Values | -|:-----------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `rating1` | **Description:** Choose the rating to display in rating1.
**Values:** `critic`, `audience`, or `user` | -| `rating1_image` | **Description:** Choose the rating image to display in rating1.
**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, `mal`, `mdblist`, or `star` | -| `rating2` | **Description:** Choose the rating to display in rating2.
**Values:** `critic`, `audience`, or `user` | -| `rating2_image` | **Description:** Choose the rating image to display in rating2.
**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, `mal`, `mdblist`, or `star` | -| `rating3` | **Description:** Choose the rating to display in rating3.
**Values:** `critic`, `audience`, or `user` | -| `rating3_image` | **Description:** Choose the rating image to display in rating3.
**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, `mal`, `mdblist`, or `star` | -| `horizontal_position` | **Description:** Choose the horizontal position for the rating group.
**Default:** `left`
**Values:** `left`, `right`, or `center` | -| `vertical_position` | **Description:** Choose the vertical position for the rating group.
**Default:** `center`
**Values:** `top`, `bottom`, or `center` | -| `rating_alignment` | **Description:** Choose the display alignment for the rating group.
**Default:** `vertical`
**Values:** `horizontal`, or `vertical` | -| `font`1 | **Description:** Choose the font for the Overlay.
**Default:** `fonts/Inter-Bold.ttf`
**Values:** Path to font file | -| `font_style`1 | **Description:** Font style for Variable Fonts.
**Values:** Variable Font Style | -| `font_size`1 | **Description:** Choose the font size for the Overlay.
**Default:** `63`
**Values:** Any Number greater then 0 | -| `font_color`1 | **Description:** Choose the font color for the Overlay.
**Default:** `#FFFFFF`
**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` | -| `stroke_width`1 | **Description:** Font Stroke Width for the Text Overlay.
**Values:** Any Number greater then 0 | -| `stroke_color`1 | **Description:** Font Stroke Color for the Text Overlay.
**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` | -| `addon_offset`1 | **Description:** Text Addon Image Offset from the text.
**Default:** `15`
**Values:** Any Number greater then 0 | -| `addon_position`1 | **Description:** Text Addon Image Alignment in relation to the text.
**Default:** `left`
**Values:** `left`, `right`, `top`, `bottom` | -| `overlay_level` | **Description:** Choose the Overlay Level.
**Values:** `episode` | +| Variable | Description & Values | +|:-----------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `rating1` | **Description:** Choose the rating to display in rating1.
**Values:** `critic`, `audience`, or `user` | +| `rating1_image` | **Description:** Choose the rating image to display in rating1.
**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, `mal`, `mdb`, or `star` | +| `rating2` | **Description:** Choose the rating to display in rating2.
**Values:** `critic`, `audience`, or `user` | +| `rating2_image` | **Description:** Choose the rating image to display in rating2.
**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, `mal`, `mdb`, or `star` | +| `rating3` | **Description:** Choose the rating to display in rating3.
**Values:** `critic`, `audience`, or `user` | +| `rating3_image` | **Description:** Choose the rating image to display in rating3.
**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, `mal`, `mdb`, or `star` | +| `horizontal_position` | **Description:** Choose the horizontal position for the rating group.
**Default:** `left`
**Values:** `left`, `right`, or `center` | +| `vertical_position` | **Description:** Choose the vertical position for the rating group.
**Default:** `center`
**Values:** `top`, `bottom`, or `center` | +| `rating_alignment` | **Description:** Choose the display alignment for the rating group.
**Default:** `vertical`
**Values:** `horizontal`, or `vertical` | +| `font`1 | **Description:** Choose the font for the Overlay.
**Default:** `fonts/Inter-Bold.ttf`
**Values:** Path to font file | +| `font_style`1 | **Description:** Font style for Variable Fonts.
**Values:** Variable Font Style | +| `font_size`1 | **Description:** Choose the font size for the Overlay.
**Default:** `63`
**Values:** Any Number greater then 0 | +| `font_color`1 | **Description:** Choose the font color for the Overlay.
**Default:** `#FFFFFF`
**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` | +| `stroke_width`1 | **Description:** Font Stroke Width for the Text Overlay.
**Values:** Any Number greater then 0 | +| `stroke_color`1 | **Description:** Font Stroke Color for the Text Overlay.
**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` | +| `addon_offset`1 | **Description:** Text Addon Image Offset from the text.
**Default:** `15`
**Values:** Any Number greater then 0 | +| `addon_position`1 | **Description:** Text Addon Image Alignment in relation to the text.
**Default:** `left`
**Values:** `left`, `right`, `top`, `bottom` | +| `overlay_level` | **Description:** Choose the Overlay Level.
**Values:** `episode` | 1. These Variables can be appended by `rating1_`, `rating2_`, or `rating3_` to change that attribute on each rating individually. diff --git a/docs/metadata/builders/mdblist.md b/docs/metadata/builders/mdblist.md index 8639f38e..4c8e678e 100644 --- a/docs/metadata/builders/mdblist.md +++ b/docs/metadata/builders/mdblist.md @@ -38,23 +38,23 @@ The default `sort_by` when it's not specified is `rank.asc`. ### Sort Options -| Option | Description | -|:----------------------------------------------|:------------------------------| -| `rank.asc`
`rank.desc` | Sort by MdbList Rank | -| `score.asc`
`score.desc` | Sort by MdbList Score | -| `score_average.asc`
`score_average.desc` | Sort by MdbList Score | -| `released.asc`
`released.desc` | Sort by Release Date | -| `imdbrating.asc`
`imdbrating.desc` | Sort by IMDb Rating | -| `imdbvotes.asc`
`imdbvotes.desc` | Sort by IMDb Votes | -| `imdbpopular.asc`
`imdbpopular.desc` | Sort by IMDb Popular | -| `tmdbpopular.asc`
`tmdbpopular.desc` | Sort by TMDb Popular | -| `rogerebert.asc`
`rogerebert.desc` | Sort by RogerEvert Score | -| `rtomatoes.asc`
`rtomatoes.desc` | Sort by Rotten Tomatoes Score | -| `metacritic.asc`
`metacritic.desc` | Sort by Metacritic Score | -| `myanimelist.asc`
`myanimelist.desc` | Sort by MyAnimeList Score | -| `budget.asc`
`budget.desc` | Sort by Budget | -| `revenue.asc`
`revenue.desc` | Sort by Revenue | -| `added.asc`
`added.desc` | Sort by Date Added | +| Option | Description | +|:----------------------------------------------|:-------------------------------| +| `rank.asc`
`rank.desc` | Sort by MdbList Rank | +| `score.asc`
`score.desc` | Sort by MdbList Score | +| `score_average.asc`
`score_average.desc` | Sort by MdbList Average Score | +| `released.asc`
`released.desc` | Sort by Release Date | +| `imdbrating.asc`
`imdbrating.desc` | Sort by IMDb Rating | +| `imdbvotes.asc`
`imdbvotes.desc` | Sort by IMDb Votes | +| `imdbpopular.asc`
`imdbpopular.desc` | Sort by IMDb Popular | +| `tmdbpopular.asc`
`tmdbpopular.desc` | Sort by TMDb Popular | +| `rogerebert.asc`
`rogerebert.desc` | Sort by RogerEvert Score | +| `rtomatoes.asc`
`rtomatoes.desc` | Sort by Rotten Tomatoes Score | +| `metacritic.asc`
`metacritic.desc` | Sort by Metacritic Score | +| `myanimelist.asc`
`myanimelist.desc` | Sort by MyAnimeList Score | +| `budget.asc`
`budget.desc` | Sort by Budget | +| `revenue.asc`
`revenue.desc` | Sort by Revenue | +| `added.asc`
`added.desc` | Sort by Date Added | For these sorts to be reflected in your collection you must use `collection_order: custom`.