From 9c32ebfac048ae0215942ee17f232aa52d6202db Mon Sep 17 00:00:00 2001 From: home1800 <69302307+home1800@users.noreply.github.com> Date: Sun, 5 Feb 2023 21:58:02 +0100 Subject: [PATCH] Update ratings-no250.yml --- home1800/overlays/ratings-no250.yml | 171 +++++++++++++++------------- 1 file changed, 92 insertions(+), 79 deletions(-) diff --git a/home1800/overlays/ratings-no250.yml b/home1800/overlays/ratings-no250.yml index 530638b..4ab386e 100644 --- a/home1800/overlays/ratings-no250.yml +++ b/home1800/overlays/ratings-no250.yml @@ -10,27 +10,51 @@ # so having it twice would be redundant and doesn't look nice # # # for setup check out the PMM repo: # -# # -# https://github.com/meisnate12/Plex-Meta-Manager-Configs/blob/master/PMM/overlays/ratings.yml +# https://metamanager.wiki/en/latest/defaults/overlays/ratings.html # # # # ############################################################# templates: Rating: - optional: - - overlay_level default: + rating<>_file: <> + rating<>_url: <> + rating<>_git: <> + rating<>_repo: <> + pmm: rating/<>_image_url>><> + rating<>_pmm: <> + weight: 100 font: fonts/Inter-Bold.ttf - font_size: 63 rating<>_font: <> + rating<>_font_style: <> + font_size: 63 rating<>_font_size: <> - weight: 100 + font_color: "#FFFFFF" + rating<>_font_color: <> + rating<>_stroke_width: <> + rating<>_stroke_color: <> + back_color: "#00000099" + rating<>_back_color: <> + rating<>_back_width: <> + rating<>_back_height: <> + rating<>_back_align: <> + back_padding: 15 + rating<>_back_padding: <> + back_radius: 30 + rating<>_back_radius: <> + rating<>_back_line_color: <> + rating<>_back_line_width: <> + addon_offset: 15 + rating<>_addon_offset: <> + rating<>_addon_position: <> side: left horizontal_position: left vertical_position: center rating_alignment: vertical - rating<>: none + rating1: none + rating2: none + rating3: none center_offset: 0 standard_offset: 30 v2_offset: 235 @@ -41,6 +65,18 @@ templates: h3_offset: 660 ch2_offset: 160 ch3_offset: 335 + optional: + - file + - url + - git + - repo + - overlay_level + - font_style + - back_align + - stroke_width + - stroke_color + - back_line_color + - back_line_width conditionals: mdblist_top: conditions: @@ -54,12 +90,12 @@ templates: conditions: - image_level: Top rating<>_image: imdb - value: top_<>s + value: <>s run_this: default: true conditions: - image_level: Top - rating<>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt] + rating<>_image: [anidb, letterboxd, rt_popcorn, mdb, tmdb, trakt, mal, star] value: false - image_level: Top overlay_level: episode @@ -71,11 +107,14 @@ templates: conditions: - rating<>_image: [rt_popcorn, rt_tomato, tmdb] value: "%" - - rating<>_image: metacritic + - rating<>_image: [metacritic, mdb] value: "0" image_extra: default: "" conditions: + - rating<>_image: [imdb, rt_tomato, metacritic] + image_level: Top + value: Top - rating<>_image: [rt_popcorn, rt_tomato] value: <> rating<>_image_url: @@ -86,7 +125,7 @@ templates: value: IMDb - rating<>_image: letterboxd value: Letterboxd - - rating<>_image: mdblist + - rating<>_image: mdb value: MDBList - rating<>_image: metacritic value: Metacritic @@ -98,6 +137,10 @@ templates: value: TMDb - rating<>_image: trakt value: Trakt + - rating<>_image: mal + value: MAL + - rating<>_image: star + value: Star rating<>_horizontal_align: default: left conditions: @@ -206,26 +249,22 @@ templates: - rating_alignment: horizontal horizontal_position: center rating3: none - value: -<> + value: <> - rating_alignment: horizontal horizontal_position: center - value: -<> + value: <> - rating_alignment: horizontal horizontal_position: right rating1: none rating3: none value: <> - - rating_alignment: horizontal - horizontal_position: right - rating1: none - value: <> - rating_alignment: horizontal horizontal_position: right rating3: none - value: <> + value: <> - rating_alignment: horizontal horizontal_position: right - value: <> + value: <> - rating_alignment: horizontal horizontal_position: left rating1: none @@ -396,86 +435,60 @@ templates: all: <>>>_rating.<>: <> <>>>_rating.<>: <> - mdblist_list: <> - imdb_chart: <> - collection_level: <> + mdblist_list: <> + imdb_chart: <> + overlay_level: <> allowed_library_types: <> ignore_blank_results: true overlay: name: text(<>>>_rating<>_style>>) + file: <>_file>> + url: <>_url>> + git: <>_git>> + repo: <>_repo>> + pmm: <>_pmm>> + group: rating<>_group + weight: <> horizontal_offset: <>_horizontal_offset>> horizontal_align: <>_horizontal_align>> vertical_offset: <>_vertical_offset>> vertical_align: <>_vertical_align>> - group: rating<>_group - weight: <> font: <>_font>> + font_style: <>_font_style>> font_size: <>_font_size>> - font_color: "#FFFFFF" - back_color: "#00000099" - back_radius: 30 - back_width: <> - back_height: <> - back_align: center - back_padding: 15 - git: PMM/overlays/images/raw/<>_image_url>><> - addon_position: <> - addon_offset: 15 + font_color: <>_font_color>> + stroke_width: <>_stroke_width>> + stroke_color: <>_stroke_color>> + back_color: <>_back_color>> + back_width: <>_back_width>> + back_height: <>_back_height>> + back_align: <>_back_align>> + back_padding: <>_back_padding>> + back_radius: <>_back_radius>> + back_line_color: <>_back_line_color>> + back_line_width: <>_back_line_width>> + addon_offset: <>_addon_offset>> + addon_position: <>_addon_position>> overlays: - Rating1Rotten: - template: - name: Rating - rating_num: "1" - image_level: Rotten + Rating1Rotten: + template: {name: Rating, rating_num: "1", image_level: Rotten} Rating1Fresh: - template: - name: Rating - rating_num: "1" - image_level: Fresh - + template: {name: Rating, rating_num: "1", image_level: Fresh} Rating1Top: - template: - name: Rating - weight: 110 - rating_num: "1" - image_level: Top + template: {name: Rating, weight: 110, rating_num: "1", image_level: Top} Rating2Rotten: - template: - name: Rating - rating_num: "2" - image_level: Rotten - + template: {name: Rating, rating_num: "2", image_level: Rotten} Rating2Fresh: - template: - name: Rating - rating_num: "2" - image_level: Fresh - + template: {name: Rating, rating_num: "2", image_level: Fresh} Rating2Top: - template: - name: Rating - weight: 110 - rating_num: "2" - image_level: Top + template: {name: Rating, weight: 110, rating_num: "2", image_level: Top} Rating3Rotten: - template: - name: Rating - rating_num: "3" - image_level: Rotten - + template: {name: Rating, rating_num: "3", image_level: Rotten} Rating3Fresh: - template: - name: Rating - rating_num: "3" - image_level: Fresh - + template: {name: Rating, rating_num: "3", image_level: Fresh} Rating3Top: - template: - name: Rating - weight: 110 - rating_num: "3" - image_level: Top \ No newline at end of file + template: {name: Rating, weight: 110, rating_num: "3", image_level: Top}