2009-03-24, 02:37
spiff Wrote:xbmc enumerate a series. the scraper returns an episode guide (i.e. a map with season and episode numbers as key, url as data). we match those, and run the scraper on the url's in question. there is absolutely no problem to handle this if only you are willing to do some stuff yourself.
stick the files in a numbered season folder (season 1). do a regexp to grab the season number for the folder name, the ep number from the files. voila
I think I get what the issue is with what I'm trying to do. I'm trying to have theTVDB actually parse out the seasons and episiodes. This is difficult (impossible?) b/c that's done by XBMC before the query is ever sent. Is there any way to do a reverse lookup during the scrape or possibly a second pass? Is the following even possible?
XBMC enumerates the files -> scrape is done -> data is examined -> re-enumerated by what was returned from the scrape.
I think that's the only way to leave the absolute numbers in the file name and then parse it into manageable seasons (DBZ, I blame you) without renaming any files.