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)



- Thorn321 - 2011-08-20 14:09

I tested spotifyxbmc yesterday evening. It's really a nice integration of spotify.
However,there are two problems:
- with the night skin i get a black screen, if click on music on the homescreen.
- it's really unstable. i had 3 crashes yesterday... all crashes occured at the moment i selected a new song in spotify.


- akezeke - 2011-08-20 14:24

Thorn321 Wrote:I tested spotifyxbmc yesterday evening. It's really a nice integration of spotify.
However,there are two problems:
- with the night skin i get a black screen, if click on music on the homescreen.
- it's really unstable. i had 3 crashes yesterday... all crashes occured at the moment i selected a new song in spotify.


Hi,

I have not tried the night skin, will try and see what might couse that behavior.

Edit:
Tried it right now, and it worked for me, are you sure you are running the latest version of night (the pre-eden)?

Is it crashing when you are playing a spotify song and starts another? Can you please create an issue report at the github repo and describe a little further the circumstances when a crash happens and also provide the last bit of the terminal output?

/David


- akezeke - 2011-08-20 15:08

alex84 Wrote:I have tried that, did not work for me Sad
Gues the livecd dist are missing some functions or something.

Wondering what an good platform to start on could be?
Using the livecd since it's lightweight compared to full blown ubuntu for my ion htpc.

Well, if you can use the official xbmc master, then you can use mine, only difference is that you will need libspotify installed. I have not removed or alterer any other functionality in XBMC, only added hocks in the music section to load up spotify music.


- TheeDude - 2011-08-20 23:02

Hello again!

Anyone have an idea why I get "Error 401" & "Bad username and/or password" ?
I have tried to change my spotify password, and it works on spotify.com and the official spotify client, also Linux client.
But not in spotyxbmc.
Can it have something to do with the file appkey.h ?
I followed the instructions, and created the file, and pasted all information from spotify.com

Any other idea?
Would really like to test this future. Smile


- solem - 2011-08-21 17:34

@akezeke: Is there supposed to be a context menu, with options to queue songs and such? Everytime I press C it will result in a certain crash.

Other than that it is pretty stable now, on Confluence. I prefer Aeon Nox, but here it will sometimes crash when changing songs also.


- akezeke - 2011-08-22 07:00

solem Wrote:@akezeke: Is there supposed to be a context menu, with options to queue songs and such? Everytime I press C it will result in a certain crash.

Other than that it is pretty stable now, on Confluence. I prefer Aeon Nox, but here it will sometimes crash when changing songs also.

I have not added any spotify specific entries to the context menu yet, but the standard things like enqueue should work, I think the crashes might have something to do with upstream changes, now it seems to work.

I guess that you have updated to the latest version before posting, if not please do. If you have I will install aeon nox and see if I can find something weird.

/David


- akezeke - 2011-08-22 07:08

TheeDude Wrote:Hello again!

Anyone have an idea why I get "Error 401" & "Bad username and/or password" ?
I have tried to change my spotify password, and it works on spotify.com and the official spotify client, also Linux client.
But not in spotyxbmc.
Can it have something to do with the file appkey.h ?
I followed the instructions, and created the file, and pasted all information from spotify.com

Any other idea?
Would really like to test this future. Smile

The key must be right or else it will give you an other error message, you have spotify premium?

I have no idea what the problem might be, you can add this:

Logger::printOut(Settings::getUserName().c_str());
Logger::printOut(Settings::getPassword().c_str());

to xbmc/music/spotyXBMC/session/Session.cpp at line 106, it will print out your username and password to the terminal, just make sure they are correct.

If they seems to be correct maybe you can try with someone else credentials.

/David


- solem - 2011-08-22 13:20

Ok, so there is a context menu? What is the easiest way to upgrade to your latest build?

Thanks

Edit: I noticed you already mentioned "git pull" for updating, so I will try that.


- jarjar66 - 2011-08-22 21:05

Hello

I try to use your spotyxbmc but doesn't work.

I have no error when I compiling, I see spotyxbmc on xbmb music section and configure the addon but nothing.

I look my log but I don't understand why the addon closed. Perhaps a bug with python.

I give you my log http://paste.ubuntu.com/672656/


If you can help me thanks.


- solem - 2011-08-22 21:54

jarjar66 Wrote:Hello

I try to use your spotyxbmc but doesn't work.

I have no error when I compiling, I see spotyxbmc on xbmb music section and configure the addon but nothing.

I look my log but I don't understand why the addon closed. Perhaps a bug with python.

I give you my log http://paste.ubuntu.com/672656/


If you can help me thanks.

Sounds like you're doing the same mistake as I did. Don't try to start the addon. Just enable your music library and go into the music section.

@akezeke: Updating fixed the context menu problem, and it seems to work perfect on Aeon Nox now.