Wrong episode name and thumbnail

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
hego
Posts: 26
Joined: Mon Mar 14, 2022 8:26 am

Wrong episode name and thumbnail

Post by hego »

Hi all,

I have been having this issue for a few months, I'm not even sure when it started. It's about wrong episode names and sometimes thumbnails, like this:
Dexter.png
Dexter.png (842.81 KiB) Viewed 34320 times
As you can see, it's a Dexter episode with Monk thumbnail and King of the Hill name. I have cleared the cache several times, but things only change a little; it's never completely fixed.

Not all files are affected, though:
Anger Management.png
Anger Management.png (638.16 KiB) Viewed 34320 times
For this report, I have two logs: After the cache is cleared, things change a lot, but the issues remain. Here are two examples with before and after: https://www.dropbox.com/scl/fi/2zlrdxze ... z3tfd&dl=0 and https://www.dropbox.com/scl/fi/7k4fcd0x ... o7ghq&dl=0

In this image, you can see that Family Guy is wrong, but it was right before the cache reset. Lower Decks didn't change, it was wrong both times:
Right to wrong.png
Right to wrong.png (1.2 MiB) Viewed 34320 times
The files are located on different hard drives and with different file structures. I attached three examples here: https://www.dropbox.com/scl/fi/e2ejktu5 ... bpgwn&dl=0

The situations above happened with Prettify filenames checked. If I uncheck it, the names are displayed correctly, but the original names are too ugly.

Thank you for your great job!
User avatar
mik_s
Moderator
Posts: 1448
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Wrong episode name and thumbnail

Post by mik_s »

I came across something recently where the wrong episode names and thumbnails was coming up for the new Doctor Who so there may be an issue on the API side of things not retrieving the correct metadata (does not help they reset the season number with the new Doc).
Screenshot 2025-05-16 144634.png
Screenshot 2025-05-16 144634.png (1.57 MiB) Viewed 33203 times
I tried the reset cache option hoping it would refresh this but it appears to corrupt the database and messes up all video names too.
Screenshot 2025-05-16 135020.png
Screenshot 2025-05-16 135020.png (780.68 KiB) Viewed 33203 times
This also messes up the media library so it will not show anything and a full rescan will not fix this.
I had to delete the database "C:\ProgramData\UMS\database\medias.mv.db" so UMS will build a new one to get it back.

I have not looked at your logs yet but I think this is the same problem.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
mik_s
Moderator
Posts: 1448
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Wrong episode name and thumbnail

Post by mik_s »

I made an issue for this on Github and there appears to be a couple of similar issues related to this.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
hego
Posts: 26
Joined: Mon Mar 14, 2022 8:26 am

Re: Wrong episode name and thumbnail

Post by hego »

mik_s wrote: Sat May 17, 2025 2:28 am I made an issue for this on Github and there appears to be a couple of similar issues related to this.
Great, thank you!
User avatar
SubJunk
Lead Developer
Posts: 3803
Joined: Sun May 27, 2012 4:12 pm

Re: Wrong episode name and thumbnail

Post by SubJunk »

This is a really good bug report and I'm working on fixing the bugs now. I have already deployed a couple of related fixes to the API and will let you know when I have progress on UMS itself
User avatar
SubJunk
Lead Developer
Posts: 3803
Joined: Sun May 27, 2012 4:12 pm

Re: Wrong episode name and thumbnail

Post by SubJunk »

I have fixed some bugs on the server related to resetting the cache, it was leaving out some database tables so they would have become mismatched. That doesn't explain the initial bad state, but maybe that was caused by an API bug. I will do some testing of my fixes soon and see if I can still make it break. If it goes well I'll upload a build for you to test
hego
Posts: 26
Joined: Mon Mar 14, 2022 8:26 am

Re: Wrong episode name and thumbnail

Post by hego »

SubJunk wrote: Thu May 22, 2025 8:25 am This is a really good bug report and I'm working on fixing the bugs now. I have already deployed a couple of related fixes to the API and will let you know when I have progress on UMS itself
I'm glad I could help
hego
Posts: 26
Joined: Mon Mar 14, 2022 8:26 am

Re: Wrong episode name and thumbnail

Post by hego »

SubJunk wrote: Thu May 22, 2025 8:59 am I have fixed some bugs on the server related to resetting the cache, it was leaving out some database tables so they would have become mismatched. That doesn't explain the initial bad state, but maybe that was caused by an API bug. I will do some testing of my fixes soon and see if I can still make it break. If it goes well I'll upload a build for you to test
Sure, anytime.
Post Reply