2009-12-07, 22:11
Noticed one of my movies isn't having the poster artwork returned from TMDB so enabled debug and got the following:
1) XBMC notices movie not in database so scrapes:
2) XBMC uses tmdb api to search for the movies and gets a good match:
3) Using the tmdb id from above XBMC does a movie.getInfo:
4) Detailed results are returned by tmdb which look correct:
5) Now things look a bit wrong. The calls to movie.getImages are no longer using the tmdb movie id of 10530 but the imdb id of tt1119154, which obviously the tmdb api doesn't recognise:
Is my rough analysis correct or am I doing something wrong?
NOTE:
I'm running XBMC 9.11 Beta1 + (r24985 of scrapers/video/common/tmdb.xml)
Cleared my database beforehand (rm .xbmc/userdata/Databases/*.db).
Thanks,
Chris
1) XBMC notices movie not in database so scrapes:
Quote:19:33:29 T:3060431728 M:1842192384 DEBUG: GetMovieId (/mnt/frodo/videos/movies/Pocahontas.avi), query = select idMovie from movie where idFile=35
2) XBMC uses tmdb api to search for the movies and gets a good match:
Quote:19:33:29 T:3060431728 M:1842192384 DEBUG: FileCurl::Open(0x9d4ed10) http://api.themoviedb.org/2.1/Movie.sear...pocahontas
<snip>
19:33:30 T:3060431728 M:1841676288 DEBUG: scraper: GetSearchResults returned <results><entity><title>Pocahontas</title><id>10530</id><url cache="tmdb-10530.xml">http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/10530</url></entity><entity><title>Pocahontas II: Journey to a New World</title><id>13761</id><url cache="tmdb-13761.xml">http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/13761</url></entity></result>
3) Using the tmdb id from above XBMC does a movie.getInfo:
Quote:19:33:30 T:3060431728 M:1841676288 DEBUG: FileCurl::Open(0x9d4ed10) http://api.themoviedb.org/2.1/Movie.getI...0ea9/10530
4) Detailed results are returned by tmdb which look correct:
Quote:19:33:30 T:3060431728 M:1841455104 DEBUG: scraper: GetDetails returned <details><title>Pocahontas</title><year>
<snip>
5) Now things look a bit wrong. The calls to movie.getImages are no longer using the tmdb movie id of 10530 but the imdb id of tt1119154, which obviously the tmdb api doesn't recognise:
Quote:19:33:30 T:3060431728 M:1841455104 DEBUG: scraper: GetTMDBThumbsById returned <details><url function="GetTMDBThumbs" cache="tmdb-images-tt1119154.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt1119154</url></details>
FileCurl::Open(0x9d4ed10) http://api.themoviedb.org/2.1/Movie.getI.../tt1119154
19:33:31 T:3060431728 M:1841455104 DEBUG: FileCurl::Close(0x9d4ed10) http://api.themoviedb.org/2.1/Movie.getI.../tt1119154
19:33:31 T:3060431728 M:1841455104 DEBUG: scraper: GetTMDBThumbs returned <details></details>
19:33:31 T:3060431728 M:1841455104 DEBUG: scraper: GetTMDBFanartById returned <details><url function="GetTMDBFanart" cache="tmdb-images-tt1119154.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt1119154</url></details>
19:33:31 T:3060431728 M:1841455104 DEBUG: scraper: GetTMDBFanart returned
19:33:31 T:3060431728 M:1841455104 ERROR: InternalGetDetails: Unable to parse web site [http://api.themoviedb.org/2.1/Movie.getI...tt1119154]
19:33:31 T:3060431728 M:1841455104 DEBUG
Is my rough analysis correct or am I doing something wrong?
NOTE:
I'm running XBMC 9.11 Beta1 + (r24985 of scrapers/video/common/tmdb.xml)
Cleared my database beforehand (rm .xbmc/userdata/Databases/*.db).
Thanks,
Chris