PDA

View Full Version : 4.9.8 Custom Scrapers


JREkiwi
02-01-2011, 09:06 PM
stuckless,

I can't get my custom scraper to work if I have it located in the userdata/Phoenix/scrapers/xbmc/tvfilenames/ directory. If I return it to STVs/Phoenix/scrapers/xbmc/tvfilenames/ then it works again.

Any ideas?

John

stuckless
02-07-2011, 11:22 AM
stuckless,

I can't get my custom scraper to work if I have it located in the userdata/Phoenix/scrapers/xbmc/tvfilenames/ directory. If I return it to STVs/Phoenix/scrapers/xbmc/tvfilenames/ then it works again.

Any ideas?

John

So when you put it in the userdata area, do you restart sagetv for the changes to take effect. If so, then in the phoenix.log, you should see an entry for every scraper that is loaded, so check to make sure that your scraper is in the list (ie, it's being loaded).

Being loaded, doesn't actually guarantee that it will be used. If another scraper is called, and then handles the mediafile, AND that scraper does return valid data (ie, is able to parse out the series, etc), then no other scraper is used. Also, in the logs, you can see which scraper is being used for a given mediafile.

I did do some testing on this on my end, before releasing the code, and I was seeing the scrapers being picked up... that being said, there is still room for bugs :)