Kodi Community Forum
[WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Kodi related discussions (https://forum.kodi.tv/forumdisplay.php?fid=6)
+--- Thread: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) (/showthread.php?tid=67012)



- gazwest - 2010-02-04

topfs2 Wrote:Compile it yourself if your desperate, the code is available, our give the developer some room to work.
Sorry Mr. Grumpypants.

He said a new release would come out, and it didn't. I understand that nagging him won't make him work any more efficently or faster. Alas topfs2, I'm sorry i almost broke the internet with my nagging.


- pucko - 2010-02-07

gazwest Wrote:Sorry Mr. Grumpypants.

He said a new release would come out, and it didn't. I understand that nagging him won't make him work any more efficently or faster. Alas topfs2, I'm sorry i almost broke the internet with my nagging.

Please don't kill great development efforts with nagging or justification of nagging, especially it is quite "not clever" to call one of the lead developers names...
Great work akezeke, please keep it up. Looking forward to se the fruits of your labour in the trunk....


- Shank - 2010-02-09

pucko Wrote:Please don't kill great development efforts with nagging or justification of nagging, especially it is quite "not clever" to call one of the lead developers names...
Great work akezeke, please keep it up. Looking forward to se the fruits of your labour in the trunk....

ANyone who can provide step-by-step instructions to compile the code to run this?


- theophile - 2010-02-09

Shank Wrote:ANyone who can provide step-by-step instructions to compile the code to run this?

Give this a try:

http://github.com/akezeke/spotyxbmc/blob/master/README

I'm about to give it a go myself. Will let you know how it goes.


- calmdown - 2010-02-09

Hi!
I have never compiled anything at all before, and this seemed like small enough project to get started with.
Feel free to tell me if something is completely wrong, and hopefully this will help someone with their quest for xbmc perfection Smile

Here we go (this guide will hopefully compile and install the linux version of xbmc)


0. If you do not have git installed you have to install it, i'm not gonna go in to that here,
but it starts with something like:
Code:
# sudo apt-get install git-core
Don't remember if it works with that out of the box, you will have to experiment.
(Here is some info on setup for github: http://help.github.com/linux-key-setup/)

1. Go to a folder of your choice, preferably something that is empty that you can toy around in

2. Download openspotify:
Code:
# sudo git clone git://github.com/noahwilliamsson/openspotify.git

3. Get a few dependencies to be able to build openspotify:
Code:
# sudo apt-get install libssl-dev libvorbisfile3 zlib1g-dev

4. go to openspotify/libopenspotify folder and Build it:
Code:
# make clean all

5. Download xbmc source:
Code:
# sudo git clone git://xbmc.git.sourceforge.net/gitroot/xbmc/xbmc

6. Get the spotyxbmc source from http://github.com/akezeke/spotyxbmc

7. Replace the files in your downloaded xbmc source with the ones from spotyxbmc
(The files are spotyxbmc.diff and the xbmc folder, just copy them to your downloaded xbmc source folder)

8. Get the build dependencies to be able to compile xbmc on your box:
Code:
# sudo apt-get build-dep xbmc

9. go to xbmc download folder and Bootstrap:
Code:
# ./bootstrap

10. Configure:
Code:
# ./configure --disable-pulse

11. Open Makefile in a texteditor:
Code:
# sudo nano Makefile

12. Scroll down until you see a line starting with LIBS=-lXrandr, to the end of that line add:
-lopenspotify

13. Request your own appkey from spotify: http://developer.spotify.com/en/libspotify/application-key/

14. Copy the key from the c-code link, and paste it where it says so in spotinterface.cpp
Code:
# sudo nano xbmc/spotinterface.cpp

15. make! and wait for it:
Code:
# make

16. make install
Code:
# sudo make install

note that "make install" installs xbmc to default location, if you want to override use something like:
Code:
# sudo make install PREFIX=$HOME/xbmc

I have yet to try step 16, so i really don't know if i've done everything right, that is basically why I'm posting this here, to get some feedback.

Note that everything i typed here was found in the various readme's for the different applications, so no space-science, this is just to sum it up a little.

Thanks.

EDIT: Forgot a step with replacing files..


- akezeke - 2010-02-09

Hi!

Now there are some good news in here http://spotyxbmc.tumblr.com/

/David


- Shank - 2010-02-10

akezeke Wrote:Hi!

Now there are some good news in here http://spotyxbmc.tumblr.com/

/David

Followed the instructions. Rebooted. Now XBMC Live goes directly to tty1 prompt on start-up, help?


- pettson3816 - 2010-02-10

akezeke Wrote:Hi!

Now there are some good news in here http://spotyxbmc.tumblr.com/

/David

Works fine here with Win Vista x32, except for some tracks being "not playable" or something like that. I want to thank you in your efforts making this possible though!

Is it somehow possible to use the latest nightly XBMC build AND this Spotify module together?


- flitclicker - 2010-03-18

Apologies for utter noobity, is this something that's at all possible running XBMC on an XBox1?


- nianhbg - 2010-03-22

Wow I tried this in windows 7 prof 32-bit. And I works quite well. Great work thank you Smile


- tuffysan - 2010-04-07

I have problems getting spotify to work in xbmc under Ubuntu 9.10

I installed libspotify 0.0.3 and ran the installation script from spotyxbmc.
But when I start xbmc I get a popup saying: "spotify client to old".
I have tried to press yes for updating it but, the popup just keeps comming and spotify doesn't work.

Anyone knows why this is happening and how I can fix it ?


SpotyXBMC for Mac - pmbsa - 2010-04-07

Hi, hope this isnt an inane question but is there any sign of getting this running on the mac version?

thanks
Paul


- Khendon - 2010-04-10

Shank Wrote:Followed the instructions. Rebooted. Now XBMC Live goes directly to tty1 prompt on start-up, help?

Yes, have the same problem, follwed the guide at page 7 in this thread
http://forum.xbmc.org/showpost.php?p=496126&postcount=69
still no luck, just getting TTY1 login


- roo2000 - 2010-04-20

flitclicker Wrote:Apologies for utter noobity, is this something that's at all possible running XBMC on an XBox1?

Don't worry I'm a noob too and hoping for an answer to the same question. :o


- dbthedon - 2010-04-23

Have been using this for a good while now with great success untill today. I am now getting.

Disconnected : Client is too old, Library will need to be updated. Connect?

When i click connect nothing happens?

Any ideas how i can manually update the library or client ?