[RELEASE] Grooveshark (Script) Music Addon

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Pgeek Offline
Junior Member
Posts: 6
Joined: Jan 2012
Reputation: 0
Smile  Error in Grooveshark script Can't not get session ID Wait a few minutes,
Post: #661
First thanks to Solved and all working on this script it was amazing while it worked and hopefully I can put it to work again with your help. Apologize for any orthographic mistakes English is not my primary language.

The script stop working and is giving me the error "can't get session ID" I have reinstall the script several times (at least 10) and replace the files suggested in post #529.
resources/lib/GrooveLib.py
resources/lib/GrooveAPI.py
resources/lib/gw/__init__.py

To no avail the used the files form this url;
http://grooveshark-for-xbmc.googlecode.com/svn/

Will provide here the log:

http://pastebin.com/hTQkrZB7

Thanks in advance for any help or advise.
find quote
VanZan Offline
Donor
Posts: 468
Joined: Jun 2007
Reputation: 3
Location: Limerick, Ireland.
Post: #662
Don't pay any attention to post #529. That was my post from months ago and is well out of date. Can't help you with anything else I'm afraid. I'd recommended reinstalling the script again and ignoring post #529.
find quote
macf1an Offline
Senior Member
Posts: 224
Joined: Aug 2011
Reputation: 1
Post: #663
just start with a fresh 0.4.4b, install (or if you have dependency errors - unzip) it , restart XBMC and start the addon within the first minute

ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
find quote
VanZan Offline
Donor
Posts: 468
Joined: Jun 2007
Reputation: 3
Location: Limerick, Ireland.
Post: #664
Why within the first minute mate? I have an XBOX and have no such problem but I am very curious. You have to start the script within one minute?? What a strange remedy!
find quote
macf1an Offline
Senior Member
Posts: 224
Joined: Aug 2011
Reputation: 1
Post: #665
it's been discussed in this and several other threads - it's a bug in the authentication since november

ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
find quote
Pgeek Offline
Junior Member
Posts: 6
Joined: Jan 2012
Reputation: 0
Post: #666
Thanks for taking the time to answer my post if you find any solutions I am pretty sure that I will find them here. I want to reiterate my gratitude for your efforts in creating this addon is extremely useful and enjoyable.

Cheers;
PRGeek
find quote
VanZan Offline
Donor
Posts: 468
Joined: Jun 2007
Reputation: 3
Location: Limerick, Ireland.
Post: #667
Alright mate no need to get down on your knees. Neither of us who answered you had anything to do with making the plugin.
find quote
Pgeek Offline
Junior Member
Posts: 6
Joined: Jan 2012
Reputation: 0
Post: #668
VanZan Wrote:Alright mate no need to get down on your knees. Stare

Hmm... Mate you will see with a bullet in my head than in my knees, perhaps my effort to be polite offended you. Furthermore if you don't have anything to do with the creation of this script, I am pretty sure that you can understand that the compliment was not address to you. Nonetheless, I do appreciate you for taking the time to address my question and offering what I am pretty sure you felt was a viable solution.

BTW the steps suggested did not work ,if somebody can offer any other suggestions. I will deeply graceful.Smile

Cheers;
PRgeek
find quote
fluidsigns Offline
Junior Member
Posts: 10
Joined: Jan 2010
Reputation: 0
Post: #669
Hi solver,
appreciated your script very much until yesterday. Because of copyrights the the german music association GEMA (tr. Society for musical performing and mechanical reproduction rights) has blocked access to grooveshark from Germany. A lot of youtube videos are not available here as well.Waiting for anomynous so far Wink. However using a proxy it is still possible to use grooveshark and youtube via webbrowser.

The script however does not response anymore. i was wondering if there is any way to implement a proxy in xbmc or the script to make my day again?

Best,
#M.
find quote
HILFER Offline
Member
Posts: 73
Joined: Aug 2011
Reputation: 0
Post: #670
Hi:

I have 2 playlists but it always shows 0 lists Confused
find quote
DrDaxxy Offline
Member
Posts: 58
Joined: Oct 2010
Reputation: 0
Post: #671
fluidsigns Wrote:Hi solver,
appreciated your script very much until yesterday. Because of copyrights the the german music association GEMA (tr. Society for musical performing and mechanical reproduction rights) has blocked access to grooveshark from Germany. A lot of youtube videos are not available here as well.Waiting for anomynous so far Wink. However using a proxy it is still possible to use grooveshark and youtube via webbrowser.

The script however does not response anymore. i was wondering if there is any way to implement a proxy in xbmc or the script to make my day again?

Best,
#M.

You can specify an HTTP proxy in XBMC's network settings. Accessing Grooveshark on XBMC works through my private NL proxy, though I had to restart XBMC. This isn't an ideal solution however, as I'd rather not use this proxy for all my XBMC HTTP traffic, and some people might need other proxies for other countries as well, so I'd also like to see proxy support implemented directly in the script. Please? Big Grin
find quote
kobyboy Offline
Member
Posts: 79
Joined: Mar 2011
Reputation: 0
Post: #672
when searching result is sorry any idea?
hanks in advanced.
find quote
DrDaxxy Offline
Member
Posts: 58
Joined: Oct 2010
Reputation: 0
Post: #673
kobyboy Wrote:when searching result is sorry any idea?
hanks in advanced.

Same here.
Log (with debugging enabled in addon settings, some numbers removed in case they're private data, as well as some completely unrelated stuff):

Code:
22:16:17 T:2748578672  NOTICE: GrooveShark version 0.4.4
22:16:17 T:3018667840   DEBUG: Activating window ID: 13001
22:16:17 T:3018667840   DEBUG: ------ Window Deinit (MyMusicNav.xml) ------
22:16:17 T:3018667840   DEBUG: ------ Window Init (/home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/grooveshark.xml) ------
22:16:17 T:3018667840    INFO: Loading skin file: /home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/grooveshark.xml
22:16:17 T:3018667840   DEBUG: Load /home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/grooveshark.xml: 24.11ms
22:16:17 T:3018667840   DEBUG: Alloc resources: 69.71ms (24.42 ms skin load)
22:16:17 T:3018667840   DEBUG: HttpApi Start command: GetCurrentlyPlaying  paras: GetCurrentlyPlaying;  ; ; ;true
22:16:17 T:2748578672  NOTICE: GrooveShark: <type 'exceptions.IOError'>
22:16:17 T:2748578672  NOTICE: GrooveAPI: Starting session
22:16:17 T:2748578672  NOTICE: GrooveAPI: Saved instance: None
22:16:17 T:2748578672  NOTICE: GrooveAPI: Generating new instance
22:16:19 T:2748578672  NOTICE: ################# Getting session
22:16:19 T:2748578672  NOTICE: ############### Method: getCommunicationToken
22:16:19 T:2748578672  NOTICE: ############### htmlshark
22:16:19 T:2748578672  NOTICE: ########### https://cowbell.grooveshark.com/more.php?getCommunicationToken
22:16:19 T:2748578672  NOTICE: {"header": {"session": "xxx", "client": "htmlshark", "clientRevision": "20110906", "uuid": "xxx"}, "privacy": 1, "method": "getCommunicationToken", "parameters": {"secretKey": "xxx"}, "country": {"CC4": "0", "CC1": "xxx", "CC3": "0", "CC2": "0", "IPR": "9157", "ID": "57"}}
22:16:21 T:2748578672  NOTICE: Saving instance
22:16:21 T:2748578672  NOTICE: Saving: ('xxx', xxx, u'xxx', xxx, 'xxx', '', False, -1)
22:16:21 T:2748578672  NOTICE: There was an error while saving the settings pickle ([Errno 2] No such file or directory: 'special://profile/addon_data/script.audio.grooveshark/instance.txt')
22:16:21 T:2748578672   ERROR: Traceback (most recent call last):
22:16:21 T:2748578672   ERROR:   File "/home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/lib/GrooveAPI.py", line 177, in startSession
22:16:21 T:2748578672   ERROR:     self._session, self._lastSessionTime, self._token, self._lastTokenTime, self._uuid, self._authenticatedUser, self._isAuthenticated, self._authenticatedUserId = s
22:16:21 T:2748578672   ERROR: TypeError: 'NoneType' object is not iterable
22:16:21 T:2748578672  NOTICE: GrooveShark: Player core: DVDPlayer
22:16:21 T:2748578672   ERROR: Traceback (most recent call last):
22:16:21 T:2748578672   ERROR:   File "/home/xbmc/.xbmc/addons/script.audio.grooveshark/GrooveShark.py", line 433, in _list
22:16:21 T:2748578672   ERROR:     searchLabel = 'Found ' + str(self._search.countResults()) + ' for "' + self._search.queryText + '"'
22:16:21 T:2748578672   ERROR: TypeError: cannot concatenate 'str' and 'NoneType' objects
22:16:21 T:2748578672  NOTICE: sel: 0 n: 5
22:16:21 T:2748578672 WARNING: 'xbmcgui.lock()' is depreciated and serves no purpose anymore, it will be removed in future releases
22:16:21 T:2748578672 WARNING: 'xbmcgui.unlock()' is depreciated and serves no purpose anymore, it will be removed in future releases
22:16:21 T:2748578672  NOTICE: setOptionsRight() called
22:16:21 T:2748578672  NOTICE: GrooveShark: setOptionsMenu() called
22:16:21 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 7006
22:16:21 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 50
22:16:21 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 500
22:16:23 T:2748578672  NOTICE: GrooveShark: onClick: 500
22:16:23 T:3018667840   DEBUG: ------ Window Init (DialogAddonSettings.xml) ------
22:16:23 T:3018667840    INFO: Loading skin file: DialogAddonSettings.xml
22:16:23 T:3018667840   DEBUG: Load DialogAddonSettings.xml: 5.60ms
22:16:23 T:3018667840   DEBUG: Alloc resources: 26.60ms (5.73 ms skin load)
(here I checked if debugging was still enabled)
22:16:25 T:3018667840   DEBUG: ------ Window Deinit (DialogAddonSettings.xml) ------
22:16:28 T:2748578672  NOTICE: GrooveShark: onClick: 500
22:16:28 T:2748578672   ERROR: /home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/lib/GrooveGUI.py:542: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
                                              w = SearchXml("search.xml", os.getcwd(), "DefaultSkin")
22:16:28 T:3018667840   DEBUG: ------ Window Init (/home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/search.xml) ------
22:16:28 T:3018667840    INFO: Loading skin file: /home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/search.xml
22:16:28 T:3018667840   DEBUG: Load /home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/search.xml: 12.36ms
22:16:28 T:3018667840   DEBUG: Alloc resources: 12.56ms (12.55 ms skin load)
22:16:28 T:3018667840   ERROR: Control 501 in window 13002 has been asked to focus, but it can't
22:16:28 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 50
22:16:28 T:2748578672   ERROR: /home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/lib/GrooveGUI.py:510: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
                                              path = os.path.join(os.getcwd(), 'resources', 'lib')
22:16:28 T:2748578672    INFO: Loading skin file: DialogKeyboard.xml
22:16:28 T:2748578672   DEBUG: Load DialogKeyboard.xml: 20.21ms
22:16:28 T:3018667840   DEBUG: ------ Window Init (DialogKeyboard.xml) ------(blah blah keyboard entry)
22:16:37 T:3018667840   DEBUG: ------ Window Deinit (DialogKeyboard.xml) ------
22:16:37 T:2748578672  NOTICE: ############### Method: getSearchResultsEx
22:16:37 T:2748578672  NOTICE: ############### htmlshark
22:16:37 T:2748578672  NOTICE: ############### generateToken()
22:16:37 T:2748578672  NOTICE: GrooveAPI: _generateToken(): Token has expired
22:16:37 T:2748578672  NOTICE: ############### Method: getCommunicationToken
22:16:37 T:2748578672  NOTICE: ############### htmlshark
22:16:37 T:2748578672  NOTICE: ########### https://cowbell.grooveshark.com/more.php?getCommunicationToken
22:16:37 T:2748578672  NOTICE: {"header": {"session": "xxx", "client": "htmlshark", "clientRevision": "20110906", "uuid": "xxx"}, "privacy": 1, "method": "getCommunicationToken", "parameters": {"secretKey": "xxx"}, "country": {"CC4": "0", "CC1": "xxx", "CC3": "0", "CC2": "0", "IPR": "9157", "ID": "57"}}
22:16:38 T:2748578672  NOTICE: Token: xxx
22:16:38 T:2748578672  NOTICE: Saving instance
22:16:38 T:2748578672  NOTICE: Saving: ('xxx', xxx, u'xxx', xxx, 'xxx', '', False, -1)
22:16:38 T:2748578672  NOTICE: There was an error while saving the settings pickle ([Errno 2] No such file or directory: 'special://profile/addon_data/script.audio.grooveshark/instance.txt')
22:16:38 T:2748578672  NOTICE: Client: htmlshark, key: imOnAHorse
22:16:38 T:2748578672  NOTICE: ########### http://grooveshark.com/more.php?getSearchResultsEx
22:16:38 T:2748578672  NOTICE: {"header": {"session": "xxx", "token": "xxx", "client": "htmlshark", "clientRevision": "20110906", "uuid": "xxx"}, "privacy": 1, "method": "getSearchResultsEx", "parameters": {"query": "queen", "ppOverride": "false", "guts": 0, "type": "Songs"}, "country": {"CC4": "0", "CC1": "xxx", "CC3": "0", "CC2": "0", "IPR": "9157", "ID": "57"}}
22:16:38 T:3018667840   DEBUG: ------ Window Deinit (/home/xbmc/.xbmc/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/search.xml) ------
22:16:38 T:3018667840   ERROR: ClearBlock: Trying to clear non existent block /home/xbmc/.xbmc/addons/script.audio.grooveshark
22:16:39 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 7006
22:16:39 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 50
22:16:39 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 7002
22:16:39 T:2748578672  NOTICE: GrooveShark: onFocus(): id = 50
find quote
perro6969 Offline
Senior Member
Posts: 109
Joined: May 2010
Reputation: 0
Post: #674
DrDaxxy Wrote:I'd also like to see proxy support implemented directly in the script.

That would be great. I support the idea! Nod
Is there any plugin up there supporting proxy at all?
find quote
DrDaxxy Offline
Member
Posts: 58
Joined: Oct 2010
Reputation: 0
Post: #675
Off the top of my head, I can name BlueCop's Hulu plugin, and I'm sure I've seen other plugins with proxy support as well.
find quote
Post Reply