Posts: 24
Joined: Aug 2006
Reputation:
0
Akezeke, many thanks for your continued efforts.
I have tried following your instructions with with libspotify 0.08 but I get the following error towards the end of the "make" phase:
xbmc/xbmc.a(spotinterface.o): In function `SpotifyInterface::connect(bool)':
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:812: undefined reference to `sp_session_create'
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:824: undefined reference to `sp_session_set_connection_type'
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:825: undefined reference to `sp_session_set_connection_rules'
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:822: undefined reference to `sp_session_preferred_bitrate'
xbmc/xbmc.a(spotinterface.o): In function `SpotifyInterface::getBrowseToplistTracks(CFileItemList&)':
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:1653: undefined reference to `sp_session_user_country'
xbmc/xbmc.a(spotinterface.o): In function `SpotifyInterface::getBrowseToplistAlbums(CFileItemList&)':
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:1626: undefined reference to `sp_session_user_country'
xbmc/xbmc.a(spotinterface.o): In function `SpotifyInterface::getBrowseToplistArtists(CFileItemList&)':
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:1599: undefined reference to `sp_session_user_country'
xbmc/xbmc.a(spotinterface.o): In function `SpotifyInterface::getPlaylistItems(CFileItemList&)':
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:1392: undefined reference to `sp_playlistcontainer_is_loaded'
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:1397: undefined reference to `sp_playlistcontainer_add_ref'
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:1417: undefined reference to `sp_playlist_get_image'
/home/xbmc/downloads/xbmcspotify_v8/xbmc/xbmc/spotinterface.cpp:1423: undefined reference to `sp_track_is_local'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
Have you any idea what is going wrong. Your previous instructions for libspotify 0.03 worked fine for me. I am running ubuntu maverick 64 bit.
Thanks.
Posts: 24
Joined: Aug 2006
Reputation:
0
I have tried this under natty 64 also but get precisely the same error.
I have tried installing libspotify with prefix=usr/local but this makes no difference too. I don't know what's going wrong.
Posts: 117
Joined: Aug 2009
Reputation:
43
That's weird, I'm sure you installed the 64 bit version of the lib. Did the lib install correct? No errors?
Posts: 24
Joined: Aug 2006
Reputation:
0
Yes to all.
I am using a minimal install, XBMCbuntu.
I will try later today on a full install to see if it works that way.
Posts: 24
Joined: Aug 2006
Reputation:
0
It worked for me on a full install.
I can't see what is missing on my minimal install. As I say I was able to compile with the old 0.03 version and instructions.
Posts: 74
Joined: Dec 2007
Reputation:
0
This works fine for me except that it crashes when browsing playlists. Seems that the userdata passed to cb_imageLoaded contains corrupt data.
Posts: 74
Joined: Dec 2007
Reputation:
0
Thanks, but the fault remains. I will give it a try during the weekend, are you also using libspotify 0.0.8?