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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: XBMC General Discussion (/forumdisplay.php?fid=6)
+--- Thread: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) (/showthread.php?tid=67012)



- zteifel - 2010-11-09 18:26

when i try my compiled version of dharma beta4 with spotify support i cant get movie or music information to work. Everytime i try to get movie information, either manual or by adding a folder to the library i get segmentationfault with nothing about the incident in the logfile.

Any idea?


- lordmozilla - 2010-11-09 18:29

zteifel Wrote:when i try my compiled version of dharma beta4 with spotify support i cant get movie or music information to work. Everytime i try to get movie information, either manual or by adding a folder to the library i get segmentationfault with nothing about the incident in the logfile.

Any idea?

Are you sure that this is because the spotify patch? Try compiling without. Also try get a backtrace with GDB


- zteifel - 2010-11-09 18:54

both Dharma beta4 compiled from source and from SVN PPA works. After i compiled without spotify the spotify version got broken, i am compiling xbmc with spotify once again to get traceback from gdb.

Thx for your quick answer!


- zteifel - 2010-11-09 19:02

What am I doing wrong now? I compiled again but it still doesnt work.

Code:
zteifel@zzteifel-htpc:~/Dharma_beta4$ ./xbmc.bin
./xbmc.bin: error while loading shared libraries: libspotify.so: cannot open shared object file: No such file or directory

I tried reinstalling libspotify, but that didnt help either. Just to make clear, the only thing you have to do is to "sudo make install" right?


- zteifel - 2010-11-09 20:33

everything appears to have been solved. I downloaded everything once again and complied.

i installed libspotify by "sudo make install prefix=/usr/" instead of "sudo make install prefix=/usr/local"

Thx for helping out


- lordmozilla - 2010-11-10 11:15

zteifel Wrote:Thx for helping out

Well I didn't do much!

Glad you got it working. You must have messed a file up somewhere. `svn st` is always handy to check nothing has been inadvertedly touched!


- scalpel - 2010-11-10 13:17

Why spotify patch isn't default in xbmc? Is this because legal issues?


- lordmozilla - 2010-11-10 13:23

scalpel Wrote:Why spotify patch isn't default in xbmc? Is this because legal issues?

I'm not too sure, libspotify is MIT licensed.

It's possible they want plugins for this kind of thing and don't want to have specific code for services in the main codebase. (although again, last.fm has been in there for a while).


- spiff - 2010-11-10 14:29

yes, it's the way it's integrated we don't like. we'll be providing the necessary extension points in eden. and fyi, yes, this will also rip lastfm from the core.


- topfs2 - 2010-11-10 16:54

lordmozilla Wrote:I'm not too sure, libspotify is MIT licensed.

It's possible they want plugins for this kind of thing and don't want to have specific code for services in the main codebase. (although again, last.fm has been in there for a while).

neither libspotify or openspotify is MIT. Former is spotify's license which isn't really good for bundleing with xbmc (as we can't or won't support certain parts of the EULA)

the latter is BSD.

Finally as spiff says, these problems goes away (kindof) when you can add it as a binary add on