[RELEASE] Grooveshark (Script) Music Addon

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dominater01 Offline
Member
Posts: 98
Joined: May 2007
Reputation: 0
Rainbow   
Post: #361
solver Wrote:Sorry guys but I have some bad news. I can't access the API anymore. I used moovida's grooveshark service to get a session id but it's been shut down. I'm scouring the internet for a sollution. In short, grooveshark doesn't work anymore.

I've contacted grooveshark to see if I can get access to their web service API. Fingers crossed.

i just checked grooveshark on xbox and everythings working

all songs play playlists show up settings work login works 100% for me anyway and i didnt even modify it
(This post was last modified: 2011-01-09 02:14 by dominater01.)
find quote
yoety Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #362
I'm still getting session id error! on windows 7 x64..
find quote
Martinib Offline
Junior Member
Posts: 1
Joined: Jan 2011
Reputation: 0
Location: Denmark
Post: #363
Any updates on when this problem is possible to fix?

Very nice addonSmile
find quote
solver Offline
Skilled Python Coder
Posts: 241
Joined: Aug 2007
Reputation: 12
Post: #364
dominater01 Wrote:i just checked grooveshark on xbox and everythings working

all songs play playlists show up settings work login works 100% for me anyway and i didnt even modify it

It will stop working when your session id expires. Afterwards you won't be able to renew it and the script will unfortunately stop working for you as well. But for now, consider yourself lucky ;-)

--
Problems with the GrooveShark script? Please have a look here before posting.
find quote
solver Offline
Skilled Python Coder
Posts: 241
Joined: Aug 2007
Reputation: 12
Post: #365
I have some good news. Grooveshark for XBMC is not a lost cause. The bad news is that I'll have to switch to another API. To my surprise, grooveshark has nothing against the groovewalrus API - they even encourage it (Have a look here: http://getsatisfaction.com/grooveshark/t...pplication)

So, I'll start migrating to the new API if I don't receive an API key from grooveshark. I'll keep you posted.

--
Problems with the GrooveShark script? Please have a look here before posting.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #366
should we mark it as broken for the time being to save you some sorrow?
find quote
solver Offline
Skilled Python Coder
Posts: 241
Joined: Aug 2007
Reputation: 12
Post: #367
spiff Wrote:should we mark it as broken for the time being to save you some sorrow?

Yeah, please do that.

--
Problems with the GrooveShark script? Please have a look here before posting.
find quote
jolid Offline
Senior Member
Posts: 125
Joined: Jul 2010
Reputation: 0
Location: Gothenburg, Sweden
Post: #368
solver Wrote:I have some good news. Grooveshark for XBMC is not a lost cause. The bad news is that I'll have to switch to another API. To my surprise, grooveshark has nothing against the groovewalrus API - they even encourage it (Have a look here: http://getsatisfaction.com/grooveshark/t...pplication)

So, I'll start migrating to the new API if I don't receive an API key from grooveshark. I'll keep you posted.

Keeping my fingers crossedSmile
find quote
Raptylos Offline
Member
Posts: 85
Joined: Jan 2010
Reputation: 0
Location: Germany
Post: #369
I'll keep my fingers crossed, too !
Keep up the good work.
find quote
solver Offline
Skilled Python Coder
Posts: 241
Joined: Aug 2007
Reputation: 12
Post: #370
A quick update. Grooveshark replied to my request and I am getting an API key though I don't know when.

--
Problems with the GrooveShark script? Please have a look here before posting.
find quote
denhams Offline
Senior Member
Posts: 147
Joined: Jun 2010
Reputation: 1
Post: #371
While we wait for the new API key, I have done an interim version of the plugin that should work okay. Please see the post:

http://forum.xbmc.org/showpost.php?p=690...stcount=18

Stephen.
find quote
sunny-hd Offline
Junior Member
Posts: 18
Joined: Jan 2011
Reputation: 0
Location: Germany
Post: #372
Thanks!

Klaus

One Question...
Is it possible to start a song with the new JSON API.
If yes what would be the syntax of the URL?

{ "jsonrpc": "2.0", "method": "XBMC.Play", "params": "plugin://plugin.audio.groove/some url", "id": 1 }
(This post was last modified: 2011-01-14 21:20 by sunny-hd.)
find quote
solver Offline
Skilled Python Coder
Posts: 241
Joined: Aug 2007
Reputation: 12
Post: #373
sunny-hd Wrote:Thanks!

Klaus

One Question...
Is it possible to start a song with the new JSON API.
If yes what would be the syntax of the URL?

{ "jsonrpc": "2.0", "method": "XBMC.Play", "params": "plugin://plugin.audio.groove/some url", "id": 1 }

I had a quick look at the documentation for XBMC.play (http://wiki.xbmc.org/index.php?title=JSON_RPC#XBMC.Play) and it doesn't seem to except any parameters as you suggest above. I have never used the new JSON API so I could certainly be wrong.

It seems you could do it using Playlist.Add and then start the song using AudioPlaylist.Play. The url is "plugin://script.audio.grooveshark/?playSong=<grooveshark songid>". This is for my version of the plugin - denhams is different. Expect the url to change in the upcoming release. It might not work since I'm not sure that XBMC returns a valid handle for the python thread when called in this manner.

--
Problems with the GrooveShark script? Please have a look here before posting.
find quote
sunny-hd Offline
Junior Member
Posts: 18
Joined: Jan 2011
Reputation: 0
Location: Germany
Post: #374
Hi solver,

thanks for taking a look.
You are right. There is nothing in the docs but topfs2 posted that it would work like this.
http://forum.xbmc.org/showthread.php?tid...son+plugin

In the first step I would like to have a basic integration of grooveshark on my iPad.
I do the search of a song with the tinysong api and would like to start the url in XBMC. Will try if it works as soon as your Script will work again.

Also it would be interesting if I could use the part of your script which communicates with grooveshark as a commandline app. As Im not a coder but keen on having grooveshark on my iPad it would be nice if you point me in the right direction how to do that. I just started to learn some perl so dont have any python knowledge at all.

Tried to find a way to start a song with denhams plugin.audio.groove-0.2.1. but without success. I searched in the log and found the URL that plays the song but couldnt start the plugin playing that song with json.

But as you guys will start a joint venture it would be great if you have in mind controlling the plugin with json.

Thanks
Klaus
find quote
Stigy Offline
Member
Posts: 61
Joined: Jul 2010
Reputation: 0
Post: #375
denhams Wrote:While we wait for the new API key, I have done an interim version of the plugin that should work okay. Please see the post:

http://forum.xbmc.org/showpost.php?p=690...stcount=18

Stephen.

This version doesn't work for me.

I get an error upon launching the plugin.
find quote
Post Reply