[WIP] XBMC + Spotify = True (an XBMC implementation that uses Spotify's official API)

  Thread Rating:
  • 9 Votes - 4.22 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tsint Offline
Member
Posts: 74
Joined: Dec 2007
Reputation: 0
Location: Sweden
Post: #46
I don't think it is popular to release it as a binary with closed source. Probably ok for internal testing but not for the masses.
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Post: #47
tsint Wrote:I don't think it is popular to release it as a binary with closed source. Probably ok for internal testing but not for the masses.
You are absolutly correct, )doing so is an violation of the GPL which XBMC source code is licensed under), even for internal testing you still have to provide the source code to those that you distribute if they request it.

Please, do not release/link/upload any binaries compiled from GPL'ed licensed source code without also offering also release/link/upload the source code for those binaries as well.

There is no need to start a discussion about GPL interpretations here as such discussion is bound to start a flamewar and we will be forced to lock this thread. So, no offense to David or anyone else, but let us now all just patiently wait until the source code is published first before we even ask for binaries.

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.
find quote
fekker Offline
Posting Freak
Posts: 1,545
Joined: Oct 2008
Reputation: 30
Post: #48
off thread topic, but Hey welcome back Gamester17 Big Grin
find quote
Popeye Offline
Posting Freak
Posts: 922
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #49
Aha, so thats the reason the link got removed. I honestly didnt expect a full xbmc.bin but rather a plugin...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
akezeke Offline
Senior Member
Posts: 117
Joined: Aug 2009
Reputation: 43
Location: Norrköping, Sweden
Post: #50
Ok!

So lets try this again, now you can download the source or compiled binaries from http://github.com/akezeke/spotyxbmc/downloads

More info to come soon!

/David
find quote
tsint Offline
Member
Posts: 74
Joined: Dec 2007
Reputation: 0
Location: Sweden
Post: #51
Thanks!

This is probably the best thing that happened to XBMC since the VDPAU feature =)
find quote
calmdown Offline
Member
Posts: 70
Joined: Dec 2009
Reputation: 4
Location: Sweden
Post: #52
Maybe a stupid question, but since i dont have my own music library i really want spotify to pop up just as i press "music" on homescreen in alaska, maybe someone can point me in the right direction on how to do that?

And ofc. super thanks for this, have been waiting a long time, and finally someone put it together!

I think i have to edit Includes_Home_1.xml in skin/Alaska/720p/ folder on the line 31 that says:
Code:
<item id="3">
<description>Music</description>
<onclick>[color=red]ActivateWindow(Music)[/color]</onclick>

However I do not know the actual command for opening the submenu "spotify" directly, cant seem to find it in any configuration files (its probably embedded in the xbmc.bin file)?
(This post was last modified: 2010-01-27 19:00 by calmdown.)
find quote
tsint Offline
Member
Posts: 74
Joined: Dec 2007
Reputation: 0
Location: Sweden
Post: #53
Can't you just right-click on Spotify and select "Make Default"?
find quote
calmdown Offline
Member
Posts: 70
Joined: Dec 2009
Reputation: 4
Location: Sweden
Post: #54
tsint Wrote:Can't you just right-click on Spotify and select "Make Default"?

Ah well, that is one way you could do it, men det är ju inte rätt Rolleyes

Sometimes its the simplest things that is the hardest, thanks!
find quote
Popeye Offline
Posting Freak
Posts: 922
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #55
Missed the libspotify part but got it up and running now. FANTASTIC!

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
freds Offline
Junior Member
Posts: 1
Joined: Nov 2009
Reputation: 0
Post: #56
This is beyond excellent... Shocked

Is it possible to not get Wall as default viewing option though?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #57
Hi there,

I've had a quick review of the first patch, and have some general questions to begin with. We can take this to trac if you think it will be better there (after all, this is general discussion) - please feel free to open a ticket, attach your patch (no zipping please) so that others can review it as well.

1. What (if anything) prevents the directory browsing side of it being done in a plugin. Other than small portions (such as where you've injected spotify:// nodes into the library), it appears that very little of this couldn't be done directly externally (whether in a python plugin or via a dll).

2. What (if anything) is required for the streaming side - I'd much prefer if this was split off from the listing side of things where feasible.

3. Why are you adding spotify "albums" to the local database? What's the purpose of this?

Some suggestions for cleanup:

1. Get rid of the spotify-specific messages. They're unneeded as far as I can tell - just send general GUI_MSG_UPDATE_PATH messages.

2. Move the spotify URL stuff that's currently sitting in OnClick() directly into the spotify directory handler. One presumes that your search stuff could be done directly in there as well (i.e. fire off the search, throw up the progress dialog and wait for it's return) further eliminating callback stuff.

Some questions regarding the future:

1. This (like many plugins) appears to provide both browsing ability and search. Perhaps the search side of things could be hooked in in a more general way to XBMC's built-in music search, or perhaps some "find similar items" type of thing at each level in the music lib?

Cheers,
Jonathan

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.


[Image: badge.gif]
find quote
gazwest Offline
Junior Member
Posts: 33
Joined: Sep 2008
Reputation: 0
Post: #58
Fantastic work!

Im sorry for the incredibly stupid question, as I'm pretty new to this.

I have XBMClive Camelot. Is there a guide or HOW-TO to help me add this superb function?
find quote
alex84 Offline
Senior Member
Posts: 180
Joined: Jan 2010
Reputation: 2
Location: Sweden
Post: #59
I switched to XBMC 1 week ago and i took me 1day to get rid of my tvix 6500 "RIP" Then found this thread and man this is something great. An easy howto install would be wery helpful for me to. I want to start my install the second i come home tomorow. Keep upp the great work =)
find quote
BouncinDave Offline
Junior Member
Posts: 8
Joined: Nov 2009
Reputation: 0
Post: #60
gazwest Wrote:Fantastic work!

Im sorry for the incredibly stupid question, as I'm pretty new to this.

I have XBMClive Camelot. Is there a guide or HOW-TO to help me add this superb function?

Seconded please Laugh
find quote
Post Reply