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)



RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - thebearnecessit - 2012-12-15 19:29

(2012-12-15 18:33)StefanK Wrote:  
(2012-12-15 16:10)thebearnecessit Wrote:  when people say they have created an "updated merge" does that mean that they have made it possible for people to compile an xbmc install .exe file for that version of xbmc?

Nuro for example has made it possible for people to compile an xbmc install file that is version 12 frodo RC1 with spotify integrated?
That is exactly what it means. Compiling takes a while, but once the build environment has been set up, it isn't difficult to execute the 10-12 commands needed to make the install file.

My problem comes when i'm trying to install all the software needed before i even start compiling. i get asked questions during the installs about what type of install i want to do, and i'm never sure.

for example even trying to instal visual c++ i dont know which one to choose for my windows xp from this page: http://www.microsoft.com/visualstudio/eng/downloads

or is this the right one for me? : http://www.microsoft.com/en-gb/download/details.aspx?id=5555

do you think it's ok to post in this thread when i'm not sure what to do?

also if i get to the stage where i have managed to compile and exe install file, is it against the anyones rules (spotify or xbmc forum) for me to post it here for other windows users to use? or would they then be using my api? if i'm not subscribed every month would that screw it up for others using my api?


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - StefanK - 2012-12-15 20:43

(2012-12-15 15:14)NuroPreak Wrote:  I made a few mistakes this time, should be alright now.
Did you make it work? I don't. (Build: 38 succeeded, 1 failed, 0 up-to-date, 1 skipped) This results in ERROR XBMC.EXE failed to build! in the next step.

(2012-12-15 19:29)thebearnecessit Wrote:  or is this the right one for me? : http://www.microsoft.com/en-gb/download/details.aspx?id=5555
That's the one I use - I don't know if it would make much difference though.

(2012-12-15 19:29)thebearnecessit Wrote:  do you think it's ok to post in this thread when i'm not sure what to do?
If we couldn't ask, we wouldn't need the forum. One could argue that you should just read http://wiki.xbmc.org/index.php?title=HOW-TO:Compile_XBMC_for_Windows_using_Git or http://wiki.xbmc.org/index.php?title=How-to:Compile_XBMC_for_Windows but they weren't noob friendly enough for me either - guess someone should try to elaborate them a bit.

(2012-12-15 19:29)thebearnecessit Wrote:  also if i get to the stage where i have managed to compile and exe install file, is it against the anyones rules (spotify or xbmc forum) for me to post it here for other windows users to use? or would they then be using my api?
They would be using your api, which is against the Terms of Use of the Spotify API:
"4. Grant of license
1. Subject to your compliance at all times with this Agreement, Spotify grants to you a limited, revocable, non-exclusive, non-transferable, non-sublicensable right..."

"14. Assignment
You may not assign any of your rights, or delegate any of your duties under this Agreement, in whole or in part, to any person or entity."
https://developer.spotify.com/technologies/web-api/terms-of-use-non-us/

(2012-12-15 19:29)thebearnecessit Wrote:  if i'm not subscribed every month would that screw it up for others using my api?
I don't think it would, but...


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - thebearnecessit - 2012-12-16 01:50

(2012-12-15 20:43)StefanK Wrote:  
(2012-12-15 15:14)NuroPreak Wrote:  I made a few mistakes this time, should be alright now.
Did you make it work? I don't. (Build: 38 succeeded, 1 failed, 0 up-to-date, 1 skipped) This results in ERROR XBMC.EXE failed to build! in the next step.

So is there any point in me trying to compile when it seems like there is a problem?


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - fldc - 2012-12-16 10:58

(2012-10-14 23:46)Balthazar Wrote:  
(2012-10-02 22:28)tisse Wrote:  Hi,
Compiled and everything seems to be working fine. Able to browse and search music.

But at the end of playing a spotify song, xbmc freezes. Quite strange because logs are still being written from spotify. One error is however produced:
20:11:39.609 E [ap:4172] ChannelError(0, 1, playlist)

I'm running ubuntu 12.04, x86_64.

Any idéa what this can be? Compiling the akezeke works (using libspotify10).

tisse: I'm having the same problem, just never got around to reporting it. If you figure out how to fix it please post back. Hopefully once Frodo is stable someone will pick up work on this again.

sorry, i have not checked this forum since Big Grin I've updated the xvba/vdpau-repo, i hope things is working for you know if you try updating, i'll keep the repo updated Big Grin


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - tisse - 2012-12-16 12:22

(2012-12-16 10:58)fldc Wrote:  
(2012-10-14 23:46)Balthazar Wrote:  
(2012-10-02 22:28)tisse Wrote:  Hi,
Compiled and everything seems to be working fine. Able to browse and search music.

But at the end of playing a spotify song, xbmc freezes. Quite strange because logs are still being written from spotify. One error is however produced:
20:11:39.609 E [ap:4172] ChannelError(0, 1, playlist)

I'm running ubuntu 12.04, x86_64.

Any idéa what this can be? Compiling the akezeke works (using libspotify10).

tisse: I'm having the same problem, just never got around to reporting it. If you figure out how to fix it please post back. Hopefully once Frodo is stable someone will pick up work on this again.

sorry, i have not checked this forum since Big Grin I've updated the xvba/vdpau-repo, i hope things is working for you know if you try updating, i'll keep the repo updated Big Grin

I tried "https://github.com/emilm/spotyxbmc2-updated" and the problem is gone. So I've not updated the other compilations but I will when I get the time to do so.


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - thebearnecessit - 2012-12-16 14:46

edit: because i realised my question was stupid and if i left the question up here for the world to see then my stupidity would be exposed.


Sv: RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - fldc - 2012-12-16 15:37

(2012-12-16 12:22)tisse Wrote:  
(2012-12-16 10:58)fldc Wrote:  
(2012-10-14 23:46)Balthazar Wrote:  tisse: I'm having the same problem, just never got around to reporting it. If you figure out how to fix it please post back. Hopefully once Frodo is stable someone will pick up work on this again.

sorry, i have not checked this forum since Big Grin I've updated the xvba/vdpau-repo, i hope things is working for you know if you try updating, i'll keep the repo updated Big Grin

I tried "https://github.com/emilm/spotyxbmc2-updated" and the problem is gone. So I've not updated the other compilations but I will when I get the time to do so.

Yeah, this one is mostly for people having problems with the current xbmc vdpau implementation or running amd/ati and want xvba, if it works just fine, just go with what you have ;-)


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - thebearnecessit - 2012-12-16 16:11

i tried to compile using nuropreaks xbmc12 rc1 merge but i got 1 error 1 skipped when compiling.

then i thought i would try the instal anyway but there's no exe file in my win32buildsetup folder.

anyone know what i should try next?


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - NuroPreak - 2012-12-16 21:25

I'm looking into it now, i will report back when its done.


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - thebearnecessit - 2012-12-16 21:27

(2012-12-16 21:25)NuroPreak Wrote:  I'm looking into it now, i will report back when its done.

you need any logs?


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - NuroPreak - 2012-12-16 22:31

try again I successfully compiled it on windows

I edited ..\xbmc\application.cpp


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - StefanK - 2012-12-18 23:43

It seems to be working now - thanks a lot.


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - thebearnecessit - 2012-12-19 02:55

(2012-12-16 22:31)NuroPreak Wrote:  try again I successfully compiled it on windows

I edited ..\xbmc\application.cpp

It worked for me this time. Thanks very much for giving your time and sharing your results etc.


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - MatLCFC - 2012-12-19 17:35

========== Build: 37 succeeded, 2 failed, 0 up-to-date, 1 skipped ==========

NuroPreak git...not working for me.


RE: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - slippern - 2012-12-19 19:05

Akezeke git not working for me.
========== Build: 1 succeeded, 2 failed, 36 up-to-date, 1 skipped ==========