#overlay ratings

1 messages · Page 1 of 1 (latest)

nova warren
#

I literally copy and pasted @knotty kiln config file and it seems to have overlooked and skipped the ratings?

#
  • git: PMM/overlays/ratings
    template_variables:
    rating1: user
    rating1_image: rt_tomato
    rating1_font: config/metadata/overlays/fonts/Adlib.ttf
    rating1_font_size: 63

      rating2: critic
      rating2_image: imdb
      rating2_font: config/metadata/overlays/fonts/Impact.ttf
      rating2_font_size: 70
    
      rating3: audience
      rating3_image: tmdb
      rating3_font: config/metadata/overlays/fonts/Avenir_95_Black.ttf
      rating3_font_size: 70
    
      horizontal_position: right
    
lilac fog
#

Probably details as to why in the log.

nocturne scaffoldBOT
#
Providing Log Files

You have been asked to provide your log file, which will allow us to support you further.

You can find your meta.log file within the logs folder of your Plex Meta Manager config folder [right next to config.yml].

You can drag-and-drop your meta.log file directly into Discord, you do not need to upload it to a third-party site unless it exceeds the 50mb size limit.

Please DO NOT manually extract, copy and paste text from your log files directly into Discord as the formatting can be difficult to read and can often redact parts of the log file that are important for full context.

nova warren
#

i've attached log file

nova warren
#

Is that the correct log file?

knotty kiln
#

meta.log please

nocturne scaffoldBOT
#
Providing Log Files

You have been asked to provide your log file, which will allow us to support you further.

You can find your meta.log file within the logs folder of your Plex Meta Manager config folder [right next to config.yml].

You can drag-and-drop your meta.log file directly into Discord, you do not need to upload it to a third-party site unless it exceeds the 50mb size limit.

Please DO NOT manually extract, copy and paste text from your log files directly into Discord as the formatting can be difficult to read and can often redact parts of the log file that are important for full context.

knotty kiln
#

and my guess is that the was probably a critical event that occurred... have you been through our faq/kb page on the wiki?

#

!kb

nocturne scaffoldBOT
lilac fog
#

One problem:

[2022-08-26 09:13:26,512] [overlays.py:406]           [ERROR]    | Overlay Error: font: /config/metadata/overlays/fonts/Adlib.ttf not found. Options: DejaVuSans-Bold.ttf, DejaVuSans.ttf, DejaVuSansMono-Bold.ttf, DejaVuSansMono.ttf, DejaVuSerif-Bold.ttf, DejaVuSerif.ttf
...
[2022-08-26 09:13:30,321] [overlays.py:406]           [ERROR]    | Overlay Error: font: /config/metadata/overlays/fonts/Impact.ttf not found. Options: DejaVuSans-Bold.ttf, DejaVuSans.ttf, DejaVuSansMono-Bold.ttf, DejaVuSansMono.ttf, DejaVuSerif-Bold.ttf, DejaVuSerif.ttf
...
[2022-08-26 09:13:33,395] [overlays.py:406]           [ERROR]    | Overlay Error: font: /config/metadata/overlays/fonts/Avenir_95_Black.ttf not found. Options: DejaVuSans-Bold.ttf, DejaVuSans.ttf, DejaVuSansMono-Bold.ttf, DejaVuSansMono.ttf, DejaVuSerif-Bold.ttf, DejaVuSerif.ttf
knotty kiln
#

Which is how you can solve the font errors. I mention this on the page, but I could be more clear in my README file

nova warren
#

Oh shit. The font is probably my error

#

I’m gonna let it finish its first run and then I’ll take a look at the fonts

knotty kiln
#

Let me know how I can make this clearer:


Instructions

Take what you need from my config.yml. I run everything stock from the github default PMM and tweak from within my config.yml to "make it my own" Nothing is local other than the fonts which I included. These fonts are the best match I could find per ratings site and overlays.


Feel free to ask me questions in the PMM Discord channel.
nova warren
#

My bad

lilac fog
#

Maybe an explicit statement that to use these you'll need to unzip those fonts into place at /whatever/path

knotty kiln
#

Maybe this would be better?

lilac fog
#

Since I have OPINIONS about docs:

Take what you need from my config.yml. I run everything stock from the github default PMM and tweak from within my config.yml to "make it my own". 

Nothing is local other than the fonts which are included in this repo (fonts.zip). These fonts are the best match I could find per ratings site and the ratings overlays. 

Unzip the fonts into `config/metadata/overlays/fonts/` to use this config without modifications.

You can put the fonts elsewhere, but if you choose to do that, you will need to adjust the ratings section (rating1_font:, rating2_font:, rating2_font:) of the overlays within the config.yml file to point to the location you chose.
nova warren
#

Ok. Fonts are working

#

But now I’m getting weird behavior on the rating1

#

This is the only tomato image it’s showing and then reads “user rating”

nova warren
#

@knotty kiln got any idea? Or what do I need to provide? I used your config file. So I’m not sure what happened. This is the first time I’ve got the ratings to work, and it only half works

#

What I though it’s supposed to do is display whatever tomorrow (certified, fresh, rotten) and a score. But we only see one picture when it’s certified

knotty kiln
#

there is currently a bug in 1.17.3 where the words show and not the actual rating

#

please provide logs

nocturne scaffoldBOT
#
Providing Log Files

You have been asked to provide your log file, which will allow us to support you further.

You can find your meta.log file within the logs folder of your Plex Meta Manager config folder [right next to config.yml].

You can drag-and-drop your meta.log file directly into Discord, you do not need to upload it to a third-party site unless it exceeds the 50mb size limit.

Please DO NOT manually extract, copy and paste text from your log files directly into Discord as the formatting can be difficult to read and can often redact parts of the log file that are important for full context.

nova warren
#

shouldn't it also show other tomatoes that are not fresh? it seems that it is only showing the certified and nothing else

knotty kiln
#

In theory yes, however, as stated earlier. There is a bug specifically around this ratings problem. Most likely, the code is interpreting the words “<xyz_rating> as being greater than 60 and hence “Certified Fresh”.

Or are you saying that you have movies that are showing an actual score lower than 60 and still showing the Certified Fresh logo?

nova warren
#

First I’m a little confused at what mass user rating was actually used. It appears to be mdb_tomatoesaudience, which I thought was popcorn

#

But the image in the config is rt_tomato

#

Another example

#

All three of these have both a tomato and popcorn score. So it should show at least one, but not sure which

#

The config uses the rt_tomato image, but the mass update shows tomato audience. Seems to contradict each other

knotty kiln
#
[2022-08-26 15:00:58,118] [config.py:649]             [ERROR]    | Config Error: Folder /config/missing does not exist                                                |
[2022-08-26 15:00:58,118] [config.py:745]             [ERROR]    | Config Error: Operation mass_user_rating_update cannot be mdb_tomatoesaudience without a successful MdbList Connection |
[2022-08-26 15:00:58,119] [config.py:745]             [ERROR]    | Config Error: Operation mass_content_rating_update cannot be omdb without a successful OMDb Connection |
#

Ok… please search for [ERROR] and you will see that at the top of your meta.log, you have problems because you don’t have a properly configured mdblist amongst other errors in your config.yml…

nova warren
#

Shoot me. I’m really not stupid. Ughhh

nova warren
#

@knotty kiln hey man. I did get the tomatoes working. I did not change any of your code for the reference to ratings.

#

Did want to kindly point out that in your config file, you update the popcorn score, but use the tomato image

knotty kiln
#

Yeah… I will likely need to review what my config looked like about 60 versions ago…lol…. As I test a lot.

knotty kiln
#

I just updated the mass update operations for tv and movies to not use audience. That should make it work properly. Thanks for the attentive eye.

#

I have submitted the PR to have the file updated in GH so others can benefit from it if they are using my file in some way.