2011-05-13, 23:37
Therms Wrote:Is there a way (and, if not, could we get a way) to access YouTube 100? It would be great to just play through them like you can on the website....you know, start them playing and walk away and it plays the top 100 music videos. Bonus points if you can shuffle them!
If the dev doesn't want/have time, if you'd point me in the right direction I'll see about implementing it myself. I'm a Python dev with no XBMC experience...
http://gizmodo.com/5801695/screw-mtv-you...vant-again
Play All functionality is already in the current beta which you can get from svn, basically you just need to create a scraper that can fetch a list of video id's, and from there call our core to fetch the video information. Im currently busy working on the playlist management code and backporting some fixes to the release branch, so a patch would be very much appreciated.
Files to look into
This file gives several examples of other scrapers that we currently have something like the trailers scraper would probably be preferable:
http://code.google.com/p/youtubexbmc/sou...perCore.py
This file implements the queuing and automatic playback of several different listing types:
http://code.google.com/p/youtubexbmc/sou...Control.py
I would suggest also look into creating a more general scraper for the http://www.youtube.com/music section as it seems theres a lot of content there that would fit in nicely