As promised a more detailed write-up of what all this experimentation was good for:
Radbox is a video bookmarking site that lets you save your online videos for later viewing. It works similar to Instapaper - hit their
bookmarklet on any video site, it will recognize the video and push it to their system. Log in later and you can see all your bookmarked videos. The cross-platform use makes this superior to using any single platform's watch-later functionality.
I've used Radbox for a few months now and love it, but one thing's missing - getting those video's into XBMC instead of just on my desktop. Doing that would make it the XBMC equivalent of Boxee's awesome
queue function. Sadly Radbox doesn't have its own XBMC add-on yet and I haven't seen any dev interest in doing one, so this is the best solution in the meantime.
The WatchMeLater add-on by Popeye searches the descriptions in an RSS feed for links to YouTube or Vimeo, pulls out their video ID's and pushes these to the (previously installed) YouTube and Vimeo plugins on XBMC. Radbox has an
mRSS feed, but not in the right format for WatchMeLater to parse. That's where Yahoo Pipes comes in - it pulls in the Radbox RSS, changes it up a bit, and the result is ready for WatchMeLater.
Radbox outputs the video's like this:
Code:
<item>
<pubDate>Mon, 14 Feb 2011 20:26:38 EST</pubDate>
<title>Gareth Pearson - Paranoid Android (Radiohead) - Solo Acoustic Guitar</title>
<link>http://radbox.me/watch/video/36577</link>
<guid>http://radbox.me/watch/video/36577</guid>
<description>Paranoid Android (Radiohead) arrangement by Gareth Pearson on his CD "Urban Echoes Vol 1" available at http://www.candyrat.com amazon.com, and itunes
Visit Gareth Pearson at http://www.myspace.com/garethpearson and http://www.garethpearson.com/</description>
<media:title>Gareth Pearson - Paranoid Android (Radiohead) - Solo Acoustic Guitar</media:title>
<media:description type="html">Paranoid Android (Radiohead) arrangement by Gareth Pearson on his CD "Urban Echoes Vol 1" available at http://www.candyrat.com amazon.com, and itunes
Visit Gareth Pearson at http://www.myspace.com/garethpearson and http://www.garethpearson.com/</media:description>
<media:thumbnail url="http://i2.ytimg.com/vi/QiC35isSciM/hqdefault.jpg" width="160" height="120" />
<media:content url="http://www.youtube.com/v/QiC35isSciM?version=3" type="application/x-shockwave-flash" medium="video" width="640" height="480" />
</item>
Note that this links to the Radbox page for the video, but still has the original video url in the media:content tag.
That's good, because WatchMeLater wants it to look like this (Actually, this is just a guess. Correct me, Popeye?):
Code:
<item>
<title>Gareth Pearson - Paranoid Android (Radiohead) - Solo Acoustic Guitar</title>
<description><a href="http://www.youtube.com/v/QiC35isSciM?version=3">Gareth Pearson - Paranoid Android (Radiohead) - Solo Acoustic Guitar</a></description>
</item>
So I've setup Yahoo Pipes to build a hyperlink from the URL in media:content.url and put it in the description. That Pipe is running here:
http://pipes.yahoo.com/pipes/pipe.info?_...481c153b21
As the resulting RSS URL from the Yahoo Pipe is so big I run it through TinyURL to get something I can easily enter on XBMC through a remote, and that's all there is to it.
And voila, my Radbox videos ready to be played on the XBMC bigscreen:
Limitations:
- Only newest 20 items in the Radbox RSS feed
- Currently depends on Yahoo Pipes, so slow to update (once every 30m?)
- Currently only supports YouTube and Vimeo. That's probably the mainstay of watched video's though
- RSS only so no API connection back to radbox, and no way to archive/favorite/delete from the XBMC interface
- Yahoo Pipes sometimes chokes on the Radbox RSS and stops parsing, giving you an empty feed. Not sure yet what causes it, but it goes away if you remove the offending video in Radbox...
Stuff I'd like to try in a Radbox oriented fork (would love Popeye's help on that?):
- Getting the video ID directly from Radbox's RSS (media:content.url) to remove the slow Pipes from the chain
- Getting more video details like description (media:description) and thumbnail (media:thumbnail.url) from that same RSS
- Adding more video sites that are supported by both Radbox and installed XBMC add-ons.