[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Thumbs Up  [RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script
Post: #1
http://sourceforge.net/projects/xbmc-groove/

This is a plugin, rather than script, based addon for Grooveshark.

I originally based it on http://code.google.com/p/xbmc-grooveshark/, which I think is now no longer being developed.

However, the API has been updated from the active project at http://code.google.com/p/grooveshark-for-xbmc/.

To avoid delayed start to playing, I would recommend using the DVD player as described in the FAQ section of this thread:

http://forum.xbmc.org/showthread.php?tid=74474


Stephen.
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #2
In case anyone is using this, I have updated it (v0.1.5 at http://sourceforge.net/projects/xbmc-groove/) so that the songs directories are displayed much, much quicker.

Happy Christmas

Stephen.
find quote
helio58 Offline
Junior Member
Posts: 7
Joined: Nov 2008
Reputation: 0
Post: #3
Thanks Smile

Happy Christmas
find quote
maruchan Offline
Senior Member
Posts: 277
Joined: Feb 2009
Reputation: 0
Post: #4
Thanks for this Smile I prefer the standard plugin interface to a custom script interface, so I appreciate this a lot.
find quote
Blade0rz Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #5
denhams Wrote:http://sourceforge.net/projects/xbmc-groove/

This is a plugin, rather than script, based addon for Grooveshark.

I originally based it on http://code.google.com/p/xbmc-grooveshark/, which I think is now no longer being developed.

However, the API has been updated from the active project at http://code.google.com/p/grooveshark-for-xbmc/.

To avoid delayed start to playing, I would recommend using the DVD player as described in the FAQ section of this thread:

http://forum.xbmc.org/showthread.php?tid=74474


Stephen.

Thanks for this plugin. I can search for a song and select it just fine, but when I pick one it plays a random track - not even in the list of search results!
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #6
That's strange. I am on holiday at the moment but will check as soon as I am back. In the mean time, you could try using the previous version 0.1.4 (perhaps I broke something in the latest).

Best regards,

Stephen.
find quote
Blade0rz Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #7
denhams Wrote:That's strange. I am on holiday at the moment but will check as soon as I am back. In the mean time, you could try using the previous version 0.1.4 (perhaps I broke something in the latest).

Best regards,

Stephen.

Hmm, it seems to have fixed itself today. I just opened XBMC and did the same search as I did yesterday and it played fine. XBMC seemed to freeze while buffering, but that's not uncommon for my PC.

Thanks!
find quote
Rainmak3r Offline
Junior Member
Posts: 9
Joined: Jan 2011
Reputation: 0
Post: #8
Hi,

excellent plugin! I found out your plugin after finding out the script available in the addons didn't actually work.

I only had to fix one thing, that is create a "thumb" folder in the related plugin userdata: without it, all searches failed, since the plugin couldn't save any thumbnail in the non-existing folder.

Apart from that, the only nit I could find was that the player window always says "stream.php" instead of the song being played, but that's just a minor thing.

Thanks for your great work!
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #9
Many thanks for your feedback on the plugin.

The "thumb" folder should be created automatically. In fact, I did a quick test on my (Ubuntu) test system and it seemed okay. Also, I couldn't create the "stream.php" problem. Are you using the latest version (0.1.5)? Which OS?

Best regards,

Stephen.
find quote
bblauritzen Offline
Member
Posts: 89
Joined: Nov 2009
Reputation: 0
Post: #10
This dosn't work for me. Installs fine, i can configure it with my username but fails to open.

I attached the xbmc.log, if you need a full debug log just say the word.

EDIT: Full debug log http://pastebin.com/HuWNMsGW

Code:
13:23:57 T:3716 M:2419347456  NOTICE: -->Python Interpreter Initialized<--
13:23:58 T:3716 M:2416504832   ERROR: Error Type: urllib2.HTTPError
13:23:58 T:3716 M:2416504832   ERROR: Error Contents: HTTP Error 404: Not Found
13:23:58 T:3716 M:2416324608   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Brian B. Lauritzen\AppData\Roaming\XBMC\addons\plugin.audio.groove\default.py", line 46, in ?
                                                groovesharkApi = GrooveAPI()
                                              File "C:\Users\Brian B. Lauritzen\AppData\Roaming\XBMC\addons\plugin.audio.groove\resources\lib\GrooveAP​I.py", line 44, in __init__
                                                self.sessionID = self.startSession()
                                              File "C:\Users\Brian B. Lauritzen\AppData\Roaming\XBMC\addons\plugin.audio.groove\resources\lib\GrooveAP​I.py", line 148, in startSession
                                                response = urllib2.urlopen("http://www.moovida.com/services/grooveshark/session_start")
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
                                                return _opener.open(url, data)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 364, in open
                                                response = meth(req, response)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 471, in http_response
                                                response = self.parent.error(
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 396, in error
                                                result = self._call_chain(*args)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
                                                result = func(*args)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 554, in http_error_302
                                                return self.parent.open(new)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 364, in open
                                                response = meth(req, response)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 471, in http_response
                                                response = self.parent.error(
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 402, in error
                                                return self._call_chain(*args)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
                                                result = func(*args)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 480, in http_error_default
                                                raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
                                            HTTPError: HTTP Error 404: Not Found
13:23:58 T:3832 M:2416353280   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.groove/
13:23:58 T:3832 M:2416353280   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove/) failed
(This post was last modified: 2011-01-07 14:33 by bblauritzen.)
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #11
Please see the post at:

http://forum.xbmc.org/showpost.php?p=684...tcount=359

It is the same problem.

Stephen.
find quote
vodamaxe Offline
Junior Member
Posts: 3
Joined: Jul 2009
Reputation: 0
Post: #12
All Grooveshark Plugins/scripts seem to use MOOVIDA to actually access the API /get a session ID. The Moovida URL is down, which at the moment makes both, the SCRIPT by Solver and the Plugin by Denhams fail.
I have the same effect here HTTP 404 for http://www.moovida.com/services/groovesh...sion_start - an URL called inside the plugin. That URL does not work anymore.
Cheers.

Ah.
Sorry, I didnt see the last post from denhams - so he already replied to what the problem is. sorry for the duplication - but somehow it is not so easy to actually delte a post once posted ...
(This post was last modified: 2011-01-08 02:10 by vodamaxe.)
find quote
Cool_bombom Offline
Senior Member
Posts: 111
Joined: Oct 2008
Reputation: 1
Post: #13
hi denhams

check you PM.

cheers
c_bb
find quote
solver Offline
Skilled Python Coder
Posts: 241
Joined: Aug 2007
Reputation: 12
Post: #14
Have a look here: http://forum.xbmc.org/showpost.php?p=686...tcount=365

@Denhams: I wasn't aware of this project until yesterday and I was actually thinking about developing a plugin version of the addon. How about we pool our resources at some point? I'll do my best to make the new API backwards compatible but expect some changes.

Cheers,
Solver

--
Problems with the GrooveShark script? Please have a look here before posting.
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #15
Good news Smile

I will send you a PM to arrange about pooling resources.

Stephen.
find quote
Post Reply