Kodi Community Forum

Full Version: Kodi 16.1 - TMDb does not find the movie but search URL is OK
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

I'm part of French Kodi users forum Media-Passion.fr and one of our users face a stange bug.

He's trying to scrap "M et le 3ème secret" :

https://www.themoviedb.org/movie/372394-...-me-secret

Movie file is well named :

D:\Videos\Films\M et le 3eme secret\M et le 3eme secret.avi

But the scrap get no result during scrap :

Code:
11:50:00 T:1480   DEBUG: ADDON::CScraper::FindMovie: Searching for 'M et le 3eme secret' using The Movie Database scraper (path: 'C:\Kodi\16.1\portable_data\addons\metadata.themoviedb.org', content: 'movies', version: '3.9.2')
11:50:00 T:1480   DEBUG: scraper: CreateSearchUrl returned <url>http://api.tmdb.org/3/search/movie?api_key=f7f51775877e0bb6703520952b3c7840&amp;query=M%20et%20le%203eme%20secret&amp;year=&amp;language=fr</url>
11:50:00 T:1480   DEBUG: CurlFile::Open(0C483B38) http://api.tmdb.org/3/search/movie?api_key=f7f51775877e0bb6703520952b3c7840&query=M%20et%20le%203eme%20secret&year=&language=fr
11:50:00 T:1480   DEBUG: CScraperUrl::Get: Using "UTF-8" charset for "http://api.tmdb.org/3/search/movie?api_key=f7f51775877e0bb6703520952b3c7840&query=M%20et%20le%203eme%20secret&year=&language=fr"
11:50:00 T:1480   DEBUG: scraper: GetSearchResults returned <results></results>

But when you copy/paste search URL in your browser :

http://api.tmdb.org/3/search/movie?api_k...anguage=fr

TMDb API return the right movie :

Code:
{"page":1,"results":[{"poster_path":"\/dlM4n4UxWPKZfLboaKDga3oOK9j.jpg","adult":false,"overview":"","release_date":"","genre_ids":[99],"id":372394,"original_title":"M et le 3ème secret","original_language":"fr","title":"M & the third secret (2015)","backdrop_path":"\/pzPKu2Gi2pQog3z8aIGuOMUyJ7q.jpg","popularity":1.000007,"vote_count":0,"video":false,"vote_average":0}],"total_results":1,"total_pages":1}

Setup information :

Kodi : Starting Kodi (16.1 Git:20160424-c327c53). Platform: Windows NT x86 32-bit
Scraper : metadata.themoviedb.org version 3.9.2

Thanks.