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)



- lirojen - 2012-01-17 02:04

-


- lirojen - 2012-01-17 02:08

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 05:50

I'm not in any way related to or representing spotify [Image: zhugd.jpg]
[Image: zhuht.jpg]
[Image: zhujh.jpg]


- tjep - 2012-01-21 10:04

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 10:05

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 20:58

could you please mp this guide to me too? thx


- antagon - 2012-01-24 13:32

I'd love to have the guide as well.


- thewump - 2012-01-24 22:19

Guide pretty please!

K


Compile for ATV2 - Zephyr_blues - 2012-01-27 03:09

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 21:35

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