TVDB scraper explanation please?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
spiff Online
Grumpy Bastard Developer
Posts: 12,179
Joined: Nov 2003
Reputation: 82
Post: #11
GetEpisodeList gets us the list of available episodes and a url to their info. we then call GetEpisodeDetails repeatedly on those urls, according to the episodes we have found (through enumerating using tvshowmatching expressions).

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
pathw Offline
Junior Member
Posts: 28
Joined: Feb 2011
Reputation: 0
Post: #12
spiff Wrote:GetEpisodeList gets us the list of available episodes and a url to their info. we then call GetEpisodeDetails repeatedly on those urls, according to the episodes we have found (through enumerating using tvshowmatching expressions).

hi
could you elaborate a little more on how the tvshowmatching expression is done? If I return 25 episodes in GetEpisodeList, how is the matching done to decide which urls to call GetEpisodeDetails on?

thanks
find quote
spiff Online
Grumpy Bastard Developer
Posts: 12,179
Joined: Nov 2003
Reputation: 82
Post: #13
tvshowmatching expressions runs on the files in the directory, extracting season and episode numbers from the filenames (if successfully). these are then matched to the entries returned from GetEpisodeList. can't really be more elaborate than that as there's nothing else to it.

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
pathw Offline
Junior Member
Posts: 28
Joined: Feb 2011
Reputation: 0
Post: #14
ah thanks. so its the episode and season number that have to match. Would you know if the episode and season numbers have to be only numeric?

The reason is Im using anidb as my scraper and my files have been named that way. So episode numbers are sometimes non-numeric.

my advanced settings xml is correctly returning non numeric values for the episode numbers

GetEpisodeList does the same. But I noticed that getEpisodedetails isnt being called correctly. My only guess is that its discarding the nonnumeric values.
find quote
spiff Online
Grumpy Bastard Developer
Posts: 12,179
Joined: Nov 2003
Reputation: 82
Post: #15
currently they are stored as integers.

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
pathw Offline
Junior Member
Posts: 28
Joined: Feb 2011
Reputation: 0
Post: #16
ah. I don't suppose there is anyway to get each filename sent to the scraper so that the scraper can choose the right episode details?
find quote
Post Reply