#Overlay score color wrong
1 messages Β· Page 1 of 1 (latest)
You can press the "Close Post" button above or type /close at any time to close this post.
The following was shared by @gusty blaze and was automatically redacted by Luma as it may have contained sensitive information.
Hi,
I do an operation to update the tmdb score to rotten tomatoes audience score. When I apply jmxd overlay to a new tv show, it puts the correct score but for determining the color of the score it still uses the tmdb score instead of the rotten tomatoes audience score. When I reapply overlays it gets the right color. My running order seems correct. Do you know how I can fix this problem?
below are the relevant files
π If you want to review this again, antwanchild:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> π
Author of Linked Message: Slingshot
Person who Invoked the Command: Antwan
File Name: meta-1.log
Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation β
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Rec 01 - β ANIDB AUTH ERRORS
Page 08: Rec 02 - βπ BLANK API KEY ERROR
Page 09: Rec 03 - β [ERROR]
Page 10: Rec 04 - β MY ANIME LIST CONNECTION ERROR
Page 11: Rec 05 - β οΈ [WARNING]
Which event is this log showing? The initial run that runs the operation and gets the color wrong, or the second run with the overlay reapplication that gets it right?
The first event where it applies the colour of tmdb instead of rotten tomatoes
Wrong color but right score on the overlay
Any idea? π
From looking at the logs the order of operations seems to be:
- Read in the library items info into memory for Kometa
- Update the audience scores on Plex (doesn't seem to update the data in kometa?)
- Apply the overlays (based on the old data form step 1)
It looks to me like Kometa does not update the information held in memory for that one run, so when it gets to step 3, it does it based on the information that is read at the very start of the run.
I think that the solution would be either:
a. Update the "Operations" process to also alter the data held in memory by Kometa
b. Add a step between 2 and 3 that re-reads the library information after doing the processing
That's just from looking at the logs though. If Kometa is supposed to update the data it has during the run, then there does seem to be something odd going on. But if it is doing this, I don't see where that happens in the logs. Maybe @indigo hearth or @ebon yarrow would know more.
This would keep inline with the behaviour you're experiencing, though. The second run, it's now reading in the information in Plex, which now has the updated scores. So the colours are applied properly.
I'm not aware of any caching of the ratings being done by Kometa; it seems like if this were the problem it would show up every time any one used operations to change ratings, and that's not reproducible.
Is there a specific show in here that is showing this issue?
Perhaps it's related to using plex_all: true with a filter rather than doing a plex_search on the ratings that were just set?
Yes this is what I thought as well! how can I implement something that re-reads the library after the processing ?
Itβs the ones which have a different score which gives a different colour for tmdb than for audience score of rotten tomatoes
So it uses the score before the operation of the audience score of RT
Right. There are numerous ratings updates. Can you give us a specific example
I can remember ncis Sydney, but not sure if that was in this scan..
Simplest would be to change that custom overlay to use plex_search instead of plex_all: true with a filter.
Assuming my theory is correct; I'm running a couple tests.
Okay thanks! Will check when Iβm home
This appears to be due to the use of:
plex_all: true
filters:
audience_rating.gte: <<audience_rating.gte>>
In the custom overlay rather than:
plex_search:
all:
audience_rating.gte: <<audience_rating.gte>>
changed it, thanks a lot for your help!
antwanchild used !aenh
@gusty blaze, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.