From a1974c393821d6e4e21a2fb880352a570fc0c153 Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Fri, 11 Nov 2022 14:15:52 +0000 Subject: [PATCH] add Star rating overlay option --- defaults/overlays/images/rating/Star.png | Bin 0 -> 2196 bytes defaults/overlays/ratings.yml | 6 ++-- docs/defaults/overlays/ratings.md | 40 +++++++++++------------ 3 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 defaults/overlays/images/rating/Star.png diff --git a/defaults/overlays/images/rating/Star.png b/defaults/overlays/images/rating/Star.png new file mode 100644 index 0000000000000000000000000000000000000000..a9ac00829269e32a5bcb217dc4f0af0b29789264 GIT binary patch literal 2196 zcmaJ@X;f2Z8onWrkU$hFs5lm{i3>WCo0X72!j`a9K?p$^K{SL5M9e~Rfv}z^3WcFa z9Vu2tP^(B0Xa{~|q7=~<29UJ^ipqLK9B>q&iZI%_v0&$i)9;-7E$?}r_kG^w$IS~4 z@*@$~5di=o1^5fa=oxJKEOF>wX#27nJsc2GI1;LgMN*_181RZwMZ;i#LK+8)VQEZi zVk_(p0N5>ZNjMT7xQi!KDX3BthN@GjQ8oa$d+5|sSptlJ(Quqx$tOR*-be=JF?{k~ zb|5WK?E}Zl{nIpXXj+g&mX;vn#*jS(pu3KTI#9rf6x1mWE44fwpZwl0551er5E*dSGV`*7)Wk0Bn)i_Ro3abrG`_!5`(f4LAU1~PT_e>%NvLdVB+{V=-d zU(R<- ziHq&(G|uLFjB?%Tn2mLH%*Bp7U)i2$Y4VS}uTKBE@bQ^rHNLeYjb-Jvmpmr-bQjE5 zUp5xYH!o~S%Nd`Inp4inN{MGHM~hS32<{_Ylh<2uBO`;^ox5i;1si0*ii@Sx!pic9 z6ByUv*&bzD{pQL0xDn5vx+#(CImCtz04czAKXxpvr2)SVxR-Qr60b5_fVrWJRcB|m zU|*EAS@cfR0B7eH_c9dKUR^8z^BLdeKm>QP8dn}Z+jqqQPb$K7F?tI6CZC4j{2QM8 z=gs|NvLgf+UIU)UziMXpEVFdqU(c@=>7(#n*>Y>+rhK5?ZX(Q7Mp)kM;wqtgU9!m0LJc3jGU;ewc)pW^UD&=45}zBa9HV z_WAoWe=G!&U(8ny&=RYoV*8~lPe&Lcl&r%!5=z~nM1fV~6;#ih1wb0;jb7n`gjQ=YB9t2zqU^Fhv7i7f*?sldz4LL1RHwZkAoN?u21QiHKQ5dgNh|;4-~_o|!vV zG8Q=zU4u2ZD4HW>T3>@>A8phRbin*(IJX?*eQTB#NMglX*B)uVcX7KCusig3AIPzI1Lj&%yK#F-dXxgw?A>kEf>`+PbjkMy zirP+BP(1Uab`de2X-~W_6au%qGZe-D!l_y2262?<=EztDK*f`igVMTp1lReA9Bzs& z%c70IogDq^DnfqSxy#s_$EUx`YrEl(*GEYHa}wjUQ`8=U>F!D~u(BIxq03%aN&i`{ z@JP_Uxu|A=8S!XYK>evHo3)0YYMqp~qWmLQf>5pu!1NVoNZwP#q!7wHE(LLbf*UCI0T zVW|3@d(r3QR^Zg9t)Ug_Q|U7$W={`j1}_nLr^AhyHs9p3Z2JbmO3iF*VrTZtv@Kum zrd#^HMP>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt, mal, mdb, average] + rating<>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt, mal, mdb, average, star] value: false - image_level: Top overlay_level: episode @@ -129,10 +129,10 @@ templates: value: Trakt - rating<>_image: mal value: MAL - - rating<>_image: mdb - value: MDBList - rating<>_image: average value: Average + - rating<>_image: star + value: Star rating<>_horizontal_align: default: left conditions: diff --git a/docs/defaults/overlays/ratings.md b/docs/defaults/overlays/ratings.md index 186eb729..87064642 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`, `mdb` or `average` | -| `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 `average` | -| `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 `average` | -| `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`, `mdblist`, `average`, 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`, `average`, 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`, `average`, 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.