Notes for getting libspotify to run on a RPi.
sudo apt-get install libasound2-dev
sudo apt-get install alsa-utils
Not completly sure if this was needed but found it in my history. But should allow playback using the rca cable.
amixer cset numid=3 1
Install libspotify.
wget ....
tar -xzf libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release.tar.gz
cd tar -xzf libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release
sudo make install prefix=/usr/local
cd share/doc/libspotify/examples/
Get a app key from Spotify and add it to appkey.c
.
Compile the jukebox example.
cd jukebox
make
Start the jukebox;
./jukebox -u USERNAME -p PASSWORD -l myjukebox
http://jeffskinnerbox.wordpress.com/2012/11/15/getting-audio-out-working-on-the-raspberry-pi/
http://devnews.spotify.com/2013/01/22/libspotify-12-for-hardfloat-armv6-raspberry-pi-beta/