Jump to content

Movie matching accuracy


MBSki
 Share

Recommended Posts

Something seems to be off with movie matching. Why would the first match for Life (1999) be A Bug's Life (1998). A Bug's Life is clearly not the best match.

image.png.b2af13343fbb6bb881cbfd72ebfac592.png 

image.png.c4fbe91a932420fce2f3af9664d1e191.png

Link to comment
Share on other sites

Happy2Play

But primary issue is TMDB api returns the query that way not Emby.

query=Life&language=en&year=1999

{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/u2HrA8BMvvHURz5mVOIe9EM1zGx.jpg",
"genre_ids": [
12,
16,
35,
10751
],
"id": 9487,
"original_language": "en",
"original_title": "A Bug's Life",
"overview": "On behalf of \"oppressed bugs everywhere,\" an inventive ant named Flik hires a troupe of warrior bugs to defend his bustling colony from a horde of freeloading grasshoppers led by the evil-minded Hopper.",
"popularity": 92.27,
"poster_path": "/hFamOus53922agTlKxhcL7ngJ9h.jpg",
"release_date": "1998-11-25",
"title": "A Bug's Life",
"video": false,
"vote_average": 7,
"vote_count": 7793
},
{
"adult": false,
"backdrop_path": "/GjoNCBnOdmKz7ZVG0IICfg1GKa.jpg",
"genre_ids": [
35,
80
],
"id": 6522,
"original_language": "en",
"original_title": "Life",
"overview": "Two men in 1930s Mississippi become friends after being sentenced to life in prison together for a crime they did not commit.",
"popularity": 15.864,
"poster_path": "/mMTrgEhGrHzin07P5G6BPVw9XuW.jpg",
"release_date": "1999-04-16",
"title": "Life",
"video": false,
"vote_average": 6.7,
"vote_count": 614
}

 

  • Agree 1
Link to comment
Share on other sites

19 minutes ago, mbarylski said:

Something seems to be off with movie matching. Why would the first match for Life (1999) be A Bug's Life (1998). A Bug's Life is clearly not the best match.

image.png.b2af13343fbb6bb881cbfd72ebfac592.png 

image.png.c4fbe91a932420fce2f3af9664d1e191.png

Looks like the results are being sorted by production year.

When you fill out the identify fourm, if you add the production year, I believe that only one result will show.

Edited by chef
Link to comment
Share on other sites

2 minutes ago, Happy2Play said:

But primary issue is TMDB api returns the query that way not Emby.

query=Life&language=en&year=1999

{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/u2HrA8BMvvHURz5mVOIe9EM1zGx.jpg",
"genre_ids": [
12,
16,
35,
10751
],
"id": 9487,
"original_language": "en",
"original_title": "A Bug's Life",
"overview": "On behalf of \"oppressed bugs everywhere,\" an inventive ant named Flik hires a troupe of warrior bugs to defend his bustling colony from a horde of freeloading grasshoppers led by the evil-minded Hopper.",
"popularity": 92.27,
"poster_path": "/hFamOus53922agTlKxhcL7ngJ9h.jpg",
"release_date": "1998-11-25",
"title": "A Bug's Life",
"video": false,
"vote_average": 7,
"vote_count": 7793
},
{
"adult": false,
"backdrop_path": "/GjoNCBnOdmKz7ZVG0IICfg1GKa.jpg",
"genre_ids": [
35,
80
],
"id": 6522,
"original_language": "en",
"original_title": "Life",
"overview": "Two men in 1930s Mississippi become friends after being sentenced to life in prison together for a crime they did not commit.",
"popularity": 15.864,
"poster_path": "/mMTrgEhGrHzin07P5G6BPVw9XuW.jpg",
"release_date": "1999-04-16",
"title": "Life",
"video": false,
"vote_average": 6.7,
"vote_count": 614
}

 

That is interesting, you have added the year to the request url, and yet the results have 1998.

That is very strange. 

  • Agree 1
Link to comment
Share on other sites

What is also interesting is that emby seems to be choosing 'firstOrDefault' in the return JSON, even though the production year is available to help identify the proper one.

 

 

Link to comment
Share on other sites

Happy2Play
4 minutes ago, chef said:

That is interesting, you have added the year to the request url, and yet the results have 1998.

That is very strange. 

Yes as other country release dates or release type skew the actual query.  So you end up with that year tolerance.

image.png.17be0628b73bb09df126d8c2ce6823ca.png

 

Edited by Happy2Play
  • Like 1
Link to comment
Share on other sites

Happy2Play

So in this case TMDB will give correct result first if Life (2000) is used.  This is why we have so many mismatches with TMDB.

query=Life&language=en&year=2000

"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/GjoNCBnOdmKz7ZVG0IICfg1GKa.jpg",
"genre_ids": [
35,
80
],
"id": 6522,
"original_language": "en",
"original_title": "Life",
"overview": "Two men in 1930s Mississippi become friends after being sentenced to life in prison together for a crime they did not commit.",
"popularity": 15.864,
"poster_path": "/mMTrgEhGrHzin07P5G6BPVw9XuW.jpg",
"release_date": "1999-04-16",
"title": "Life",
"video": false,
"vote_average": 6.7,
"vote_count": 614
}
.
.
.
.
.
.

But Emby should do a little more magic behind the scenes matching Title though as Life and A Bug's Life should be distiquishable.

Edited by Happy2Play
  • Agree 2
Link to comment
Share on other sites

48 minutes ago, Happy2Play said:

But Emby should do a little more magic behind the scenes matching Title though as Life and A Bug's Life should be distiquishable.

Yes, exactly! 

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...