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.
[RELEASE] Grooveshark (Script) Music Addon
denhams
Senior Member Posts: 135 Joined: Jun 2010 Reputation: 1 |
2011-01-14 14:45
Post: #371
|
| find quote |
sunny-hd
Junior Member Joined: Jan 2011 Reputation: 0 Location: Germany |
2011-01-14 17:57
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
Skilled Python Coder Posts: 241 Joined: Aug 2007 Reputation: 12 |
2011-01-15 00:18
Post: #373
sunny-hd Wrote:Thanks! 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. |
| find quote |
sunny-hd
Junior Member Joined: Jan 2011 Reputation: 0 Location: Germany |
2011-01-17 10:31
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
Member Posts: 61 Joined: Jul 2010 Reputation: 0 |
2011-01-20 01:03
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: This version doesn't work for me. I get an error upon launching the plugin. |
| find quote |
Jopplehead
Member Posts: 53 Joined: Jan 2010 Reputation: 0 |
2011-01-23 05:55
Post: #376
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: THANKS! Working good on the latest Nightly XBMC4XBOX
|
| find quote |
Muuh
Junior Member Posts: 29 Joined: Jan 2011 Reputation: 0 |
2011-01-23 14:37
Post: #377
Tried the SVN build on my AppleTV2G, but i can't select any menu item.
Left, right, up down are working. Update: Fix here
(This post was last modified: 2011-02-02 22:23 by Muuh.)
|
| find quote |
solver
Skilled Python Coder Posts: 241 Joined: Aug 2007 Reputation: 12 |
2011-01-31 20:56
Post: #378
Hey guys,
I've completely rewritten the API to use groovewalrus. I've aimed at modularity so if Grooveshark decides to give me an API key then it should be "easy" to switch. Navigation in the script has undergone some changes as well. Mostly internally for my own sake. People reported some stability issues in the old script and I've tried to address that to the best of my ability. However, I think some of it is/was caused by the python interpreter not being to fond of running multiple scripts. I haven't seen the new version crash yet though. There's still some functionality missing but I'm working on it. Long story short. I'd like some beta testing before I ask for a pull. If you're up for it then grab the script from svn (see first post in this thread) and report back. My graphics skills are lacking so if somebody feels like redesigning the new icons I've added then please do ![]() Cheers, Solver
(This post was last modified: 2011-01-31 21:00 by solver.)
|
| find quote |
denhams
Senior Member Posts: 135 Joined: Jun 2010 Reputation: 1 |
2011-01-31 22:52
Post: #379
solver Wrote:I've completely rewritten the API to use groovewalrus. Well done. I took a peak at the API in SVN and it looks pretty complete. solver Wrote:Long story short. I'd like some beta testing before I ask for a pull. Count me in. Stephen. |
| find quote |
dallasnights
Fan Posts: 515 Joined: Jan 2011 Reputation: 0 |
2011-02-01 02:00
Post: #380
Love to beta for you too let me know where and when
Thanks |
| find quote |


Search
Help