[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: 153
Joined: Jun 2010
Reputation: 1
Post: #196
flopp Wrote:Thx for you great job!

I use Ubuntu 11.10 (GNU/Linux 3.0.0-14-generic x86_64) with XBMC 10.1.
I use libpython2.7 (2.7.2-5ubuntu1) to compile XBMC.
Your script works only with Python 2.4 because you use the lib useragent to talk with Google App. If you want fix it permanently you can maybe force with your own useragent.

I've another question, when you switch of track in a playlist. It has a short load time with blank sound. Do you think it's possible to pre load the next track to fix it ?

Thanks for that. I changed the Google app engine to except Python 2.7. You might want to try now with version 1.0.2 (http://downloads.sourceforge.net/project...-1.0.2.zip).

I'll look into pre-loading the next track but you might want to try the tip under "FAQ" at http://forum.xbmc.org/showthread.php?tid=74474 .

Stephen.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #197
not working on ATV2 for some reason, I put in my credentials but it says Unable to connect with Grooveshark, can you help?
find quote
denhams Offline
Senior Member
Posts: 153
Joined: Jun 2010
Reputation: 1
Post: #198
dallasnights Wrote:not working on ATV2 for some reason, I put in my credentials but it says Unable to connect with Grooveshark, can you help?

Which version of the addon and XBMC are you using? Switch on debug (in the addon settings) and send me the log. Thanks.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #199
xbmc 11.0 eden, for atv2
Where can I find the log to send you please advise

Thanks for your help
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #200
11:34:03 T:169922560 NOTICE: -->Python Interpreter Initialized<--
11:34:03 T:169922560 ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py:18: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import urllib2, pprint, md5, os, pickle, tempfile, time, re, simplejson, base64
11:34:05 T:169922560 NOTICE: Request...
11:34:05 T:169922560 NOTICE: '{"url": "https://api.grooveshark.com/ws3.php?sig=04038dc54c56c058c704dc98a7d6617f", "postData": "{\\"header\\": {\\"wsKey\\": \\"denhamxmbc\\"}, \\"method\\": \\"startSession\\", \\"parameters\\": {}}"}'
11:34:07 T:117530624 ERROR: GetDirectory - Error getting plugin://plugin.audio.groove
11:34:07 T:117530624 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove) failed
11:36:09 T:117530624 ERROR: Texture manager unable to load file: /var/mobile/Repo/plugin.audio.groove-1.0.2.zip/icon.png
11:36:57 T:117530624 WARNING: CUtil::GetMatchingSource... no matching source found for [Addons]
11:37:00 T:169263104 NOTICE: -->Python Interpreter Initialized<--
11:37:01 T:169263104 ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py:18: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import urllib2, pprint, md5, os, pickle, tempfile, time, re, simplejson, base64, sys, socket
11:37:03 T:169263104 NOTICE: Request...
11:37:03 T:169263104 NOTICE: '{"url": "https://api.grooveshark.com/ws3.php?sig=04038dc54c56c058c704dc98a7d6617f", "postData": "{\\"header\\": {\\"wsKey\\": \\"denhamxmbc\\"}, \\"method\\": \\"startSession\\", \\"parameters\\": {}}"}'
11:37:06 T:117530624 ERROR: GetDirectory - Error getting plugin://plugin.audio.groove
11:37:06 T:117530624 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove) failed
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #201
anyone have a fix yet for this great mod, still not working on atv2 with the eden build of xbmc

Thanks all
find quote
denhams Offline
Senior Member
Posts: 153
Joined: Jun 2010
Reputation: 1
Post: #202
dallasnights Wrote:11:37:06 T:117530624 ERROR: GetDirectory - Error getting plugin://plugin.audio.groove
11:37:06 T:117530624 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove) failed

Thanks for the log. The above errors are something from XBMC itself rather than the addon. I don't really know why they should be happening. To start with, I would suggest uninstalling the addon, rebooting and reinstalling. If that doesn't work then repeat but delete the addon userdata after uninstalling (not sure where that directory is on ATV but this should help - http://wiki.xbmc.org/index.php?title=XBM...ecific_FAQ).

Stephen,
find quote
Muschl Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #203
next problem...
Code:
20:35:48 T:2880420720  NOTICE: -->Python Interpreter Initialized<--                                                                                          
20:35:51 T:2880420720   ERROR: Error Type: <type 'exceptions.KeyError'>                                                                                      
20:35:51 T:2880420720   ERROR: Error Contents: ('SongName',)                                                                                                  
20:35:51 T:2880420720   ERROR: Traceback (most recent call last):                                                                                            
                                              File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 1041, in <module>                            
                                                grooveshark.album(id)                                                                                        
                                              File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 437, in album                                
                                                album = groovesharkApi.getAlbumSongs(albumid, limit = self.songsearchlimit)                                  
                                              File "/storage/.xbmc/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py", line 278, in getAlbumSongs    
                                                return self._parseSongs(result)                                                                              
                                              File "/storage/.xbmc/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py", line 487, in _parseSongs      
                                                list.append([s['SongName'].encode('ascii', 'ignore'),\                                                        
                                            KeyError: ('SongName',)                                                                                          
20:35:51 T:3046131424   ERROR: GetDirectory - Error getting plugin://plugin.audio.groove/?mode=10&name=Stripped+-+Depeche+Mode&id=111706                      
20:35:51 T:3046131424   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove/?mode=10&name=Stripped+-+Depeche+Mode&id=111706) failed            
20:35:51 T:2880420720  NOTICE: Thread Background Loader start, auto delete: false                                                                            
20:35:57 T:2943347568  NOTICE: Previous line repeats 1 times.                                                                                                
20:35:57 T:2943347568  NOTICE: Thread XBPyThread start, auto delete: false
find quote
denhams Offline
Senior Member
Posts: 153
Joined: Jun 2010
Reputation: 1
Post: #204
Muschl Wrote:next problem...

Thanks for reporting that. Fixed in version 1.0.3:

http://downloads.sourceforge.net/project...-1.0.3.zip

or it should be available in the official repo shortly.

Stephen.
find quote
katmandu42 Offline
Junior Member
Posts: 13
Joined: Dec 2011
Reputation: 0
Post: #205
Does this only work with premium memberships?

TIA
find quote
denhams Offline
Senior Member
Posts: 153
Joined: Jun 2010
Reputation: 1
Post: #206
katmandu42 Wrote:Does this only work with premium memberships?

TIA

You need a Grooveshark Anywhere subscription.
find quote
katmandu42 Offline
Junior Member
Posts: 13
Joined: Dec 2011
Reputation: 0
Post: #207
denhams Wrote:You need a Grooveshark Anywhere subscription.

Thanks Denhams. Is there any plugin or script for grooveshark that does not require the anywhere account? I've searched and found one that stated versions 0.5 and above require the account but there are no listings for pre-0.5 versions.

http://en.sourceforge.jp/projects/sfnet_.../releases/

TIA
find quote
denhams Offline
Senior Member
Posts: 153
Joined: Jun 2010
Reputation: 1
Post: #208
katmandu42 Wrote:Thanks Denhams. Is there any plugin or script for grooveshark that does not require the anywhere account?

http://forum.xbmc.org/showthread.php?tid...ark+script
find quote
sphere Offline
Team-Kodi Member
Posts: 1,223
Joined: Jul 2009
Reputation: 50
Location: Germany
Post: #209
denhams Wrote:You need a Grooveshark Anywhere subscription.

Hi,

may I ask why this is needed?

thanks!

regards,
sphere

My GitHub. My Add-ons:
[Image: IOoywq0.jpg]
find quote
denhams Offline
Senior Member
Posts: 153
Joined: Jun 2010
Reputation: 1
Post: #210
sphere Wrote:may I ask why this is needed?

http://forum.xbmc.org/showpost.php?p=868...tcount=156
find quote
Post Reply