Kodi Community Forum
[WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Kodi related discussions (https://forum.kodi.tv/forumdisplay.php?fid=6)
+--- Thread: [WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API) (/showthread.php?tid=67012)



- solem - 2011-09-23

Suddenly when compiling from scratch VDPAU is missing:

checking vdpau/vdpau.h usability... no
checking vdpau/vdpau.h presence... no
checking for vdpau/vdpau.h... no

configure: error: == Could not find libvdpau. VDPAU support disabled. ==

Suggestions from google doesn't help. I never had this problem the first time around, so what has changed?


- Thorn321 - 2011-09-23

solem Wrote:Suddenly when compiling from scratch VDPAU is missing:
"libvdpau-dev" is installed?


- momoski - 2011-09-24

I can't get it to work. Most likely because I use xbmc-live maverick version.

Errors I encounter:
Code:
Err http://ppa.launchpad.net maverick/main Sources  404  Not Found
Err http://ppa.launchpad.net maverick/main i386 Packages  404  Not Found


Code:
W: Failed to fetch http://ppa.launchpad.net/team-iquik/xbmc-stable/ubuntu/dists/maverick/main/source/Sources.gz  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/team-iquik/xbmc-stable/ubuntu/dists/maverick/main/binary-i386/Packages.gz  404  Not Found


Code:
E: Could not open file /var/lib/apt/lists/ppa.launchpad.net_team-iquik_xbmc-stable_ubuntu_dists_maverick_main_source_Sources - open (2: No such file or directory)

Code:
E: Could not open file /var/lib/apt/lists/ppa.launchpad.net_team-iquik_xbmc-stable_ubuntu_dists_maverick_main_source_Sources - open (2: No such file or directory)

Code:
./bootstrap: line 3: autoreconf: command not found
/bin/sh: ./configure: not found
make: *** [libnfs-0804e67] Error 127

Can some one help please.

Thanks


- solem - 2011-09-24

Thorn321 Wrote:"libvdpau-dev" is installed?

It wasn't and this is what I tried to figure out through Google. In the end I had to add ppa:team-iquik/xbmc-stable to get a hold of libvdpau-dev.


- mortstar - 2011-09-25

akezeke - for your fork to compile on Win32 need to add </ClCompile> to lines 2609 and 5224 of project/VS2010Express/XBMC.vcxproj.filters


- mortstar - 2011-09-27

mortstar Wrote:akezeke - for your fork to compile on Win32 need to add </ClCompile> to lines 2609 and 5224 of project/VS2010Express/XBMC.vcxproj.filters

Sorry...

2609 needs a </ClCompile>
5224 needs a </ClInclude>

my bad!


Win32 Success - miljbee - 2011-09-27

Hello,

Just a quick post to write a big THANK YOU.

I have successfully build spotyxbmc2 yesterday on windows and it seems to work great.

For those who hesitate to try this :
Don't worry, in fact it's simple (surely because akezeke has done a great job) !

Here is what I have done to achieve it :
1 - Set up TortoiseGit (google it, you will find plenty of tuto on how to make it work. But basically, you just need to download and install tortoisegit and msysgit. Once done, right click on any folder and clone akezeke repo)
2 - Get Visual C++ express from microsoft (no registration required during the first days), just download and install.
3 - Get DirectX SDK from ms (not end user runtime, SDK) and install (no registration required)
4 - Get your spotify api key
5 - Use the batch provided in the source you cloned with tortoiseGit to download and build the dependencies.
(look her for details : http://wiki.xbmc.org/index.php?title=XBMC_for_Windows)
6 - Launch Visual C++, open the project, select the release type (dx/gl/release/debug)
7 - Correct the XBMC.vcxproj.filters file if VS asks you to (see previous post)
8 - Build the solution (I am not sure it's required, but it might help to find some problem)
9 - Close VS2010
10 - Download the nullsoft installer
11 - run BuildSetup.bat
12-BuildSetup should have produced a nice packaged installable XBMC. For some reason, I haven't been able to find it, but I found the XBMC folder with the new xbmc.exe, all the dll and some other stuff.
13-Make a full backup of your actual XBMC install (don't forget the data if you don't run it in portable mode)
14-Overwrite your XBMC directory with the one you got in step 12
15-Launch XBMC
16-Settings/Addons/installed/Music/Spotify/settings : fill in what's required
17-restart XBMC
18-Go to your music library/playlist
19-Enjoy !

Of course, read carrefully what akezeke wrote on the main git page about how to install on windows.
Also, you might use this page to help you compile :
http://wiki.xbmc.org/index.php?title=XBMC_for_Windows

The only problem I saw in this new build is that the recentlyadded.py script doesn't work anymore. I will have a look tonight.
I didn't need to return to confluence, I kept Transparency! and it works great.

Now, a question :
on what version of xbmc is based spotyxbmc2 ? I wouldn't like to suffer the bugs of the recent nighty builds. If it's not the case, is it possible with git to build a package based on 10.1 ?

Finally Just for the fun : I made Step 1 to 12 on an Atom 330 Platform ... I went to sleep at 2:00AM ...

Many Thanks for this awesome new feature. I hope it will become "official" soon.

Miljbee


- KRKA01 - 2011-09-30

Does anybody have a guide on how to install and build everything needed for Spotyxbmc2 using the latest GIT source of XBMC for windows?
I would prefer an automatic aproach, but a manual would be fine enough.
I have search the forum and found several posts on how to do this for Linux but none for windows.

Thanks in advance.


Looks like the activity in this thread have decreased the last days, i wonder if this is due to the stupid facebook login requirement for new user spotify have enforced. I know, it sucks. Consider to cancel my subscription if the don´t change the requirements.


- miljbee - 2011-09-30

we all would like a ready to use setup.exe. But that will not happen before a long time. You need an appkey.h to make this run. So you need to compile xbmc, to include this file in the build. So you need a dev environments to compile. Once it's setup, you just run a batch file to build xbmc. I don't think it can be more automated.
try it, it's not really difficult.


- KRKA01 - 2011-09-30

miljbee Wrote:we all would like a ready to use setup.exe. But that will not happen before a long time. You need an appkey.h to make this run. So you need to compile xbmc, to include this file in the build. So you need a dev environments to compile. Once it's setup, you just run a batch file to build xbmc. I don't think it can be more automated.
try it, it's not really difficult.

Yes, i know. I have already successfully build a working Spotyxbmc2 for windows.

The question is how i can get, combined and build Spotyxbmc2 with the latest GIT source of XBMC, meaning the things i need for spotify support on XBMC with the latest source of XBMC 11 (Eden)

//Krister


- Flanhare - 2011-09-30

KRKA01 Wrote:Yes, i know. I have already successfully build a working Spotyxbmc2 for windows.

The question is how i can get, combined and build Spotyxbmc2 with the latest GIT source of XBMC, meaning the things i need for spotify support on XBMC with the latest source of XBMC 11 (Eden)

//Krister

https://github.com/akezeke/spotyxbmc2/blob/master/Readme.md


- Lagstorm - 2011-10-02

Hi,
I would like to thank you all for making my xbmc experience so much better with spotify compatibility.
I have one feature suggestion I think haven't been made yet. Would it be possible to add top hits folder to every artist, which would contain x most popular songs of the certain artist. It would make finding popular songs for certain artist much easier. The folder could be under the similar artist folder. I suppose there is a way to get those songs directly or at least get some popularity value for every song via api.
Thx again for everything you have done so far.


- Tobby - 2011-10-02

Can anybody link a guide or something or explain how to do it. I don't know anything about programing or codes.


- KRKA01 - 2011-10-02

Flanhare Wrote:https://github.com/akezeke/spotyxbmc2/blob/master/Readme.md

Thanks, will try if i can get it to work.

//Krister


- miljbee - 2011-10-02

Lagstorm Wrote:Hi,
I would like to thank you all for making my xbmc experience so much better with spotify compatibility.
I have one feature suggestion I think haven't been made yet. Would it be possible to add top hits folder to every artist, which would contain x most popular songs of the certain artist. It would make finding popular songs for certain artist much easier. The folder could be under the similar artist folder. I suppose there is a way to get those songs directly or at least get some popularity value for every song via api.
Thx again for everything you have done so far.

Yes, I would like this to. Like in Deezer …