The Movie Database Support

Pulling movie info via Kodi's default MovieDB information provider plugin and lots of incorrect data is being returned. For example, selecting White Fang (2018) returns the movie data for White Fang (1973). This just started happening today (though I haven't pulled new movie info for a few days), no change in Kodi version.

10 replies (on page 1 of 1)

Jump to last post

Sorry, meant White Fang (2018) is returning White Fang (1997), not 1973. Similarly, pulling White Fang (1997) returns White Fang (2009)...

I have noticed the same problem with several other titles. It appears that the year is being scraped/displayed incorrectly. Using manual scanner in Kodi, some titles will return multiple options with the same (or similar names) but all with incorrect years shown. If you try random options eventually you will get the correct movie with the correct year even though the year in the list was shown differently when you selected it. I scraped the original 1979 Mad Max but the one that eventually scraped the correct title/year was shown in the list as "Mad Max:Fury Road (2015)"

Another movie I tried was Harvest Moon (2015) which showed in the list as Harvest Moon (2010) but once scraped had the correct year of 2015

Good call, ended up choosing White Fang 1973 to get the right data :)

Not all movies work this way, though. For Lego DC Shazam (2020) none of the options pulled the right data.

Hi guys,

I'm not sure if I can provide much help... all of the examples I've used here are showing the correct data:

Request

curl -v "http://api.themoviedb.org/3/search/movie?api_key=###&query=Mad+Max&year=2015"

*   Trying 2600:9000:20bc:1000:c:174a:c400:93a1:80...
* Connected to api.themoviedb.org (2600:9000:20bc:1000:c:174a:c400:93a1) port 80 (#0)
> GET /3/search/movie?api_key=###&query=Mad+Max&year=2015 HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.72.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json;charset=utf-8
< Content-Length: 685
< Connection: keep-alive
< Date: Wed, 25 Nov 2020 03:50:19 GMT
< Server: openresty
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After, Content-Length, Content-Range
< ETag: c59bf49f62f7a91a23d8bab6ebc1b4e2
< Cache-Control: public, max-age=600
< Vary: Accept-Encoding,Accept-Encoding
< X-Cache: Miss from cloudfront
< Via: 1.1 4f130b04fa4df2503556325c16eee9f2.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: YVR50-C1
< X-Amz-Cf-Id: yVNj9YUHRaKbOxSgV-PmTRcEHAW-xtoWbZTCiKZHTgLdFMrhXTcEgA==
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "total_results": 1,
  "page": 1,
  "total_pages": 1,
  "results": [
    {
      "video": false,
      "id": 76341,
      "popularity": 56.496,
      "vote_count": 17230,
      "release_date": "2015-05-13",
      "adult": false,
      "backdrop_path": "/nlCHUWjY9XWbuEUQauCBgnY8ymF.jpg",
      "vote_average": 7.5,
      "genre_ids": [
        28,
        12,
        878
      ],
      "overview": "An apocalyptic story set in the furthest reaches of our planet, in a stark desert landscape where humanity is broken, and most everyone is crazed fighting for the necessities of life. Within this world exist two rebels on the run who just might be able to restore order.",
      "original_language": "en",
      "original_title": "Mad Max: Fury Road",
      "poster_path": "/8tZYtuWezp8JbcsvHYO0O46tFbo.jpg",
      "title": "Mad Max: Fury Road"
    }
  ]
}

Request

curl -v "http://api.themoviedb.org/3/search/movie?api_key=###&query=Harvest+Moon&year=2015"

*   Trying 2600:9000:20bc:9200:c:174a:c400:93a1:80...
* Connected to api.themoviedb.org (2600:9000:20bc:9200:c:174a:c400:93a1) port 80 (#0)
> GET /3/search/movie?api_key=###&query=Harvest+Moon&year=2015 HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.72.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json;charset=utf-8
< Content-Length: 834
< Connection: keep-alive
< Date: Wed, 25 Nov 2020 03:48:40 GMT
< Server: openresty
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After, Content-Length, Content-Range
< ETag: 6e860987e8512184ee5e87eac60b9a5d
< Cache-Control: public, max-age=600
< Vary: Accept-Encoding,Accept-Encoding
< X-Cache: Hit from cloudfront
< Via: 1.1 bf58b72d041cddee9bf926a00eeeb60a.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: YVR50-C1
< X-Amz-Cf-Id: GECmfy6TxpP-LXcle3SZI3XjjVZDtud8YrUrfvAERc8QGNswAK7YLw==
< Age: 30
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "total_results": 1,
  "page": 1,
  "total_pages": 1,
  "results": [
    {
      "video": false,
      "id": 361746,
      "popularity": 8.216,
      "vote_count": 53,
      "release_date": "2015-10-10",
      "adult": false,
      "backdrop_path": "/vfkuyu6Pt0Q2D7jNcX5Llq0fXGw.jpg",
      "vote_average": 6.1,
      "genre_ids": [
        18,
        10749,
        10770
      ],
      "overview": "When her family goes bankrupt, privileged city girl Jen Stone travels to the country to try and fix up a struggling pumpkin farm that her father bought as an investment to get her money back. Not everyone is on board with her changes, least of all Brett, the farm's handsome manager. By working with what she knows best, she discovers the magic of pumpkin skincare and turns the struggling farm around while also falling in love.",
      "original_language": "en",
      "original_title": "Harvest Moon",
      "poster_path": "/hZrTiFwsOqck7p7GZn1yqg99hKQ.jpg",
      "title": "Harvest Moon"
    }
  ]
}

Request

curl -v "http://api.themoviedb.org/3/search/movie?api_key=###&query=Lego+DC+Shazam&year=2020"

*   Trying 2600:9000:20bc:b800:c:174a:c400:93a1:80...
* Connected to api.themoviedb.org (2600:9000:20bc:b800:c:174a:c400:93a1) port 80 (#0)
> GET /3/search/movie?api_key=###&query=Lego+DC+Shazam&year=2020 HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.72.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json;charset=utf-8
< Content-Length: 621
< Connection: keep-alive
< Date: Wed, 25 Nov 2020 03:48:07 GMT
< Server: openresty
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After, Content-Length, Content-Range
< ETag: 4deccfc0c9cfb2fb520ca06a897f5ed2
< Cache-Control: public, max-age=600
< Vary: Accept-Encoding,Accept-Encoding
< X-Cache: Miss from cloudfront
< Via: 1.1 491f87c907b27362e04dc63423010b42.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: YVR50-C1
< X-Amz-Cf-Id: rLX_siMdCFWPHEqDp-zsiMvU8lOqGd4W_qq911FcVLzxbN03x0D73A==
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "page": 1,
  "total_pages": 1,
  "results": [
    {
      "id": 690369,
      "adult": false,
      "backdrop_path": "/rVK9E8Jyoou4Hv7L3aThk28ctG2.jpg",
      "genre_ids": [
        10751,
        12,
        16,
        35
      ],
      "original_title": "LEGO DC: Shazam! Magic and Monsters",
      "original_language": "en",
      "title": "LEGO DC: Shazam! Magic and Monsters",
      "poster_path": "/ziIyuNNNwYqv0qbOpV9VvvdnRBb.jpg",
      "overview": "It’s high time the Justice League took notice of Shazam, but joining the world’s greatest team of superheroes is a lot harder when they’ve all been turned into kids.",
      "video": false,
      "vote_average": 8,
      "popularity": 54.827,
      "vote_count": 72,
      "release_date": "2020-04-28"
    }
  ],
  "total_results": 1
}

Best thing I can suggest is popping over to the Kodi forums to see if there's any known issues.

Cool, helpful, thanks. I'll pick up a sniff of the Kodi traffic and post it back here (at least I will if it doesn't use an SSL connection)

hi Travis,

Sent you a mail yesterday, but I presume you haven't seen it yet (or maybe don't use email anymore? :)

There was a change at TMDB lately (1-2-3 days earlier we believe) which made the search results layout completely random in object ordering which makes very hard and fragile to handle by Kodi's default regexp based movie scraper.

The problem is that the object ordering seems to be vary and random movie by movie and apparently it looks like that even for the same movie if I search multiple times. There is no consistency in object ordering, it is just changing and living its own life and this has never been like that before.

The scraper is only using the "id", "title", "original_title" and "release_date" objects from the search results to display the search results in Kodi, but the order of these fields are random now.

I remember you mentioned sometime that you are not in control for this, but such inconsistency across movies has never happened before, so something must have changed in the last few days regarding this. The placement/ location of the objects were not always ideal, but at least the ordering was consistent across movies, so somehow, with workaround and tricks we were always able to handle.

Is this something you look at? I know I may ask for too much, but the ideal case would be to have "id", "title", "original_title" and "release_date" objects first for each movie results in a consistent order.

This is impacting both the default movie and TV show scrapers and all of us will receive zillions of complaints very soon.

Thank you in advance, olympia

@olympia I've been dealing with the massive AWS outage all morning but should find some time to reply to your email this afternoon.

@olympia As per my email just now, a fix for you guys just went live. Keys are now consistently ordered. You should be able to map your regex to the new order (which is alphabetical, I believe) and it shouldn't change. thumbsup_tone2

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login