Updated: 28-04-2013, added information on version 4 instead of beta version 3. I reinstalled my PI today with the XBMC (I bricked it yesterday ) And I noticed that some of the things I wrote are out of date
After my previous blog post about the Raspberry Pi I waited for a while before testing something out again with the little device. I did some smaller things like setting up a vpn-connection etc. But no big things anymore, until today.
Today I installed my Raspberry Pi again with the Raspbmc operating system. As some of you might recall, I wanted to install the pi with this OS and use it as my media streamer. I ended up with a total different setup. If you like you can read all about it over here.
The reason that I’m writing today is because I have done some testing and I came to some important conclusions. First of all, my internet connection wasn’t fast enough to deliver the content which I asked before. Secondly, the pi can’t decode DTS, so if you have an active receiver who can do this for you, you should be fine. Otherwise you will still be able to use the pi but you will need to watch out a little bit more.
As I said before, the installation of the Raspbmc OS is very simple, as a matter of fact it’s so simple that it’s not worth writing it down in this tutorial. Please follow the guidelines from the official site.
So what am I going to explain?
Well, how to integrate your Xbmc with Spotify. I’m a dedicated premium Spotify user. I love the way it works, I pay them 10 euro a month and I can stream as much music as I want. I love the model, it’s a fair price.
So, I’ve been searching on the internet for a decent integration between Spotify and xbmc. I noticed that there are some bits and bytes on the internet but that no one explained in a decent tutorial how to do it. And this is exactly what I will tell you today.
Once your Raspberry pi is fully booted and the xbmc is fully loaded we’re going to start by updating it again. Go to program –> Raspbmc Settings -> Nightly and selecting the 05/01/2013 build or later. If you have any issues, such as a ‘relax’ loop, you can revert this via SSH or keyboard with the following command. It will take a while to install, relax, have a coffee and come back.
This is no longer required, the stable has now the utilities etc that we need!
Now we’re ready to install the spotimc add on The best thing you can do is ssh into your device. The username is pi, the password, raspberry. You will be in the home directory once you logon. Next, we will download the add on from this site.
wget https://github.com/downloads/mazkolain/spotimc/script.audio.spotimc-1.0-beta4.zip –no-check-certificate
The –no-check-certificate tells wget to ignore the invalid certificate from github. Otherwise you wont be able to download from their site.
Beta version 1.4 is available now, no need to use version 3 anymore!
Once you downloaded this we can install the add on.
Install it under addons (install from zip).
Once you have installed it you should see the add on popping up into your screen. Wait! Don’t launch it yet! We still need to modify something before we can start it.
You will have to download a modified version of the libspotify for the arm technologie. You can watch it over here (https://developer.spotify.com/technologies/libspotify/). People have been saying that it doesn’t work anymore with the latest version. I’ve downloaded and copied the older version onto this server. You can download the lib from here.
wget http://www.linux-answered.com/download/libspotify.so cp libspotify.so /home/pi/.xbmc/addons/script.audio.spotimc/resources/dlls/linux/armv6/
We don’t have to do this anymore. If we have a look at the changelog from beta3 to beta4 we see that he has added this library hardcoded now!
And that’s it. Very simple actually right? Now you will be able to start this add on. At first it will complain about the old GUI that you’re using. It will download and install (and off course reboot) a new GUI. Once this is done you should be good to go and enjoy music coming out of your Raspberry PI.
Feel free to ask questions if needed!