Feb 23

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:

audiostream.Web=Spotify,http://localhost:8000/spotify.mp3

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.

2 Responses to Wireless streaming from Spotify to PS3

Avatar

Jamie

April 27th, 2011 at 09:50

Brilliant, worked first time. Thanks :)

Avatar

sjur

May 11th, 2011 at 21:10

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

Comment Form

Here you will find some of my thoughts and experiments from my daily life of programming and general geeking ;)

Github