Kodi Community Forum
[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/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 21 22


- Rainmak3r - 2011-01-29

The 0.3.0 zip won't install on my XBMC (installation failed). The log complains about the addon not being valid.

0.2.3 installs fine but occasionally crashes my XBMC causing it to restart.


- denhams - 2011-01-29

Rainmak3r Wrote:The 0.3.0 zip won't install on my XBMC (installation failed). The log complains about the addon not being valid.

0.2.3 installs fine but occasionally crashes my XBMC causing it to restart.

Many thanks for reporting this. It seems that zip file at sourceforge is corrupted - I guess due to this:

https://sourceforge.net/blog/sourceforge-net-attack/

I have tried uploading it again but the same thing happens. So, until sourceforge is fixed please download it from:

http://dl.dropbox.com/u/3129606/plugin.audio.groove-0.3.0.zip


- Rainmak3r - 2011-01-29

denhams Wrote:Many thanks for reporting this. It seems that zip file at sourceforge is corrupted - I guess due to this:

https://sourceforge.net/blog/sourceforge-net-attack/

I have tried uploading it again but the same thing happens. So, until sourceforge is fixed please download it from:

http://dl.dropbox.com/u/3129606/plugin.audio.groove-0.3.0.zip

Thanks for your quick response!
The new plugin installs fine Nod


- Zsurfer - 2011-01-29

I'd love to start using this plugin, but I can't get it to work. Any ideas what is going wrong?
I'm running OpenELEC on a Shuttle XS35GT

Code:
14:58:40 T:140062133393152 M:1941708800  NOTICE: -->Python Interpreter Initialized<--
14:58:40 T:140062133393152 M:1941708800  NOTICE: /storage/.xbmc/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
                                              import socket, hmac, urllib, urllib2, pprint, md5, re, sha, time, random, os, pickle, uuid, tempfile
14:58:40 T:140062133393152 M:1941708800  NOTICE: /storage/.xbmc/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py:1: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
                                              import socket, hmac, urllib, urllib2, pprint, md5, re, sha, time, random, os, pickle, uuid, tempfile
14:58:40 T:140062133393152 M:1941565440  NOTICE: close failed in file object destructor:
14:58:40 T:140062133393152 M:1941565440  NOTICE: IOError
14:58:40 T:140062133393152 M:1941565440  NOTICE: :
14:58:40 T:140062133393152 M:1941565440  NOTICE: [Errno 10] No child processes
14:58:40 T:140062133393152 M:1941159936  NOTICE: close failed in file object destructor:
14:58:40 T:140062133393152 M:1941159936  NOTICE: IOError
14:58:40 T:140062133393152 M:1941159936  NOTICE: :
14:58:40 T:140062133393152 M:1941159936  NOTICE: [Errno 10] No child processes
14:58:40 T:140062133393152 M:1941667840  NOTICE: http://api.grooveshark.com/ws/2.1/?method=startSession&&wsKey=wordpress&sig=cc5e2464dc40b4269f577a9d550aafa2&format=json
14:58:40 T:140062133393152 M:1941667840  NOTICE: Response...
14:58:40 T:140062133393152 M:1941667840  NOTICE: '{"errors":[{"code":8,"message":"Method signature incorrect."}]}'
14:58:43 T:140062133393152 M:1941450752   ERROR: Error Type: <type 'exceptions.SystemExit'>
14:58:43 T:140062133393152 M:1941450752   ERROR: Error Contents: -1
14:58:43 T:140062133393152 M:1941450752   ERROR: Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 57, in <module>
                                                sys.exit(-1)
                                            SystemExit: -1
14:58:43 T:140062425573504 M:1941450752   ERROR: GetDirectory - Error getting plugin://plugin.audio.groove/
14:58:43 T:140062425573504 M:1941450752   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove/) failed



- denhams - 2011-01-29

Zsurfer Wrote:Any ideas what is going wrong?

The short answer is no Smile

The only things I can think to try are:

1. Check your XBMC user has write permissions to /storage/.xbmc/userdata/addon_data/plugin.audio.groove

2. Un-install and re-install. For a complete un-install, remove the add-on from the XBMC menus then:

Code:
rm -rf /storage/.xbmc/userdata/addon_data/plugin.audio.groove
rm -rf /storage/.xbmc/addons/packages/plugin.audio.groove*
rm -rf /storage/.xbmc/addons/plugin.audio.groove/

Then re-start XBMC and re-install the addon.


- Zsurfer - 2011-01-30

denhams - thanks for trying to help.
I tried your suggestions, but it still doesn't work.
I tried installing XBMC on Ubuntu on another partition on the same machine, and the plugin works there. So this problem seems to be specific to OpenELEC.
Are there any OS specific requirements for this plugin (that are met on Ubuntu but obviously not on OpenELEC)?
I'll try to get some help over at the OpenELEC forum too.


- sraue - 2011-01-30

Zsurfer Wrote:denhams - thanks for trying to help.
I tried your suggestions, but it still doesn't work.
I tried installing XBMC on Ubuntu on another partition on the same machine, and the plugin works there. So this problem seems to be specific to OpenELEC.
Are there any OS specific requirements for this plugin (that are met on Ubuntu but obviously not on OpenELEC)?
I'll try to get some help over at the OpenELEC forum too.

OpenELEC uses an external python-2.6, so its possible the plugin is incompatible with python-2.6.

I have opened a forum on http://www.openelec.tv (http://openelec.tv/forum/38-python-addons) for adding addons which dont work under openelec. openelec uses an external python 2.6 (instead internal 2.4) for various reasons. Some plugins dont work because they must be adapted to run on external python 2.6. please post a bug report there with enabled debugging and a xbmc.log (attached or pasted) after running this addon. I invite both, the developers and the users to take a look at this forum and help each other to make the addons python 2.6 compatible.


- denhams - 2011-01-30

Hi,

sraue Wrote:OpenELEC uses an external python-2.6, so its possible the plugin is incompatible with python-2.6.

Yes, that would make sense.

sraue Wrote:openelec uses an external python 2.6 (instead internal 2.4) for various reasons.

What reasons exactly? Wouldn't it be better to use 2.4 like the other OS versions to ensure compatibility rather than to attempt to re-code addons? If not, you are really saying that all addons need to be developed to support 2.4 and 2.6 which given the number that already exist doesn't seem reasonable (unless of course future releases of XBMC will use 2.6). (I realize this is a bit off-topic for this thread so it might be better to start a new thread somewhere if it is going to be an ongoing subject).

BR,

Stephen.


- bfrqrv - 2011-02-01

I have the newest XBMC4XBOX. And version 3.0 from the plugin.
Everything works ok, also the username and password. I am logged into grooveshark. My own playlist is showning to, but when i click on a list there is the script error.

Is this a known error at this time, or can i do something about this.

Thanks.


- denhams - 2011-02-01

bfrqrv Wrote:Is this a known error at this time, or can i do something about this.

Please post the xbmc.log so I can see what the error is.

Thanks,

Stephen.


- bfrqrv - 2011-02-01

Thank you for the quick respons. I tried some other playlist and some work. They all work on grooveshark by the way. I think this is the error on some playlist. I hope so, i have taken the last piece out of the log.

14:05:02 M: 24903680 ERROR: Error Type: urllib2.URLError
14:05:02 M: 24903680 ERROR: Error Contents: <urlopen error (10055, 'No buffer space available')>
14:05:02 M: 24895488 ERROR: Traceback (most recent call last):
File "Q:\plugins\music\plugin.audio.groove\default.py", line 593, in ?
grooveshark.playlist(id)
File "Q:\plugins\music\plugin.audio.groove\default.py", line 261, in playlist
songs = groovesharkApi.getPlaylistSongs(playlistid)
File "Q:\plugins\music\plugin.audio.groove\resources\lib\GroovesharkAPI.py", line 484, in getPlaylistSongs
return self._parseSongs(result)
File "Q:\plugins\music\plugin.audio.groove\resources\lib\GroovesharkAPI.py", line 535, in _parseSongs
info = self.getSongInfo(s['SongID'])
File "Q:\plugins\music\plugin.audio.groove\resources\lib\GroovesharkAPI.py", line 424, in getSongInfo
result = self._callRemote('getSongInfoEx', {'songID' : songID})
File "Q:\plugins\music\plugin.audio.groove\resources\lib\GroovesharkAPI.py", line 263, in _callRemote
response = urllib2.urlopen(req)
File "Q:\system\python\python24.zlib\urllib2.py", line 130, in urlopen
File "Q:\system\python\python24.zlib\urllib2.py", line 358, in open
File "Q:\system\python\python24.zlib\urllib2.py", line 376, in _open
File "Q:\system\python\python24.zlib\urllib2.py", line 337, in _call_chain
File "Q:\system\python\python24.zlib\urllib2.py", line 1021, in http_open
File "Q:\system\python\python24.zlib\urllib2.py", line 996, in do_open
URLError: <urlopen error (10055, 'No buffer space available')>
14:05:02 M: 31617024 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://music/plugin.audio.groove/?mode=12&name=bfrqrv%27s+bon+jovi&id=38429972
14:05:02 M: 31617024 ERROR: CGUIMediaWindow::GetDirectory(plugin://music/plugin.audio.groove/?mode=12&name=bfrqrv%27s+bon+jovi&id=38429972) failed


- denhams - 2011-02-01

bfrqrv Wrote:Thank you for the quick respons. I tried some other playlist and some work. They all work on grooveshark by the way. I think this is the error on some playlist. I hope so, i have taken the last piece out of the log.

Many thanks for that. Please can you try:

http://dl.dropbox.com/u/3129606/plugin.audio.groove-0.3.1.zip

I am not 100% sure that it will fix your problem but it might help. Let me know how it goes.

Stephen.


- bfrqrv - 2011-02-01

thanks, i will do that. Many lists are working though. Very nice plugin by the way! I will report if the broken lists are working on 3.1


- bfrqrv - 2011-02-01

i tried 3.1 and the same issue is here. Strange that some playlist work some don,t? about 50/50. I am now gonna try all new playlists. Maybe the old ones are different at grooveshark?


- bfrqrv - 2011-02-01

Solved! Only some playlist that are too big for the plugin are not working, all the others do. Even one playlist gave an error at grooveshark!
So it,s ok now.

Thanks.