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)



- akezeke - 2011-10-14

vurtual Wrote:I'm so sorry, I've had a reasonable look through some of the 60 or so pages here for help but I am stuck right from step 1.

I am running Dharma on Vista Home Premium. I've had a look at the instructions for Windows install, but I'm totally stuck on steps 1 and 3.

1: Obtain spotyXBMC2 source Use your favorite git tool to clone the repo: git://github.com/akezeke/spotyxbmc2.git
What is a git tool? And what is "clone the repo">

3: Build Follow a guide from XBMC.org and build it yourself, if you are not using the Win32BuildSetup util make sure that you copy libspotify.dll to your XBMC install location.
I'm not certain I understand a word of this! I think I need to find a guide somewhere on XBMC.org on how to build the installer file, but I've tried and I can't find it Sad

I hope someone can help me, or at least point me in the right direction for help. I've even trawled through some of github's help but I just have no idea what I'm looking for.

On the flipside, I am good at simplifying complex instructions, perhaps I could try and construct a simple how to once I have understood it myself

Please use your favorite Internet search engine (http://www.google.com) to solve problems like this. This thread should be about the spotyxbmc implementation and I'm 100% sure that you can find out what you need to follow the guides with information that already exists on the web.

http://en.wikipedia.org/wiki/Git_%28software%29
http://code.google.com/p/tortoisegit/
http://wiki.xbmc.org/index.php?title=Git_Usage_Windows

/David


- vurtual - 2011-10-14

Ok, I'll keep trying!


- KRKA01 - 2011-10-15

vurtual Wrote:I'm so sorry, I've had a reasonable look through some of the 60 or so pages here for help but I am stuck right from step 1.

I am running Dharma on Vista Home Premium. I've had a look at the instructions for Windows install, but I'm totally stuck on steps 1 and 3.

1: Obtain spotyXBMC2 source Use your favorite git tool to clone the repo: git://github.com/akezeke/spotyxbmc2.git
What is a git tool? And what is "clone the repo">

3: Build Follow a guide from XBMC.org and build it yourself, if you are not using the Win32BuildSetup util make sure that you copy libspotify.dll to your XBMC install location.
I'm not certain I understand a word of this! I think I need to find a guide somewhere on XBMC.org on how to build the installer file, but I've tried and I can't find it Sad

I hope someone can help me, or at least point me in the right direction for help. I've even trawled through some of github's help but I just have no idea what I'm looking for.

On the flipside, I am good at simplifying complex instructions, perhaps I could try and construct a simple how to once I have understood it myself

Try this guide:
http://forum.xbmc.org/showpost.php?p=882046&postcount=530

//Krister


- Varazir - 2011-10-15

Is there any plans to release this as a addon ?


- pettson3816 - 2011-10-15

Varazir Wrote:Is there any plans to release this as a addon ?
Not in the near future as i understood. There is a plugin for Boxee though if You're really desperate. Smile


- Varazir - 2011-10-15

pettson3816 Wrote:Not in the near future as i understood. There is a plugin for Boxee though if You're really desperate. Smile

ya I was thinking of installing boxee on my HTPC alongside XBMC.

why I feel this isn't a solution for me
1. I don't like to compile on my HYPC
2. I need to setup a system that I can compile the source and create a deb pkg that I can use to install it on my HTPC
3. I haven't that much luck compiling stuff, all way's some errors Sad

I know no 2 can be done, in a virtual machine running ubuntu. Haven't taken my time time to set it up yet.


- Varazir - 2011-10-16

Grrr I hate compiling... I do as it say in the readme.linux but ./bootstrap fails with configure.ac:46: error: possibly undefined macro: AC_LTDL_SHLIBEXT
if this token and other legitimate, please use m4_pattern_allow .
see the Autoconf documentatio.
configure.ac:47: error: possibly undefined macro: AC_LTDL_*
configure.ac:48: error: possibly undefined macro: AC_LTDL_*
configure.ac:49: error: possibly undefined macro: AC_LTDL_*


- akezeke - 2011-10-16

Varazir Wrote:Grrr I hate compiling... I do as it say in the readme.linux but ./bootstrap fails with configure.ac:46: error: possibly undefined macro: AC_LTDL_SHLIBEXT
if this token and other legitimate, please use m4_pattern_allow .
see the Autoconf documentatio.
configure.ac:47: error: possibly undefined macro: AC_LTDL_*
configure.ac:48: error: possibly undefined macro: AC_LTDL_*
configure.ac:49: error: possibly undefined macro: AC_LTDL_*

You are probably missing some dependencies or using the wrong version, a quick search resulted in this, might be helpful.

http://forum.xbmc.org/showthread.php?tid=102398&highlight=AC_LTDL_SHLIBEXT


- Varazir - 2011-10-16

akezeke Wrote:You are probably missing some dependencies or using the wrong version, a quick search resulted in this, might be helpful.

http://forum.xbmc.org/showthread.php?tid=102398&highlight=AC_LTDL_SHLIBEXT

Thanks, I tried to search in this thread and didn't find anything


- Varazir - 2011-10-16

Now I get this when I run make -j2

Code:
In file included from music/spotyXBMC/Addon.music.spotify.h:25:0,
                 from Application.cpp:23:
music/spotyXBMC/track/SxTrack.h:26:28: fatal error: libspotify/api.h: No such file or directory
compilation terminated.
make[1]: *** [Application.o] Error 1
make[1]: Leaving directory `/home/varazir/xbmc/xbmc'
make: *** [xbmc/xbmc.a] Error 2
make: *** Waiting for unfinished jobs....
CPP     AddonDatabase.o
CPP     AddonInstaller.o
CPP     AddonManager.o
CPP     AddonStatusHandler.o
CPP     AddonVersion.o
CPP     GUIDialogAddonInfo.o
CPP     GUIDialogAddonSettings.o
CPP     GUIViewStateAddonBrowser.o
CPP     GUIWindowAddonBrowser.o
CPP     PluginSource.o
CPP     Repository.o
CPP     Scraper.o
CPP     ScreenSaver.o
CPP     Service.o
CPP     Skin.o
CPP     Visualisation.o
AR      addons.a
make[1]: Leaving directory `/home/varazir/xbmc/xbmc/addons'



- vurtual - 2011-10-17

Thanks KRKA01, that looks potentially manageable.


- coendeurloo - 2011-10-17

pettson3816 Wrote:Not in the near future as i understood. There is a plugin for Boxee though if You're really desperate. Smile

Is there any way to run boxee (which now has spotify support) next to xbmc? My guess is that would be about a thousand times easier than to succesfully execute this guide if you're not into the whole compiling thing...


- Bendecks - 2011-10-19

coendeurloo Wrote:Is there any way to run boxee (which now has spotify support) next to xbmc? My guess is that would be about a thousand times easier than to succesfully execute this guide if you're not into the whole compiling thing...

As it is now, that Spotify app is only available if you have a Boxee box, not on Windows.


- Bendecks - 2011-10-21

Akezeke, Eden has binary support, right? If yes, are you thinking of doing a native addon?


- akezeke - 2011-10-21

Bendecks Wrote:Akezeke, Eden has binary support, right? If yes, are you thinking of doing a native addon?

No it does not, take a look here
  • Extend Addons API to support completley binary / proprietary (closed source) addons and media players

Is not even in the 12.0 milestone, its still in future / pending, if there where binary addon support in eden I would have created spotyxbmc2 as an addon from the beginning.

/David