[WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Kodi General Discussion (/forumdisplay.php?fid=6)
+--- Thread: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) (/showthread.php?tid=67012)
- stigroar - 2010-11-19 11:50
Puffytroll Wrote:You need to use nano instead of gedit.... Gedit needs a GUI to run.
Thanks again, Puffytroll... I'm starting to feel quite stupid now. But how the heck to I add my API key to the file?!
I have received my key, but cannot find anywhere to type it..
EDIT: Since I have to leave for a few hours, I might as well ask about the next step immediately...
Quote:9. Install all XBMC dependencies listed in the corresponding readme file.What is the corresponding readme file, and how do I install the XBMC dependencies?
- Puffytroll - 2010-11-19 14:13
When you have opened the spotinterface.cpp file you just use the arrows to navigate up and down. There is a line near the top that say "INSTER KEY HERE". Remove that line, copy the key from Spotify's page, and paste it there (Paste in Putty: right click)
It should look like this i think:
- stigroar - 2010-11-19 15:09
This is how my spotinterface looks like. No text to scroll through...
- Puffytroll - 2010-11-19 15:48
Then you eigther are in wrong directory or you havent downloaded and applied the patch
- stigroar - 2010-11-19 16:02
Ahhh.... Had forgot to enter the folder "trunk". Sorry. Have edited the file and am now running your dependencies code. Thanks again!
- Puffytroll - 2010-11-19 16:26
Heh, no ploblem.
Just got it running aswell, by following Lordmozillas guide.
I can report some minor bugs:
- The thing that it finds all to many albums when searching after tracks.
- Some big playlists cause a segmentation fault.
else it works fine
- stigroar - 2010-11-19 16:55
Step 13: sudo make install
Quote:xbmc@XBMCLive:~/temp/trunk$ sudo make install
See what's wrong?
- Puffytroll - 2010-11-19 17:06
Yes, something went wrong while compiling, so Xbmc isnt compiled yet
- stigroar - 2010-11-19 17:08
just do another "make" then? can i be in wrong folder or anything?
- Puffytroll - 2010-11-19 17:08
And I have found a strange bug. I dont know if it is more, but when I put this song:
Any ideas ?
- momoski - 2010-11-19 17:10
I had it installed and working as well, but since the install scanning the media library is not working anymore. If you downloaded a new episode of a show or a new movie and want to add it to the library xbmc crashes. I am now redoing the whole thing. Is this happening to you as well.
About your large playlist, is that not the problem mentioned earlier about local files in playlists. If your playlist, xbmc crashes. I had to remove all local files from my playlists to make it work.
- stigroar - 2010-11-19 17:14
stigroar Wrote:just do another "make" then? can i be in wrong folder or anything?
I ran a new make. It stopped quite early, with lots of errors. http://pastebin.com/UH3kjwpD
- momoski - 2010-11-19 17:33
Is libspotify already installed with the altered api.h. I did get that error once as well and reinstalled libspotify version 0.0.3
- Puffytroll - 2010-11-19 20:27
I think that error it because of libspotify isn't correctly installed. When I installed it, I installed to both /usr and /usr/local then it worked
But does anyone know how I can stop it from crashing when i use certain playlists? And some tracks is named UNPLAYABLE before the real name like: Allan Jackson - NOT PLAYABLE - Remember when ?
How can i fix that ?
- momoski - 2010-11-19 20:36
@stigroar: I know remember the error. Did you add -lspotify to the line with LIBS in the Makefile?
@Puffytroll: In one of the earlier posts Akezeke points me to some bugs in spotinterface.cpp. There are some lines that should be uncommented etc. I think it is two pages back.