Kodi Community Forum
TheTVDB Scraper will need to be updated - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
--- Thread: TheTVDB Scraper will need to be updated (/showthread.php?tid=31979)



TheTVDB Scraper will need to be updated - agathorn - 2008-03-17

Due to the API changes for adding Fanart support, it appears banners don't scrape properly anymore.

I'm currently looking at the scraper code, trying to understand it to add the fanart scraping in, so if I can get it fixed I will.

In any case just wanted it to be "known".


- szsori - 2008-03-17

Here's how the API changed, to make fixing the scraper easier:

Added BannerType for fan art:
<BannerType>fanart</BannerType>

This is in addition to types of series and season. I also sorted by BannerType so the banners get grouped. This is most likely where it broke... you have to make sure <BannerType> is series for the banner you're looking for.

For fan art, I also added the following properties: VignettePath, ThumbnailPath, and Colors. BannerType2 holds the resolution of fan art as well as the format of series banners (text, graphical, blank).

Here's a link:
http://thetvdb.com/wiki/index.php/API:banners.xml

XBMC needs a proper XML parser available to the scrapers. Smile


- spiff - 2008-03-18

afaik its already taken care of in svn.

as for us needing a proper xml parser, we already have a proper xml parser. if i wanted to i would tie the system to one backend. i dont. so we pass it through the scraper layer, translating the tvdb output to our format.


- NotShorty - 2008-03-25

Fixed in latest T3CH according to changelog.