Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I have tried to install spotimc in XBian but it did'nt work. How can I play spotify in XBMC? /Cheers

share|improve this question
add comment

4 Answers 4

up vote 4 down vote accepted

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.

share|improve this answer
    
In the first question your answer says 'It should be possible'. :) –  Jivings Jan 14 '13 at 6:32
    
@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 7:55
add comment

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.

share|improve this answer
    
To compile the samples that is. The library itself is precompiled –  kmpm Mar 8 '13 at 8:21
add comment

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:

share|improve this answer
add comment

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

https://github.com/woutervanwijk/Pi-MusicBox

share|improve this answer
    
Please don't give link answers. It is bad style. Explain the link, don't give it. Then you can link. –  xxmbabanexx Apr 5 '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 6 '13 at 22:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.