PDA

View Full Version : How To: Remote Spotify streaming


bartsidee
February 22nd, 2011, 07:31 AM
Well I discover that it is possible to stream audio with spotify to boxee. As there is a demand for a spotify app, this could be a first start. It is a client setup streaming from another active computer/laptop. So no native support, but maybe enough for most people. You will need a seperate laptop/computer with spotify installed on it, this guide is for windows computer/laptop users. It does not matter which platform of boxee you uses. It would require the following steps:

1. Download (http://code.google.com/p/dsbridge/downloads/detail?name=dsbridge-20090727-bin.zip&can=2&q=) dsbridge.
2. Extract the dll file into the following folder:
- X86 C:\Windows\system32\Macromed\Flash
- X64 C:\Windows\SysWOW64\Macromed\Flash
3. Get (http://www.rarewares.org/dancer/dancer.php?f=292) lame_enc.dll and also put it in the same folder.
4. Restart Spotify - and start playing a track (I put the volume to zero in Spotify), you sheeld see a blue dot in the system tray.
5. For testing you can open the url: yourcomputerip:8124 in mediaplayer, you should hear the music (make sure Spotify volume is set to 0)
6. Now puplish the following xml rss file on a server (you can use for example dropbox):

<?xml version="1.0"?>
<rss version="2.0" xmlns:boxee="http://boxee.tv/rss" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Spotify</title>
<link>rss://yourweburl</link>
<description>Stream spotify from your local computer</description>
<language>en-us</language>

<item>
<guid>http://yourspotifyip:8124</guid>
<title>Start Playback</title>
<link>http://yourspotifyip:8124</link>
<boxee:media-type type="musicvideo" expression="full" name="Spotify"/>
<boxee:image url="http://www.spotify.com/wp-content/themes/spotify/images/header/logo.png"/>
</item>
</channel>
</rss>

Make sure you change 'yourspotifyip' to the local ip of the computer with spotify installed and change 'yourweburl' to the url where youre rss file is situated. You can also adjust other values if you want

7. Now go to 'http://www.boxee.tv/feeds'
8. Add a new feed with the adress of your just created spotify feed
9. Now open the rss app in boxee and you should be hearing your current audio track on spotify.

Controlling spotify should still be done from your laptop/computer, it just forwards the audio. For mac you might try NiceCast (http://www.rogueamoeba.com/nicecast/) instead of DsBridge, the principle remains the same.