Twune: Tweet your tunes

A while back a spent a little time creating a simple service that allows tune-tweeting with legible, short URL. For example, twune.net/DioDiver will play Holy Diver by Dio. And twune.net/BeatlesHand will give you The Beatles’ I Want To Hold Your Hand.

The scheme was inspired by some of the cool work that Morten Just has been doing by mashing up YouTube videos with different data sources — and I was happy Morten let me re-use some of his code.

The service works by parsing the search string from the url (using WikiWords or whatever you’d call them). It then tries to find a perfect match on Yahoo! Music which will be played in Yahoo’s video player. If that doesn’t work, the search is passed on to YouTube with the help of Morten’s player. It’s that simple.

The name of the service was suggested by @guan. I had originally wanted to call it Twack. Still unsure which is best?

4 Responses to “Twune: Tweet your tunes”

  1. Claus Says:

    Twune is definitely better

  2. Mikker Says:

    Something like kinda already exists:
    http://tinysong.com/1e2s. Without the ads too.

    Still – nice work.

  3. phoenix Says:

    I really liked this application! I was wondering if there is anyway you could post the code for this? I am just getting started with google appengine and I’ve always wanted to make an online music player. I appreciate your help in this regard. Thanks much!

  4. Steffen Tiedemann Christensen Says:

    Hey pheonix,

    In fact Twune isn’t based on Google AppEngine (yet anyway). It’s a pretty basic PHP project I did a while back. Twune uses two different methods for playing song: First we relay the search to Yahoo! Music API using nothing by Yahoo’s own player — so that’s really simple. If Yahoo doesn’t have a music video to play, Twune falls back to a YouTube search (possibly based on extra information about the song retrieved from Yahoo). The YouTube player is based on some code written by Morten Just and I’m not sure I’ll be able to share.

    Moving it to AppEngine? Yes, I really should do that — and when I do I’ll also put the code on github. ;-)

Leave a Reply