• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 22
[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script
Ok, I will keep close attention.

Rg,
Olaf
Reply
Will this work on pre-eden builds?
Reply
schumi2004 Wrote:Will this work on pre-eden builds?
Yep.
Reply
Anyone else experiencing this error? I'm on OpenELEC running XBMC pre eden.


15:55:29 T:2825911152 NOTICE: Failed to get request URL and post data
15:55:29 T:2825911152 INFO: -->Python script returned the following error<--
15:55:29 T:2825911152 ERROR: Error Type: <type 'exceptions.TypeError'>
15:55:29 T:2825911152 ERROR: Error Contents: function takes at least 2 arguments (0 given)
15:55:29 T:2825911152 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 107, in <module>
dialog.ok()
TypeError: function takes at least 2 arguments (0 given)
15:55:29 T:2825911152 INFO: -->End of Python script error report<--
Reply
tommienu Wrote:Anyone else experiencing this error? I'm on OpenELEC running XBMC pre eden.


15:55:29 T:2825911152 NOTICE: Failed to get request URL and post data
15:55:29 T:2825911152 INFO: -->Python script returned the following error<--
15:55:29 T:2825911152 ERROR: Error Type: <type 'exceptions.TypeError'>
15:55:29 T:2825911152 ERROR: Error Contents: function takes at least 2 arguments (0 given)
15:55:29 T:2825911152 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 107, in <module>
dialog.ok()
TypeError: function takes at least 2 arguments (0 given)
15:55:29 T:2825911152 INFO: -->End of Python script error report<--

Its a bug, I'll need to fix it. However, it should only happen when an exception has occurred somewhere else. Could you switch on debug in the addon's settings and test again? I'd like to know what is the underlying problem.

Stephen.
Reply
denhams Wrote:Its a bug, I'll need to fix it. However, it should only happen when an exception has occurred somewhere else. Could you switch on debug in the addon's settings and test again? I'd like to know what is the underlying problem.

Stephen.
Hi Stephen,

I believe i ran in to this bug after it cannot ping the Grooveshark service. I think it's supposed to throw me a localized error, which - for some reason - fails.

Is there any way for me to actually see the exception itself?
Reply
tommienu Wrote:Is there any way for me to actually see the exception itself?

If you switch of debug in the addon settings and then check the log you should see something.

Stephen.
Reply
denhams Wrote:If you switch of debug in the addon settings and then check the log you should see something.

Stephen.

I enabled debugging but i don't see more info than already posted:

Code:
01:34:52 T:2756705136  NOTICE: -->Python Interpreter Initialized<--
01:34:52 T:2756705136  NOTICE: Request...
01:34:52 T:2756705136  NOTICE: ''
01:34:52 T:2756705136  NOTICE: Failed to get request URL and post data
01:34:53 T:2756705136   ERROR: Error Type: <type 'exceptions.TypeError'>
01:34:53 T:2756705136   ERROR: Error Contents: function takes at least 2 arguments (0 given)
01:34:53 T:2756705136   ERROR: Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 107, in <module>
                                                dialog.ok()
                                            TypeError: function takes at least 2 arguments (0 given)
01:34:53 T:3046574448   ERROR: GetDirectory - Error getting plugin://plugin.audio.groove
01:34:53 T:3046574448   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove) failed
01:34:53 T:2756705136  NOTICE: Thread Background Loader start, auto delete: false
01:34:58 T:2756705136  NOTICE: Previous line repeats 1 times.
01:34:58 T:2756705136  NOTICE: Thread XBPyThread start, auto delete: false
01:34:59 T:2756705136  NOTICE: -->Python Interpreter Initialized<--

With debug enabled.
Reply
Hi,

I've exactly the same issue.
When I run Wireshark in background, I see that the plugin send a request to Google API. It receives a 200 OK in response.
Reply
flopp Wrote:Hi,

I've exactly the same issue.
When I run Wireshark in background, I see that the plugin send a request to Google API. It receives a 200 OK in response.

Please can you try the version at:

https://sourceforge.net/projects/xbmc-gr...-1.0.1.zip

This is an Eden version.

Also, please can you tell me what OS you are using?

Thanks,

Stephen.
Reply
It does'nt fix my issue.
I've found a workarround.
If you change the User-Agent used in HTTP queries, it seams to work.


Code:
File : resources/lib/GroovesharkAPI.py
Function : _getRemote

The line :
req = urllib2.Request(url)
must be replace by :
req = urllib2.Request(url, None, {"User-Agent": "Python-urllib/2.4"})
Reply
Now, I've a new issue.

When I send a request to the groovshark API.
The response is :

{"header":{"hostname":"RHL061"},"result":{"StreamKey":"","url":"","StreamServerID":0,"uSecs":0,"warning":"Not provisioned for production use."},"errors":[{"code":102,"message":"User must be VIP."}]}

I don't understand why it said that User must be VIP.
I've suscribed to the premium service.
Reply
So, it works with your version 1.0.0 and my workaround. Smile Thanks Smile

Version 1.0.1 probably does not have the right key...
Reply
flopp Wrote:So, it works with your version 1.0.0 and my workaround. Smile Thanks Smile

Version 1.0.1 probably does not have the right key...

I'm glad it is working for you but please tell me which version of XBMC and OS you are using so I can try to do a permanent fix that can be used by other people.

Stephen.
Reply
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 ?
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 22

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script3