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)



- mortstar - 2011-07-05 13:36

Just wanted to clarify something....this build isn't currently able to play the music within XBMC?

Great to see some active development on this Smile


- akezeke - 2011-07-05 13:48

mortstar Wrote:Just wanted to clarify something....this build isn't currently able to play the music within XBMC?

Great to see some active development on this Smile


Of course it is able to play the music, what would the point be with it if not? Smile

/David


- mortstar - 2011-07-05 14:11

akezeke Wrote:Of course it is able to play the music, what would the point be with it if not? Smile

/David

:o I was confused by your post #347. I have just re-read the last paragraph and realised that the 'none playing of music' is the current status of the python addon.

I tried compiling on Windows XP but having a problem with some build dependencies. I'll try harder.


- promontis - 2011-07-05 16:17

Interesting post: Unified Online Music Library front-end GUI and Addons API for Online Music Services?

http://forum.xbmc.org/showthread.php?tid=54061

EDIT:
I'm willing to program the unified music library, so that Akezeke can really integrate spotify in XBMC.

So what else is needed?


- akezeke - 2011-07-05 19:27

promontis Wrote:Interesting post: Unified Online Music Library front-end GUI and Addons API for Online Music Services?

http://forum.xbmc.org/showthread.php?tid=54061

EDIT:
I'm willing to program the unified music library, so that Akezeke can really integrate spotify in XBMC.

So what else is needed?

That is indeed interesting reading, the thread is two years so maybe we should check with someone what the current status is.

The solution presented in the thread were an unified frontend like the pvr-branch sounds like the best solution to me, if it then allows c++ binary music addons.

If you are up to the task I'm willing to help you out, and by develop a new spotify addon to use the new interface at the same time I think the development would go faster and easier.

The pure python addon experiment is coming to an end I think, the experience is already slow and sluggish even with just a few features and there are a lot of things that needs to be solved before it is possible.


- promontis - 2011-07-05 19:50

akezeke Wrote:The pure python addon experiment is coming to an end I think, the experience is already slow and sluggish even with just a few features and there are a lot of things that needs to be solved before it is possible.

So your conclusion is that it is wise to still implement spotify using c++? I was actually researching whether I can use a more faster "scripting" language than Python. Perhaps something JITed like Java or C#. I've never liked Python... it feels sluggish. What's your view on this?


- akezeke - 2011-07-05 20:07

I think that we save ourself a lot of trouble if we allow compiled c++ addons, like the pvr-clients. If we do we have the power of c++, the addon will be fast, we can compile it and include api-key and so on for easier installation, the spotify lib can be used native without any function wrapping and perhaps even included in the addon so that we eliminate the extra step of installing the lib from outside xbmc.

But if we support another scripting language ( I don't like python either ) like java the development might be faster, and it still allows for "compilation". I like java a lot to so maybe that is a good solution to. Maybe sacrificing some speed for faster development might be ok, I think Java should be fast enough anyway.


- promontis - 2011-07-05 20:14

Are there any good examples of such pvr clients? Or any other compiled C++ addon?

EDIT: also good discussion: http://forum.xbmc.org/showthread.php?tid=79957


- akezeke - 2011-07-05 20:17

promontis Wrote:Are there any good examples of such pvr clients? Or any other compiled C++ addon?

EDIT: also good discussion: http://forum.xbmc.org/showthread.php?tid=79957

The clients that exists now can be found here
https://github.com/opdenkamp/xbmc/tree/pvr-ppa/xbmc/pvrclients


- promontis - 2011-07-05 20:22

akezeke Wrote:The clients that exists now can be found here
https://github.com/opdenkamp/xbmc/tree/pvr-ppa/xbmc/pvrclients

Great! I was already looking at that branch, but couldn't find them, as I was looking in the addons directory. Sometimes a bit confusing, such a large project structure

EDIT: people wanting to use the PVR need to build it right? If so, isn't that the same what you are doing? I thought they were working on a *downloadable* binary addon system.