TheTVDB Scraper will need to be updated

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
agathorn Offline
Team-XBMC Developer
Posts: 497
Joined: Nov 2007
Reputation: 2
Post: #1
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".

Got Fusion?, a media-centric skin for XBMC.

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: badge.gif]
find quote
szsori Offline
TheTVDB.com Admin
Posts: 663
Joined: Aug 2006
Reputation: 1
Location: Milwaukee, WI
Post: #2
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
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,174
Joined: Nov 2003
Reputation: 82
Post: #3
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.

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.
find quote
NotShorty Offline
Fan
Posts: 348
Joined: Feb 2007
Reputation: 0
Post: #4
Fixed in latest T3CH according to changelog.
find quote