Kodi Community Forum

Full Version: [request] Roosterteeth.com addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've recently been watching the heck out of Red vs Blue and the various roosterteeth.com shorts, so I figured I'd throw it out to any fellow RvB fans who happen to know how to do a bit of python coding to make a Roosterteeth addon for XBMC.

This looks like it might be fairly easy, if nobody else is interested, I'll see what I can put together.
By all means!
Go for it divingmule. I took a quick look at the website and it seems like the videos are coming from Blip.tv. You may want to ask TobiasTheCommie to give you a hand since he is behind the Blip.tv addon.
Okay, here is version 0.0.1 Download zip -> http://divingmules-repo.googlecode.com/f...-0.0.1.zip

If no problems or request, I'll see about getting this added to the repo in a few days.
Installed and absolutely awesome. You've automatically made my XBMC addon experience 20% more fantastic.

Two noteworthy items.

First, it looks like the videos don't come with descriptions. At least in the html, there's a div class="episodeDescription" that might be useful. (Actually on the page I'm looking at it's <div class="small episodeDescription"> I don't know what the "small" class is for.) I'm not sure how easy it would be to parse that. There's also metadata in the html description that reads (for e.g.) <meta property="og:description" content="The cast of Red vs. Blue lays down essential survival tips for navigating the internet.">


Second, the Red vs. Blue category appears to have both Red vs. Blue videos and videos from all the rest of the site. I'm not sure if that's a site problem or not.

Regardless, this is awesome, and I want to thank you a TON for your work.

Edit: Upon review, I think I know what's going on in the Red vs. Blue category. Each category actually has three tabs of video links: "Trending" "newest" and "<category>". For some reason, while all the other categories default to the <category> tab, the Red vs. Blue category defaults to "Trending," so the actual page to parse is http://roosterteeth.com/archive/?id=5179&v=more where "v=more" is the crucial bit, rather than "v=trending." That should provide links to seasons 1 through 10 along with a default display of 'all.'
(2012-06-26, 04:58)natethomas Wrote: [ -> ]Installed and absolutely awesome. You've automatically made my XBMC addon experience 20% more fantastic.

Great!

(2012-06-26, 04:58)natethomas Wrote: [ -> ]First, it looks like the videos don't come with descriptions. At least in the html, there's a div class="episodeDescription" that might be useful. (Actually on the page I'm looking at it's <div class="small episodeDescription"> I don't know what the "small" class is for.) I'm not sure how easy it would be to parse that. There's also metadata in the html description that reads (for e.g.) <meta property="og:description" content="The cast of Red vs. Blue lays down essential survival tips for navigating the internet.">

Yeah, that is only for the currently playing video. There doesn't seem to be any kind of description for the listed videos.


(2012-06-26, 04:58)natethomas Wrote: [ -> ]Second, the Red vs. Blue category appears to have both Red vs. Blue videos and videos from all the rest of the site. I'm not sure if that's a site problem or not.

Regardless, this is awesome, and I want to thank you a TON for your work.

Edit: Upon review, I think I know what's going on in the Red vs. Blue category. Each category actually has three tabs of video links: "Trending" "newest" and "<category>". For some reason, while all the other categories default to the <category> tab, the Red vs. Blue category defaults to "Trending," so the actual page to parse is http://roosterteeth.com/archive/?id=5179&v=more where "v=more" is the crucial bit, rather than "v=trending." That should provide links to seasons 1 through 10 along with a default display of 'all.'

This is very strange, I can't reproduceHuh When I select the Red vs. Blue category, I get the list of seasons. In the xbmc.log
Code:
07:23:19 T:216  NOTICE: -->Python Interpreter Initialized<--
07:23:19 T:216  NOTICE: Mode: 1
07:23:19 T:216  NOTICE: URL: http://roosterteeth.com/archive/?sid=rvb&v=more
07:23:19 T:216  NOTICE: Name: Red vs. Blue

Is this where your getting "v=trending" ?

If so editing the get_shows function to something like this should work.
Code:
def get_shows():
        shows = eval(cache.cacheFunction(cache_shows))
        for i in shows:
            if 'v=trending' in i[1]:
                i[1] = i[1].replace('v=trending','v=more')
            addDir(i[0], base+i[1], 1, i[2])

Thanks for helping debug. Any ideas for fanart?
Heh. Of course now I can't reproduce either. Stupid ghosts!

For fanart, there's always http://thetvdb.com/?tab=series&id=78896&lid=7

or any of these. http://www.themoviedb.org/search?query=red+vs+blue
Okay, cool I guess Smile Let me know if it happens again.

This was fun to develop, and I enjoy the content. Thanks for the request.
Thanks for the dev!
Thanks, been a sponsor of roosterteeth's since 2006, glad to see some integration
props to the team. Now XBMC plugins are introducing me to online content once again (I had never heard of Rooster Teeth).

I already like it better than Funny or Die (that plug in needs some help)

Great job!
(2012-06-28, 01:43)fritzboyle Wrote: [ -> ]props to the team. Now XBMC plugins are introducing me to online content once again (I had never heard of Rooster Teeth).

I already like it better than Funny or Die (that plug in needs some help)

Great job!
seriously, you never heard of Red vs Blue?

wow, guess I took that show for granted
This is awesome and works great! Thanks a bunch!
Works great. Thanks for making this!!
Pages: 1 2