BlahBlahBleh – The Simplest Youtube Radio

BlahBlahBlehI’ve written before about how cool a simple youtube based “radio” site would be. What I mean by that is something which does the music programming for you, so you don’t have to choose each song, but instead can just kick it off and leave it running.

Well, I’ve built it and it works wonderfully! It’s called BlahBlahBleh,and it’s at http://www.blahblahbleh.com.

I’ve been threatening to build this for ages, so my family and friends might be glad that this is one less idea that I’ll bog on about at great length. I personally much prefer a realised idea to idea crack.

Just in case it’s not immediately obvious, it works as so: you go to the site, type in a search (a band or song name or combination works best), press “Go!”, and a clip from Youtube matching the search will play. When that clip is done, another clip will play automatic, and so on indefinitely. If you meet any songs you don’t want to hear, just press “skip” and you’ll go to the next one. At any time you can see links to a list of next songs, which is not the next few songs, but is the list from which the next song will be randomly chosen. You also have links to up to the last 3 songs you already heard. Of course, you can also put in a new search to restart the process.

How does this work? Well, the search is sent to the youtube API, and youtube sends back a list of matching clips. I filter this to keep only clips which have the category Music, which have more than a minimum number of views (iirc it’s 10,000 at the time of this writing), and order them by rating (like/dislike score). From this list I choose randomly from the top 5, and play that.,

Then, when it’s time to choose the next song, I ask the Youtube API for the list of related videos for the video just watched, then I filter it again as above (Music, minimum views, sort by rating), and again choose randomly from the top 5. Actually getting the list of top 5 to choose from is done when the previous video starts playing (in the GET handler), and the random choice is made once that video finishes (processed in a POST handler). That give me the chance to present the next videos list to the user while the previous video is playing.

All next songs are chosen as just described. So, BlahBlahBleh will eventually wander away from what you chose initially, sometimes into something annoying (so just search again), sometimes into something new and great, which is always fun!

BlahBlahBleh will be there indefinitely. It’s hosted on Google AppEngine, and currently costs me nothing. If the load ever builds to where I have to start paying for it, I might consider carrying some google ads to defray the cost, or solicit donations, or just wear the cost, depending on how I feel and how much money we’re talking about! Even when Google AppEngine apps start costing money, they’re very cheap, so I’m not too worried.

But it’s not about money. It’s something I’ve built to use myself, and everyone else is also welcome to use it. Also, it’s based in my philosophy that we shouldn’t hoard information. Instead, make it all free, and draw from the commons. BlahBlahBleh is a great example of something which couldn’t exist in a world of purely private silos of music.

So give it a try, and if you like it, then feel free to use it as much as you like. Have fun! Feel free to comment here if you have suggestions, bugs, whatever.

Advertisements
BlahBlahBleh – The Simplest Youtube Radio

One thought on “BlahBlahBleh – The Simplest Youtube Radio

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s