(2013-04-12, 13:10)LehighBri Wrote: (2013-04-12, 06:42)GoodCode Wrote: (2013-04-10, 14:10)kricker Wrote: Good luck with the TV scraper. A few others including myself have tried but were unsuccessful due to the limits of XBMC and how it expects shows to be named in order to be scraped.
So far, I've gotten my scraper to pull series data (including fanart). I'm hoping to write the GetEpisodeList & GetEpisodeDetails functions this weekend.....which should be the last 2 that I need to work
Feel free to look into the code I have in the SageTV addon as I have functions that do exactly that. Probably wont be a copy paste but could at least reuse concepts if you like.
Oh, don't worry. I'm stealing heavily from both your integration and the plex scraper wherever I can
. This is my first attempt doing any kind of coding with Sage, so I'm reading over whatever code I can get my hands on (I play a developer in real life though, so I do have a bit of a clue).
So far, I'm finding the sage side of things really easy. The SageEx stuff is an
amazingly good idea, and coding within it has been made even easier with your XBMC integration and Pix64's plex integration to look at.
I wish I could say the same about the XBMC scrapers. It's a cool idea, but I feel just dirty parsing JSON using regex....and having to put URL's double-encoded in the scraper output is just icky.
Anyway...I have GetEpisodeList working-ish now. I just have GetEpisodeDetails left, so I think it's going to work. The BradVido tool gets me past the major hurdle of requiring each show in it's own folder on the source directory (which I really hope goes away in a future version). After that it was just getting my brain wrapped around the scrapers (though the scraper editor helps considerably with that).