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)



- lirojen - 2012-01-17

-


- lirojen - 2012-01-17

Diddleydoo Wrote:Thanks to tsint for helping me to get spotyxbmc2 rocking at my home.
He Wrote a damn good guide using xbmc live to me. With his permission and if anybody wants it i can pm it to you.
And akezeke, keep up the good work!


Please PM me the guide. Thank you


- Sha43Gal - 2012-01-18

I'm not in any way related to or representing spotify Image
Image
Image


- tjep - 2012-01-21

Does this work on Mac at all? Do I have to complie it myself? Any help?

User_ Diddleydoo: Could you PM me the guide that you are using?


- tjep - 2012-01-21

Quote:Originally Posted by Diddleydoo
Thanks to tsint for helping me to get spotyxbmc2 rocking at my home.
He Wrote a damn good guide using xbmc live to me. With his permission and if anybody wants it i can pm it to you.

Could I get a copy, please? Thanks in advance Smile


- stefada - 2012-01-21

could you please mp this guide to me too? thx


- antagon - 2012-01-24

I'd love to have the guide as well.


- thewump - 2012-01-24

Guide pretty please!

K


Compile for ATV2 - Zephyr_blues - 2012-01-27

Rooster77 Wrote:Hi

I'm trying to compile your branch for the ATV2. At the moment I'm at the stage just to have it compile it and runt. To find a solution for starting libspotify is a latter matter.

The compile goes just fine but it seems like there are some linking problems somewhere. The compile itself goes just fine but my ATV2 throws me the following error and refuses to load XBMC to the menu. Does anyone have any ideas where/what to change?

From ATV2 log;
Code:
Dec 28 11:15:17 Apple-TV AppleTV[732]: Error loading /var/stash/Applications/XBMC.frappliance/XBMC:  dlopen(/var/stash/Applications/XBMC.frappliance/XBMC, 265): Symbol not found: _g_spotify
      Referenced from: /var/stash/Applications/XBMC.frappliance/XBMC
      Expected in: flat namespace
     in /var/stash/Applications/XBMC.frappliance/XBMC
Dec 28 11:15:17 Apple-TV AppleTV[732]: Appliance com.apple.frontrow.appliance.xbmc's principal class (null) does not conform to the BRAppliance protocol.


//Mike

Hi Rooster,

Read all the way up to page 73 of this thread, and decided had to try compiling for ATV2 myself. Just did and ran into the same error. Laugh
Did you get anywhere from here? And is this from the syslog? I only get the last line in the log. Maybe you compiled for debug...

Feels like we should be able to get this going... Anyone can comment on the errors?

Did you by any change try to compile without libspotify to see if that raises the same?

Maarten.


Compile problem - vies_123 - 2012-01-27

Hi,

Any idea what might be the problem. Compiling spotyxbmc on ubuntu 10.04 (64bit) fails on following error:

Code:
Looking for your xbmc.bin, this might take a while...
Reading package lists... Done
Building dependency tree
Reading state information... Done
libvorbis-dev is already the newest version.
libvorbisfile3 is already the newest version.
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
git-core is already the newest version.
subversion is already the newest version.
make is already the newest version.
g++ is already the newest version.
g++ set to manually installed.
gcc is already the newest version.
gawk is already the newest version.
libtool is already the newest version.
libtool set to manually installed.
Note, selecting libsdl1.2-dev instead of libsdl-dev
libsdl1.2-dev is already the newest version.
libsdl-image1.2-dev is already the newest version.
libfreetype6-dev is already the newest version.
libfreetype6-dev set to manually installed.
libsqlite3-dev is already the newest version.
libogg-dev is already the newest version.
libogg-dev set to manually installed.
libasound2-dev is already the newest version.
libasound2-dev set to manually installed.
Package libglew-dev is a virtual package provided by:
  libglew1.6-dev 1.6.0-3~ppa1~lucid1
  libglew1.5-dev 1.5.2-0ubuntu1
You should explicitly select one to install.
E: Package libglew-dev has no installation candidate
mkdir: cannot create directory `/home/aki/openspotify': File exists
fatal: destination path 'openspotify' already exists and is not an empty directory.
rm -f aes.o browse.o buf.o cache.o channel.o commands.o dns.o ezxml.o handlers.o hashtable.o hmac.o link.o login.o iothread.o packet.o player.o                                         playlist.o rbuf.o request.o search.o sha1.o shn.o toplistbrowse.o user.o util.o sp_album.o sp_artist.o sp_albumbrowse.o sp_artistbrowse.o sp_e                                        rror.o sp_image.o sp_link.o sp_playlist.o sp_search.o sp_session.o sp_toplistbrowse.o sp_track.o sp_user.o libopenspotify.so.3
gcc -fvisibility=hidden -Wall -ggdb -I../include -fPIC -O2 -c -o aes.o aes.c
gcc -fvisibility=hidden -Wall -ggdb -I../include -fPIC -O2 -c -o browse.o browse.c
In file included from sp_opaque.h:29,
                 from commands.h:10,
                 from browse.c:37:
login.h:11:24: error: openssl/dh.h: No such file or directory
login.h:12:25: error: openssl/rsa.h: No such file or directory
In file included from sp_opaque.h:29,
                 from commands.h:10,
                 from browse.c:37:
login.h:55: error: expected specifier-qualifier-list before âRSAâ
make: *** [browse.o] Error 1
gcc -fvisibility=hidden -Wall -ggdb -I../include -fPIC -O2 -DDEBUG -c -o browse.o browse.c
In file included from sp_opaque.h:29,
                 from commands.h:10,
                 from browse.c:37:
login.h:11:24: error: openssl/dh.h: No such file or directory
login.h:12:25: error: openssl/rsa.h: No such file or directory
In file included from sp_opaque.h:29,
                 from commands.h:10,
                 from browse.c:37:
login.h:55: error: expected specifier-qualifier-list before âRSAâ
make: *** [browse.o] Error 1
XBMC is installed
Copying binaries
Installation succesfull

and because of this, xbmc start fails

Code:
/usr/lib/xbmc/xbmc.bin: error while loading shared libraries: libopenspotify.so.3: cannot open shared object file: No such file or directory

Any ideas howto fix this?

Vies


- Zephyr_blues - 2012-01-27

Hi,

Looks like you have some package conflict, and more important, there some older libspotify installation still on your system.

Should the github tree compile to Eden btw? Both this and the original github tree give me10.0.9, not 11 beta 2. Am I missing something here?

Maarten.

Edit: nm, got it. Set branch to Eden... :-)


- mikkelnl - 2012-01-28

Diddleydoo Wrote:Thanks to tsint for helping me to get spotyxbmc2 rocking at my home.
He Wrote a damn good guide using xbmc live to me. With his permission and if anybody wants it i can pm it to you.
And akezeke, keep up the good work!

I'd like the guide, could someone please PM me? Thanks!


Need help.. - smilykoch - 2012-01-29

I have finally managed to compile the spotyxbmc2 code successfully for ubuntu 10.04 with libspotify 10.0.4

but now, when i open XBMC i closes after about 5 seconds leaving this crash dump.:

http://pastebin.com/FXHXnzL3

I really hope some1 can help me..

*EDIT*
I also get this in my terminal:
Code:
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.
bgthread OnStartup
bgthread quiting, spotyxbmc is not enabled or the addon is missing
exiting process thread
Logging out
cleaned player
cleaned playlists
cleaned search
cleaned radios
cleaned artists
cleaned albums
cleaned tracks
cleaned thumbs
Segmentation fault (core dumped)
Crash report available at /home/xbmc/xbmc_crashlog-20120129_154005.log

Smilykoch


Compiled Windows Version - fairtekservices - 2012-01-30

I have taken the liberty of downloading and compiling the source code and making an executable file. Download my pre-compiled build and follow these instructions:

  1. Install
  2. Start up XBMC
  3. Go to Music > Add-Ons > spotyXBMC
  4. Configure the spotyXBMC Add-On (Spotify Username and Password)
  5. Restart XBMC
  6. Enjoy! Smile



- dallasnights - 2012-01-30

nice work can you make one for ATV please
Thanks