Wednesday, February 23, 2011

Wireless streaming from Spotify to PS3

After many hours trying to get wireless streaming from Spotify to Playstation 3, I finally found a working solution on Linux (ubuntu).

My setup:

I used the solution described in this blog.

But I failed miserable with only streaming the echoes of silence...

Then I found another Spotify streaming blog post, only this time for squeezebox.

This inspired me to try the same trick creating a PulseAudio null-sink.

pactl load-module module-null-sink sink_name=spotify

Setting the sound output to the new sink:

install the lame encoding library to be able to stream mp3:

sudo aptitude install gstreamer10.0-plugins-ugly-multiverse

make sure icecast is running

/etc/init.d/icecast2 start

and then fire up a mp3 stream:

gst-launch-0.10 pulsesrc device=spotify.monitor ! audioconvert ! lame bitrate=320 mode=stereo ! shout2send ip=localhost port=8000 password=PASSWORD mount=spotify.mp3

I then added the following line to my WEB.conf in the ps3mediaserver root folder:


Now start up your PS3 and PS3 Media Server. On your PS3 go to the 'Audio' section, select 'PS3 Media Server', Web-folder and Spotify. Be patient it takes a couple of seconds before it starts.


  1. Brilliant, worked first time. Thanks :)

  2. Not easy to find this but worked at first try. Thanks

  3. Thank you so much for posting this. Works perfectly!