Open rafapirotto opened 3 days ago
Your log is also saying you should update to 2.1.0
[2024-10-20 17:45:52,187] [kometa.py:273] [INFO] | Version: 2.0.2 (Docker: master) |
[2024-10-20 17:45:52,356] [kometa.py:275] [INFO] | Newest Version: 2.1.0
Doing the plex dance fixed the issue. I do however think that the cache issue is worth being investigated. It appears that I'm not the only one with this issue. @antwanchild said yesterday to me in discord that he has had this issue in the past before as well as I have had this issue a couple of times.
I had the issue, not related specifically to an episode, but an issue where renaming the cache fixed what i was having issue with
I had the issue, not related specifically to an episode, but an issue where renaming the cache fixed what i was having issue with
The problem with that fix is that renaming the cache forces a new cache to be built which takes way too much time. I don't consider that to be an optimal solution. I rather believe that investigation the cause of the cache issue is worth pursuing.
The problem with that fix is that renaming the cache forces a new cache to be built which takes way too much time. I don't consider that to be an optimal solution. I rather believe that investigation the cause of the cache issue is worth pursuing.
This is the reason you were asked for logs of when it was added Kometa and when Kometa updated the rating and stated it applied an overlay when it actually didn't
When Kometa applies an overlay, it saves a record of all aspects of the overlay in the cache.
For example:
"1080Presolution100left1515top305105center(0, 0, 0, 153)3000"
On subsequent runs, if that record has not changed, Kometa figures that the current overlay matches the one it's about to apply, so "No Overlay Update Needed"
If you delete the cache, nothing matches so everything gets updated. When you Plex dance, now the item no longer has an overlay, so it gets regenerated and updated.
For some reason, Kometa thought that the thing already had the overlays it was supposed to have.
Perhaps there was some inconsistency, perhaps the "what overlay did I apply" is incomplete [I think only position changes aren't captured for some overlays, for example].
When Kometa applies an overlay, it saves a record of all aspects of the overlay in the cache.
For example:
"1080Presolution100left1515top305105center(0, 0, 0, 153)3000"
On subsequent runs, if that record has not changed, Kometa figures that the current overlay matches the one it's about to apply, so "No Overlay Update Needed"
If you delete the cache, nothing matches so everything gets updated. When you Plex dance, now the item no longer has an overlay, so it gets regenerated and updated.
For some reason, Kometa thought that the thing already had the overlays it was supposed to have.
Perhaps there was some inconsistency, perhaps the "what overlay did I apply" is incomplete [I think only position changes aren't captured for some overlays, for example].
For more background, the episode was added to plex on october the 16th. The problematic episode was the 8th episode of the second season of Tell me Lies I have found old logs in my backups which may help debug this @antwanchild :
Hope this helps!
I have more recent logs if those are neede
Seems like there's some logic error in there. Once it gets an overlay future changes in the rating don't apply a new overlay.
episode arrives:
| Processing Tell Me Lies S02E08
| No imdb User Rating Found
| Tell Me Lies S02E08
| Overlay Warning: No <<user_rating>> found
| Overlays Applied: Overlay File (1) runtime_info, Overlay File (2) Rating3Fresh
11 hours later:
| Processing Tell Me Lies S02E08
| No imdb User Rating Found
| Tell Me Lies S02E08
| Overlay Warning: No <<user_rating>> found
| Overlays Applied: Overlay File (1) runtime_info, Overlay File (2) Rating3Fresh
three hours later:
| Processing Tell Me Lies S02E08
| No imdb User Rating Found
LOG ENDS PREMATURELY
9 hours later:
| Processing Tell Me Lies S02E08
| Item Edits:
| Update User Rating (Batched) | 8.8
| Tell Me Lies S02E08
| Overlay Update Not Needed
12 hours later:
| Processing Tell Me Lies S02E08
| Item Edits:
| Update User Rating (Batched) | 8.8
| Tell Me Lies S02E08
| Overlay Update Not Needed
12 hours later:
| Processing Tell Me Lies S02E08
| Item Edits:
| Update User Rating (Batched) | 8.9
| Tell Me Lies S02E08
| Overlay Update Not Needed
12 hours later:
| Processing Tell Me Lies S02E08
| Tell Me Lies S02E08
| Overlay Update Not Needed
12 hours later:
| Processing Tell Me Lies S02E08
| Item Edits:
| Update User Rating (Batched) | 9.1
| Tell Me Lies S02E08
| Overlay Update Not Needed
What's in overlays/common
?
What's in
overlays/common
?
overlays:
4K:
overlay:
name: 4K
file: overlays/common/4K.png
plex_search:
all:
resolution: 4K
Seems like there's some logic error in there. Once it gets an overlay future changes in the rating don't apply a new overlay.
So you are confirming this is indeed a bug and that it can be fixed in a future release?
I'm just commenting on what I'm seeing in your logs. That's data from your log files. I haven't reproduced it, though those tests are ongoing.
It looks like there's an issue going to or from a null rating: https://docs.google.com/document/d/1cexxP_tyINM3oy1yYVkn0hEAjN-Kt94aK78X-GC4YpM/edit?usp=sharing
It looks like there's an issue going to or from a null rating: https://docs.google.com/document/d/1cexxP_tyINM3oy1yYVkn0hEAjN-Kt94aK78X-GC4YpM/edit?usp=sharing
Interesting. So it is looking like an interesting bug. I'm happy to hear that, I thought I was crazy cause it was happening to me and not everyone else
Is there anything else you need from my side? More logs or something? Also, which is the next step for this? Will this be treated as a bug? @chazlarson
Nothing else needed here. Future action is dependent on the author reviewing it.
Nothing else needed here. Future action is dependent on the author reviewing it.
Should I tag him?
No need, this issue is assigned to him.
Version Number
Version: 2.0.2 (Docker: master)
What branch are you on?
master
Describe the Bug
For some reason the last episode of the second season of "Tell me lies" doesn't get an imdb score overlay. I've noticed that the other episodes get updated but this last one has never got a score overlay.
I've checked the imdb page and it has always had a score
Relevant Collection/Overlay/Playlist Definition
Logs
https://gist.github.com/rafapirotto/e2b37800001e370a7cf1423224e0416f