Jump to content

What am I doing wrong? (Wrong metadata)


Recommended Posts

Posted

About 70% of the movies get identified correctly, but there's a (seemingly) random ~30% that aren't even close. I know I can go in and fix them manually, but I really don't want to :P. (In part because there's no way to know which ones are wrong without starting every movie, in part because that's not a sustainable solution into the future - eventually I'll miss one one, and in part becuase that feels like treating a symptom and not a cause which doesn't feel great.)  So what can do, to help Emby get the right info? 

Here's a specific example, all other examples (ones that are correct and other ones that are incorrect) are the same. 

File named "Alita Battle Angel (2019).mkv" being identified as "The Croods: A New Age". 

image.thumb.png.218b6643a3420185328b58d390cccf17.png

I've been running an emby server for years, and I don't remember ever having this problem in the past. What can I do?

Posted

Hello emb0rr,

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:

Thank you.

Emby Team

Posted (edited)

So it seems like it's parsing the name of the folder, and not the name of the file. Check that search query parameter in the URL it used to look up the movie.

2020-12-22 15:47:32.138 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\embyserver\system\ffprobe.exe -i file:"\\dagr.[redacted].net\embyData\newMovies\a\Alita Battle Angel (2019).mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2020-12-22 15:47:32.302 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0
2020-12-22 15:47:32.316 Info App: MovieDbProvider: Finding id for item: a
2020-12-22 15:47:32.316 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=a&language=en

And what's the first movie returned from themoviedb when just searching for "a"? Croods! 

Which led to the discovery that when there are multiple movies in a folder, it searches themoviedb for the file name, not the containing folder name. (ie, 2020-12-22 15:06:05.257 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=Toy+Story+4&language=en) This explains the seeming randomness of the movies it gets wrong.

But that's quirky behavior. I can live with it, but maybe put it as a thing to make more consistent (searching for folder name vs. searching for file name) on the next update.

So I guess I figured it out, but it's needlessly quirky.

image.png.1df8de820c2d3b4323226ee5b51d0f73.png

Edited by emb0rr
Posted

Hi, when a movie is the only video in a folder, yes that's when we use the folder name for metadata lookups.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...