Update ratings-no250.yml

pull/546/head
home1800 2 years ago committed by cpt-kuesel
parent e8b6ed4e96
commit 9c32ebfac0

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

Loading…
Cancel
Save