soder
Posting Freak
Posts: 1,288
Joined: Feb 2008
Reputation: 1
Location: Sweden
|
Now with Openspotify and Despotify is it possible add Spotify support to XBMC via their open source code?*
*Both Openspotify and Despotify are cross-platform clients which require the user to have a registered Spotify premium subscription account!
http://eternalmedia.se/openspotify/Quote:Openspotify - the legal open source alternative to libspotify
Openspotify is an open source, cross platform re-implementation of Spotify’s closed source libspotify library coded in C. It’s aimed to replace the library used by despotify while making it easy to switch to libspotify in the future.
You can get it from GitHub by cloning the repository:Quote:git clone git://github.com/noahwilliamsson/openspotify.git
It consists of the libopenspotify library, some example code (ported from libspotify’s distribution) to test functionality as well as project files for Microsoft Visual Studio 2008 and Xcode 3.1 (and GNU makefiles)
Just as with the official libspotify library, and as stated in the FAQ at despotify.se, a premium subscription is required! Developers who have a Spotify premium subscription account can apply for a "Application Key" which is unique for each software application.
I’ll write code for anything related to libspotify/libopenspotify in exchange for money. Let me know if you’re interested. I’m VAT registered.
/ Noah Williamsson
http://despotify.seQuote:Despotify - the open source Spotify client
#hack.se proudly presents an open source Spotify client
Features
* C implementation based on F/OSS code
* Proof of Concept multi-OS client with text-based UI
* Proof of Concept gateway to the Spotify service (text-based protocol, for supporting REST)
* Language bindings for Python and Ruby
Quite a few Spotify related sites have appeared since we launched in October, I've previously mentioned a number of them which are dedicated to sharing playlists but there are lots of other sites that talk about Spotify or have used Spotify in interesting ways.
...
We love stuff like this so if you've done something creative with Spotify please let us know, we'd like to see it and share it with everyone.
Source: Spotified CD collection and some other community sites
Video intro (old ncurses client): despotify ncurses (youtube.com)
Source code for Despotify
The latest version of the source code is available in our Subversion repository
Feel free to browse the source code
You'll need OpenSSL, zlib, libvorbis and one of the packages to support the audio backends. Under Linux you can choose between pulseaudio, gstreamer and libao.
Installation command for dependencies under Debian/Ubuntu
aptitude install libssl-dev zlib1g-dev libvorbis-dev libtool
aptitude install libpulse-dev # For pulseaudio backend
aptitude install libgstreamer-plugins-base0.10-0 libgstreamer0.10-dev # For GStreamer backend
aptitude install libao-dev # For libao backend
(This post was last modified: 2010-01-04 19:49 by Gamester17.)
|
|
find
quote
|
theophile
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
|
I believe it has been said that there will not be a spotify plugin.
|
|
find
quote
|
soder
Posting Freak
Posts: 1,288
Joined: Feb 2008
Reputation: 1
Location: Sweden
|
theophile Wrote:I believe it has been said that there will not be a spotify plugin.
Hmm, ok. Any reasons for this?
/Söder
|
|
find
quote
|
theophile
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
|
soder Wrote:Hmm, ok. Any reasons for this?
/Söder
See here: http://forum.xbmc.org/showthread.php?p=2...post264822
|
|
find
quote
|
TheBurner
Senior Member
Posts: 112
Joined: Jul 2008
Reputation: 0
Location: California
|
I think only vonage said that im sure someone will its open and legal for .se no?
|
|
find
quote
|
opex
Junior Member
Posts: 8
Joined: Mar 2009
Reputation: 0
|
Even if despotify say they're not supported by spotify, despotify can still be used by paying customers. Only the free and one-day passes are filtered out by the spotify service.
This would lead me to believe the people behind spotify realizes clients like despotify won't go away but instead makes some effort to include them.
To utilize this opportunity and add support for it would be a great idea imho
(This post was last modified: 2009-03-21 03:10 by opex.)
|
|
find
quote
|
craigd
Senior Member
Posts: 285
Joined: May 2007
Reputation: 0
|
http://www.guardian.co.uk/technology/blo...launch-api
Spotify are launching api this week supposedly, woyuld be an awsome addition to xbmc incredible app imo.
|
|
find
quote
|
ChristianW
Junior Member
Posts: 35
Joined: Jan 2008
Reputation: 0
|
http://developer.spotify.com/en/libspotify/docs/
Developer keys are availible only to Premium users though.
Anyone want to give something a shot? Or start a discussion on how Spotify could be integrated in XBMC?
-C-
|
|
find
quote
|
topfs2
Team-XBMC Developer
Posts: 3,825
Joined: Dec 2007
Reputation: 8
|
Fun to see they did that, the library seems nice with a good license.
However the terms of use seems to be bothersome at best.
Namely
3.1 - We can´t compile with spotify on MID (as it's a handheld dev most of the time)
3.2 - You wouldn´t be able to controll spotify via the httpapi and webserver
3.10 - We would need you to accept an enforceable end user license agreement.
3.10 is the biggest worry and we don´t want that.
Cheers,
Tobias
If you have problems please read this before posting
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
|
|
find
quote
|
ChristianW
Junior Member
Posts: 35
Joined: Jan 2008
Reputation: 0
|
I don't really see how that is discouraging. A solution would be to make it as a plugin, and have the user agree to an EULA just for using that plugin.
Can you make plugins in C or would one have to create a python wrapper for it?
-C-
|
|
find
quote
|