Announcements
The Spotify Stars Program: Celebrating Values Week!

Help Wizard

Step 1

NEXT STEP

armhf Spotify library for DIY projects

Me and many others have bought inexpensive ARM based hardware for media center use. Sadly most Linux distributions for these platforms are built with hardware floating point calculation only, and the Spotify library for ARM is software only.

 

Would you be kind enough to compile an armhf version of libspotify for us? Based on the number of orders on the Raspberry Pi platform alone I would expect the potential number of Premium service users of this library to be 100.000+.

Hello! Sorry for the delay on updating this but we’re pleased to announce the beta release of libspotify 12.1.103 for hardfloat armv6, allowing native support for platforms like the Raspberry Pi. You can find more info here: http://devnews.spotify.com/2013/01/22/libspotify-12-for-hardfloat-armv6-raspberry-pi-beta/ Thanks!
Comments
eljolge

Spotify, please,  I want to be able to use Spotify with my Raspberry...

eklem

Seems that those of us that's happy with tinkering, Squeezeplug + Squeeselite seems to have a solution: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=246896#p246896

Moppa

Spotify would be a nice addition to my Rasberry Pi in the livingroom.

vJens

I as well need this for my rpi! It would be so awesome!

JimL

Spotify-guys: I bet you could've made some sort of kickstarter-thing out of this in order to fund the programming time. I would pay a years worth of premium for this feature alone.

polarsun00

I have modified the libspotify.so library, so that it pretends to be an armhf library. Internally it is the same library and uses armel instructions. I have tried some of the Spotify sample apps compiled with armhf on Raspberry Pi and they seem to work fine.

 

Here is the modifed library:

https://dl.dropbox.com/u/60928807/libspotify.so

 

Hope it will be helpful to someone.

dataolle

This works for spotimc on my raspberrypi. Thanks so much!

 

toxaris

How did you get it working?

I have put libspotify.so here:

/opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.audio.spotimc/resources/dlls/linux/arm


But Raspmc just reboots.

 

I have used this installationpackage:

http://forum.stmlabs.com/showthread.php?tid=921&pid=10578#pid10578

reckie

@polarsun00 would you mind sharing exactly how you have modified it, so we build it or do it ourselves without relying on unverified and possibly dangerous binary code from dropbox...? Is this a wrapper that encapsulates the original binary release, if so would you mind sharing source code? Thank you in advance

reckie

I feel the need to update this thread with my findings. I've found that spotimc 1.0-beta3 is actually working for me on raspberry pi with openelec 3.0-RC1. I downloaded the prebuilt ZIP from https://github.com/mazkolain/spotimc/downloads which could be installed using System->Add-ons->Install from zip-file in XBMC in OpenELEC. The md5sum of the libspotify.so included matches that of version 12.1.51 armv6 from spotify so somehow they got it working without having a new binary for hard float.

 

It seems "downloads" link on github was hidden from 11th of december onwards but that exisiting binary  packages are available for 90 days.

 

I guess hard float support would still be nice, to lower CPU usage and make the plugin faster, although it seems possible to get it working without, contrary to what is mentioned earlier in this thread.