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)



Spotify Add on - dallasnights - 2011-12-04 19:07

YES has anyone devleoped a true plugin that works on ATV yet please let us know


Spikey1989 Wrote:Hi all!

i was just looking how it goes with and real addon to spotify.. i was looking on there website and found this one API key?

hope it could be any help to any1 Smile

/spikey



- MagicMicky - 2011-12-04 19:14

Hi there !
First of all, thank you for spotyxbmc, this is really awesome ! Spotify on your TV is really an awesome feature Big Grin

I was just wondering, if I want to update spotyxbmc, do i just have to compile the last version ? Won't this erase some parameters or something ?
And, with spotyxbmc updates, would I also update xbmc version ? Cause some things are kinda buggy sometimes.

Thanks for your answers


- akezeke - 2011-12-04 19:46

jmarcet Wrote:Hi,

I've just compiled and installed the current HEAD on my Gentoo HTPC.

Everything works reasonably well but skipping tracks. With a playlist on queue, trying change to the next or the previous song fails saying there is no next file, then exiting.

I don't see anything in the logs. I'll try to check the sources but I don't even know where I should look.

Any hints?

Hi,

I tried to reproduce your problem, and succeeded when I enabled crossfade between songs. So for now... just disable crossfade and let me now if that helps. Not really a solution for the problem but maybe a cure for the symptoms. That will do for now.

/David


- akezeke - 2011-12-04 19:48

MagicMicky Wrote:Hi there !
First of all, thank you for spotyxbmc, this is really awesome ! Spotify on your TV is really an awesome feature Big Grin

I was just wondering, if I want to update spotyxbmc, do i just have to compile the last version ? Won't this erase some parameters or something ?
And, with spotyxbmc updates, would I also update xbmc version ? Cause some things are kinda buggy sometimes.

Thanks for your answers

Yes, to update you need to recompile the latest version, and yes, it will also update XBMC to the latest git version from the master branch.

I don't think it will erase your parameters. The settings and library stays.


- jmarcet - 2011-12-04 21:32

akezeke found a workaround for the issue: disabling song crossfading.

github.com/akezeke/spotyxbmc2/issues/12


- oro2 - 2011-12-05 20:21

I have a question.
Regardless of when XBMC will support binary addons and make it possible to make an addon of spotyxbmc2:
When do you think it will be possible to release a pre-compiled fork of XMBC with spotyxbmc2, without the user having to complile it with it's own appliaction key?
Why can other 3rd party Spotify applications, like the Boxee addon do this?


- Tompen - 2011-12-05 23:00

I get compile problems on Windows:

xbmc\music\spotyXBMC\album\SxAlbum.cpp(78): error C2057: expected constant expression
..\..\xbmc\music\spotyXBMC\album\SxAlbum.cpp(78): error C2466: cannot allocate an array of constant size 0
..\..\xbmc\music\spotyXBMC\album\SxAlbum.cpp(78): error C2133: 'tracks' : unknown size


- akezeke - 2011-12-05 23:53

Tompen Wrote:I get compile problems on Windows:

xbmc\music\spotyXBMC\album\SxAlbum.cpp(78): error C2057: expected constant expression
..\..\xbmc\music\spotyXBMC\album\SxAlbum.cpp(78): error C2466: cannot allocate an array of constant size 0
..\..\xbmc\music\spotyXBMC\album\SxAlbum.cpp(78): error C2133: 'tracks' : unknown size

Pushed a fix now!
Hopefully not breaking linux build :/


How did you do?? - klyka - 2011-12-06 03:13

mullcom Wrote:great!!!! I have spotify in XBMC now

THX for good work boys

I have the same problem as you had, but i dont understand how you solved it?
Can you please explain to an dumb swede? Tongue


- sidetaske - 2011-12-07 11:15

The old SpotyXBMC was based on a very early libspotify and when implemented it would be the coolest thing in the world for about 1 hour. Then memory leaks and different bugs would cause it to freeze up and/or crash. I abandoned the spotify solution about 8 months ago because of this. The new version seems very stable...
I would be happy to share my patched version, but i don't know how to... you still have to build it yourself however and the solution mentioned here seems a lot easier than my solution.