my notes online

home tags

Squeezebox and Spotify

31 Aug 2010

What is Spotify?

Spotify is an ingenious solution to stream music, so it would be great if it could be used with the Squeezebox - and it is actually possible using the Spotify Premium Plugin for Squeezebox Server. Spotify offers you legal and free access to a huge library of music. All you need to do is create an account and download our streaming music player.


The Install Procedure

  1. Make sure you have a running >7.5.x Squeezebox server
  2. Select the Spotify plugin from the recommended 3rd party plugin list and then click apply as per normal plugin installation
  3. Ensure the server has restarted
  4. Go to the Plugin, Settings page for "Spotify" either via the advanced menu or from the plugin page
  5. Read and agree the Spotify restrictions, then add your username and password to the settings page.
  6. If you refresh the settings page a couple of times you should see that a "helper app" is running and it is logged into Spotify. If not there may be an error to help...
  7. Go to the "radio" menu on one of your hardware players and you should be able to browse and play tracks from Spotify.

Spotify / Linux Adjustment

The binary files included in the plugin include the Spotify library libspotify and a closed source application built around this. This is 32-bit only so on 64-bit linux you'll need ia32-libs installed. For both 32-bit and 64-bit machines you will need installed (usually in flac or libflac packages of your distro) and (usually in libogg packages of your distro).

I experienced a few problems on Debian lenny, so I copied the shared objects from my Ubuntu). Using ldd to reveal any problems:

x2q@x2q:/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux$ ldd spotifyd =>  (0xffffe000) => /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux/ (0xf7cc5000) => /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux/ (0xf7c75000) => /lib32/ (0xf7b1b000) => /lib32/ (0xf7b11000) => /lib32/ (0xf7aed000) => /lib32/ (0xf7ad6000) => /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux/ (0xf7acf000)
    /lib/ (0xf7fdf000)

Debian, Linux, Spotify, Squeezebox, and Ubuntu

comments powered by Disqus