TMDB scaper and special characters in XBMC 11.0
#1
Hello everyone,
i moved from XBMC 10.1 to 11.0 and all seems to work fine except TMDB scraper.
I noticed that several movies and tv shows names are ignored if they contain special characters such as & and '.
I suppose it is something related to the xml query that XBMC sends to TMDB, probably the special characters are not translated to the XML safe version &amp and &apos.
Anyone can help me?
Thanks.
Reply
#2
Do a Debug Log which features lookups on those movies/shows.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Hi, here is the request for a movie using TMDB:

10:04:07 T:4456 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
10:04:07 T:4456 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'I:\VIDEO\Film\Sport\Arti Marziali\Bruce Lee\L'urlo di Chen terrorizza anche l'occidente.avi'
10:04:07 T:4456 INFO: Loading skin file: DialogProgress.xml
10:04:07 T:4456 DEBUG: DialogProgress::StartModal called
10:04:07 T:4456 DEBUG: ------ Window Init (DialogProgress.xml) ------
10:04:07 T:748 DEBUG: Thread CVideoInfoDownloader start, auto delete: 0
10:04:07 T:748 DEBUG: ADDON::CScraper::FindMovie: Searching for 'L'urlo di Chen terrorizza anche l'occidente' using The MovieDB scraper (path: 'C:\Users\Hexen\AppData\Roaming\XBMC\addons\metadata.themoviedb.org', content: 'movies', version: '3.1.0')
10:04:07 T:748 DEBUG: scraper: CreateSearchUrl returned <url>http://api.themoviedb.org/3/search/movie?api_key=57983e31fb435df4df77afb854740ea9&query=l%27urlo%20di%20chen%20terrorizza%20anche%20l%27occidente&language=it</url>
10:04:07 T:748 DEBUG: FileCurl::Open(0045C3F8) http://api.themoviedb.org/3/search/movie...anguage=it
10:04:07 T:748 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://api.themoviedb.org
10:04:07 T:748 DEBUG: scraper: GetSearchResults returned <results></results>
10:04:07 T:748 DEBUG: ADDON::CScraper::FindMovie: Searching for 'L'urlo di Chen terrorizza anche l'occidente' using The MovieDB scraper (path: 'C:\Users\Hexen\AppData\Roaming\XBMC\addons\metadata.themoviedb.org', content: 'movies', version: '3.1.0')
10:04:07 T:748 DEBUG: scraper: CreateSearchUrl returned <url>http://api.themoviedb.org/3/search/movie?api_key=57983e31fb435df4df77afb854740ea9&query=l%27urlo%20di%20chen%20terrorizza%20anche%20l%27occidente&language=it</url>
10:04:07 T:748 DEBUG: FileCurl::Open(0045C3F8) http://api.themoviedb.org/3/search/movie...anguage=it
10:04:08 T:748 DEBUG: scraper: GetSearchResults returned <results></results>
10:04:08 T:748 DEBUG: Thread CVideoInfoDownloader 748 terminating
10:04:08 T:4456 INFO: Loading skin file: DialogKeyboard.xml
10:04:08 T:4456 DEBUG: ------ Window Init (DialogKeyboard.xml) ------
10:04:08 T:4456 DEBUG: ------ Window Deinit (DialogProgress.xml) ------

and here is a request for a TV Show using TVDB:

10:04:26 T:4456 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
10:04:26 T:4456 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'I:\VIDEO\Cartoni Animati\Dr. Slump & Arale\'
10:04:26 T:4456 INFO: Loading skin file: DialogProgress.xml
10:04:26 T:4456 DEBUG: DialogProgress::StartModal called
10:04:26 T:4456 DEBUG: ------ Window Init (DialogProgress.xml) ------
10:04:27 T:4268 DEBUG: Thread CVideoInfoDownloader start, auto delete: 0
10:04:27 T:4268 DEBUG: ADDON::CScraper::FindMovie: Searching for 'Dr. Slump & Arale' using The TVDB scraper (path: 'C:\Program Files (x86)\XBMC\addons\metadata.tvdb.com', content: 'tvshows', version: '1.2.4')
10:04:27 T:4268 DEBUG: scraper: CreateSearchUrl returned <url>http://www.thetvdb.com/api/GetSeries.php?seriesname=dr%2e%20slump%20%26%20arale&amp;language=it</url>
10:04:27 T:4268 DEBUG: FileCurl::Open(0045C3F8) http://www.thetvdb.com/api/GetSeries.php...anguage=it
10:04:27 T:4268 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://www.thetvdb.com
10:04:27 T:4268 DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
10:04:27 T:4268 DEBUG: ADDON::CScraper::FindMovie: Searching for 'Dr. Slump & Arale' using The TVDB scraper (path: 'C:\Program Files (x86)\XBMC\addons\metadata.tvdb.com', content: 'tvshows', version: '1.2.4')
10:04:27 T:4268 DEBUG: scraper: CreateSearchUrl returned <url>http://www.thetvdb.com/api/GetSeries.php?seriesname=dr%2e%20slump%20%26%20arale&amp;language=it</url>
10:04:27 T:4268 DEBUG: FileCurl::Open(0045C3F8) http://www.thetvdb.com/api/GetSeries.php...anguage=it
10:04:27 T:4268 DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
10:04:27 T:4268 DEBUG: Thread CVideoInfoDownloader 4268 terminating
10:04:27 T:4456 INFO: Loading skin file: DialogKeyboard.xml
10:04:27 T:4456 DEBUG: ------ Window Init (DialogKeyboard.xml) ------
10:04:28 T:4456 DEBUG: ------ Window Deinit (DialogProgress.xml) ------

Hope this is what you asked for.
I very much appreciate your help.

Reply
#4
themoviedb's one seems like it's their API search that doesn't support it? (note it's encoded fine in the link XBMC sends)?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Yes i see the get request is correct, may be an issue in TMDB api, and TVDB too.
Thank you for the reply.
Best regards.
Reply

Logout Mark Read Team Forum Stats Members Help
TMDB scaper and special characters in XBMC 11.00