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


[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script - denhams - 2010-12-21 17:25

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.


- denhams - 2010-12-24 17:39

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.


- helio58 - 2010-12-26 14:56

Thanks Smile

Happy Christmas


- maruchan - 2010-12-26 22:49

Thanks for this Smile I prefer the standard plugin interface to a custom script interface, so I appreciate this a lot.


- Blade0rz - 2011-01-02 20:19

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!


- denhams - 2011-01-03 11:46

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.


- Blade0rz - 2011-01-03 15:13

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!


- Rainmak3r - 2011-01-06 17:38

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!


- denhams - 2011-01-07 14:06

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.


- bblauritzen - 2011-01-07 14:26

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



- denhams - 2011-01-07 17:18

Please see the post at:

http://forum.xbmc.org/showpost.php?p=684326&postcount=359

It is the same problem.

Stephen.


Depends on Moovida which is the cause of the problem - vodamaxe - 2011-01-08 02:06

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/grooveshark/session_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 ...


hi denhams - Cool_bombom - 2011-01-10 12:59

hi denhams

check you PM.

cheers
c_bb


There's hope - solver - 2011-01-10 17:44

Have a look here: http://forum.xbmc.org/showpost.php?p=686868&postcount=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


- denhams - 2011-01-10 17:54

Good news Smile

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

Stephen.