TheTVDB: How does it work?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MKay Offline
Member
Posts: 81
Joined: Jan 2010
Reputation: 10
Post: #1
Hi,

currently I am analyzing the tvdb-scraper (for Dharma) and have a question about the (general) scraper-behaviour:

Inside <GetSearchResults> the found tv shows will be returned.
And one result contains a url where information about the tv show can be found.
So far so good Smile

In case of the tvdb-scraper this url points to a zip-archive.
Now I am wondering how this is handled by the scraper-engine, because the zip-file itself contains 3 xml-files.
Which one will be used in the following <GetDetails>-call?
Are all these xmls combined to one large xml file or how does it work? Smile

Best Regards,
MKay

:eek2: AWX - Ajax based Webinterface for XBMC (Dharma Beta 2)
find quote
mkortstiege Offline
Team-Kodi Developer
Posts: 2,963
Joined: Jan 2008
Reputation: 8
Location: Germany
Post: #2
Yep, exactly. In case a .zip is found we extract and append the contents (see https://github.com/xbmc/xbmc/blob/master...l.cpp#L223).

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
MKay Offline
Member
Posts: 81
Joined: Jan 2010
Reputation: 10
Post: #3
OK, thx Smile

:eek2: AWX - Ajax based Webinterface for XBMC (Dharma Beta 2)
find quote