Just got Spotify playing on my Pi using SqueezePlay and Logitech Media Server . I am running it headless and using the nice Android app from logitech to remote control it. Only (major) issue is that after a while it starts to stutter heavily, I will look into this when I get some more time.
To get this setup up and running you need the Debian armel distro, _NOT_ the debian armhf as the Spotify plugin is binary and built for armel.
So head over to the download section and get the Soft-float Debian “wheezy” and put it on a SD card, boot it up and do the initial setup like upgrading the config and expanding the root image.
Next download logitechmediaserver_7.8.0~1343433580_all.deb from here. Install it using
After installation the server will start, but it takes like a minute before its ready. Direct a browser to the ip of the Raspberry Pi using port 9000 eg. http://192.168.100.95:9000.sudo dpkg -i logitechmediaserver_7.8.0~1343433580_all.deb
Click on settings in the lower right corner. Navigate to addons, disable the official Spotify plugin and enable the 3rd party Spotify plugin from Triode. Next restart the server making the changes effective. Locate the Spotify plugin in the settings again and click on the settings link to right of the plugin. Accept the disclaimer, proceed to setup where you enter device username and password and select the right country. Apply the changes and click the test button. If everything is correct you'll see some lovely "pass".
Now you should have the server running and Spotify enabled. You can test it with a SqueezePlayer on a windows box or such.
Next you must download and compile the SqueezePlay for the RPi.
sudo apt-get install the following packages:
Checkout the sources
remove -Werror from squeezeplay/src/squeezeplay/configure.in or else you'll have to deal with these to errors which I haven't had the time to look into:
src/audio/decode/decode_portaudio.c:213:16: error: cast increases required alignment of target type [-Werror=cast-align]
src/audio/decode/decode_portaudio.c:214:16: error: cast increases required alignment of target type [-Werror=cast-align]
In squeezeplay/src/squeezeplay/Makefile.in line 358 in add -logg to the line:
jive_alsa_LDADD = libaudio.la -lasound -logg
Finally build SqueezePlay (takes 1-2hours):
When finished start the x server:make -f Makefile.linux
Follow the setup instructions on the screen where you have X running. When done you can test radio and spotify and so on.startx&[/code]
and start the SqueezePlaysudo /squeezeplay/build/linux/bin/jive
Now download the Android Squeezebox app and you can now remote control the system.