XBMC Community Forum
[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script (/showthread.php?tid=88235)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


- denhams - 2011-01-15 14:21

Hi solver,

It would be much better just to return the stream URL but I haven't worked out how to do that Smile.

The URL is a POST with the streamkey as data. Passing only the URL to setResolvedURL() doesn't work - it needs to post the streamkey too.

Stephen.


- tco42 - 2011-01-15 16:51

i have just tried your plugin and i really like it, there is just a little feature that is missing:
I usually dont make too many playlists myself but i follow my friends and added their playlists. Those playlists are visible when i listen to grooveshark via browser but your plugin just shows my own playlists Sad is there any way to change this?


- solver - 2011-01-15 17:08

denhams Wrote:Hi solver,

It would be much better just to return the stream URL but I haven't worked out how to do that Smile.

The URL is a POST with the streamkey as data. Passing only the URL to setResolvedURL() doesn't work - it needs to post the streamkey too.

Stephen.
You can do it like this in getSongURL:

Code:
postData = {"streamKey": self._lastStreamKey}
postData = urllib.urlencode(postData)
url = "http://" + self._lastStreamServer + "/stream.php?" + str(postData)
return url



- denhams - 2011-01-15 18:09

solver Wrote:You can do it like this in getSongURL:

Code:
postData = {"streamKey": self._lastStreamKey}
postData = urllib.urlencode(postData)
url = "http://" + self._lastStreamServer + "/stream.php?" + str(postData)
return url

Many thanks. That works fine. (For some reason I thought I tried that before and it didn't work Confused ). Anyway, I have done the update and now the songs load much quicker:

http://sourceforge.net/projects/xbmc-groove/files/plugin.audio.groove-0.2.1.zip/download

BTW, any news from Grooveshark about the new webservices API?

Stephen.


- denhams - 2011-01-15 18:15

I think there is. I will try to add it.

...that is, other users playlists.

Stephen.


- dominater01 - 2011-01-15 23:58

i dont know if this is a known issue but the plugin wont let me sign in
i know my info hasnt changed cuz the script still works for me


- denhams - 2011-01-16 12:51

Which version are you using? You probably need 0.2.1 (http://sourceforge.net/projects/xbmc-groove/files/plugin.audio.groove-0.2.1.zip/download).

Stephen.


- Hutch - 2011-01-16 18:16

@solver
So, what hapened to your addon? The API changed? Do you plan on fixing yours or simply working on denhams? Your old one loaded stuff *so* much faster and the layout was much better.

@denhams
Thanks for this, it is a good substitution while solver's is unavailable. Do you plan on addon it to the xbmc addon repo for easy updating?

Thanks


- solver - 2011-01-16 20:44

Hutch Wrote:@solver
So, what hapened to your addon?

The Moovida media center had a web service that I used to gain access to the grooveshark API. Unfortunately that was shut down a couple of weeks ago and the addon stopped working. Grooveshark's promised me a key for their new API but I haven't received it yet. As soon as I do, Denhams and I, will start working on a new API. So it'll be back eventually.


- solver - 2011-01-16 20:48

denhams Wrote:BTW, any news from Grooveshark about the new webservices API?

Stephen.

Not yet. I'll drop them a line or two tomorrow to see if I can't get an ETA