Play Last.fm Radio Streams in your Music Player
Last.fm does not offer an obvious option to play music streams in an external music player. It is however possible to obtain the stream url for several radio streams from last.fm and use them in your favorite music player. This is also an excellent opportunity to record those songs using that player. I do recommend XMPlay for this.
You need to do the following to obtain the stream information: The first step would be to compute the MD5 sum of your password. You can do that at rednoize for example. Once you got that information you copy and paste the following url into your browser, edit the two variables username and password and hit enter. (one line of course)
The important part of the few lines of text that appear is the one beginning with session=
Remember that part and go to the last.fm homepage. What you need to do know is to seek for something that you want to listen to. We need to create a last.fm:// url that we need later to tune in. Some examples:
You can basically just add an artistname, tag or username to that url. To tune in we need to open another url that looks like this:
The SessionID is the one that you got from the first url while the last.fm URL is the one that you got from the above examples. A valid one would look like this:
If the response is ok the text in the browser will say so otherwise it will say failed.
Open your favorite music player and open the url http://18.104.22.168:80/last.mp3?Session=
To sum it up again:
1. Go to Rednoize and look up your mp5 sum of your password
2. Open http://ws.audioscrobbler.com/radio/handshake.php?version=1.1.1&
3. Create a last.fm:// url
4. Open http://ws.audioscrobbler.com/radio/adjust.php?session=
5. If the response is ok load the stream url from the first browser response in your music player.