[request] Roosterteeth.com addon
#1
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.

#2
This looks like it might be fairly easy, if nobody else is interested, I'll see what I can put together.
#3
By all means!
#4
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.
#5
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.
#6
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.'
#7
(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?
#8
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
#9
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.
#10
Thanks for the dev!
#11
Thanks, been a sponsor of roosterteeth's since 2006, glad to see some integration
Image
#12
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!
Peace,
Fritz Boyle

NVIDIA Shield
#13
(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
Image
#14
This is awesome and works great! Thanks a bunch!
#15
Works great. Thanks for making this!!

Logout Mark Read Team Forum Stats Members Help
[request] Roosterteeth.com addon1