I have tried to install spotimc in XBian but it did'nt work. How can I play spotify in XBMC? /Cheers
6 Answers
It is, libspotify, now avaliable as a beta from https://developer.spotify.com/technologies/libspotify/
You will need to install libasound2-dev and libreadline-dev to be able to compile it though.

- 161
- 3
-
To compile the samples that is. The library itself is precompiled – kmpm Mar 08 '13 at 08:21
This is not yet possible. The first spotify clients for the Raspberry Pi are likely to be based on libspotify
, but according to Can I install `libspotify` on Raspbian? and armhf Spotify library for DIY projects, it has not yet built for hard-float.

- 15,530
- 14
- 67
- 113
-
-
@Jivings That should be "It should be technically possible, but no one in their right mind would do it." – Alex Chamberlain Jan 14 '13 at 07:55
Ben Delarre has written a post on setting up Spotify on his Xbian XBMC@RaspberryPi distro. He tried two alternatives, one using the Spotimc XBMC add-on and another using Mopidy. Mopidy is more of a stand-alone spotify server and is controlled remotely, e.g. via a client on your Android phone.
Spotimc is controlled via XBMC and as such requires you to have your TV/monitor turned on---at least until a remote is developed that can control. From what I can tell it was first published on the RaspBMC forums, but seemed like it worked for Xbian as well.
Mopidy required some adjusting of the XBMC installation in order to resolve library conflicts after Mopidy installation. The adjustments were simple (adding a single line in the XBMC config/path), but this may still require you to do further maintenance in later updates.
From what I can tell, both solutions employs the libspotify library already mentioned by Peter. They are also both implemented in python, and it seems the Mopidy guys has even written python bindings for libspotify, available separately on github. This might be a good starting point for others, if Mopidy does not fit their particular use-case as-is.
Links:
- http://docs.mopidy.com/en/latest/installation/raspberrypi/ (installation instructions for mopidy)
- https://github.com/mopidy/ (Mopidy's github repo, including separate python bindings for libspotify)
- http://forum.stmlabs.com/showthread.php?pid=50586#pid50586 (Spotimc at the RaspBMC forum)
- http://superrepo.org/script.audio.spotimc/ (Spotimc script)
The easiest way to get music from Spotify to your Raspberry is with Pi MusicBox. That is a ready-to-go distribution based on raspbian that incorpoporates a pre-configured
- http://mopidy.com/
- that comes along with a Spotify plugin (mopidy-spotify)
- and lets you browse/search Spotify using a web interface
You need a Spotify premium account for this setup.

- 111
- 1
Spotify is not available for ARM architecture which basic for Raspberry. But you can run x86 apps on ARM using emulators.
This is a link on step-by-step instruction to run Spotify using ExaGear Desktop emulator.

- 147
- 4
I suppose it depends on what you're trying to do. Does this URL help?

- 101
- 1
-
Please don't give link answers. It is bad style. Explain the link, don't give it. Then you can link. – xxmbabanexx Apr 05 '13 at 17:26
-
sorry no. As stated I have Xbian's XBMC installed, would love an ap in that software that could connect to Spotify! – Christian Apr 06 '13 at 22:11