[RELEASE] Grooveshark (Script) Music Addon

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DrDaxxy Offline
Junior Member
Posts: 15
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: 73
Joined: Mar 2011
Reputation: 0
Post: #672
when searching result is sorry any idea?
hanks in advanced.
find quote
DrDaxxy Offline
Junior Member
Posts: 15
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: 105
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
Junior Member
Posts: 15
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
mikey1234 Offline
Fan
Posts: 456
Joined: Nov 2011
Reputation: 18
Post: #676
im having issues with groovesharks layout with eden beta 2 and confluence skin doesnt look great

when i select music to play the side bar comes out and when i try to select anything the text comes in yellow really weird

[Image: Groove_Shark.jpg]
find quote
perro6969 Offline
Senior Member
Posts: 105
Joined: May 2010
Reputation: 0
Post: #677
DrDaxxy Wrote: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.
Thanks!
No idea how to do that but I'll take a look at the hulu plugin.
find quote
mikey1234 Offline
Fan
Posts: 456
Joined: Nov 2011
Reputation: 18
Post: #678
mikey1234 Wrote:im having issues with groovesharks layout with eden beta 2 and confluence skin doesnt look great

when i select music to play the side bar comes out and when i try to select anything the text comes in yellow really weird

[Image: Groove_Shark.jpg]

issue sorted now because i was on 4:3 screen
find quote
mikey1234 Offline
Fan
Posts: 456
Joined: Nov 2011
Reputation: 18
Post: #679
my search results always come back as nothing

http://pastebin.com/TF7fRUTw
find quote
kobyboy Offline
Member
Posts: 73
Joined: Mar 2011
Reputation: 0
Post: #680
mikey1234 Wrote:my search results always come back as nothing

http://pastebin.com/TF7fRUTw

Same here and now the songs from playlist or popular just won't play at all just an error that states can not find next song in list .
Any fix on the horizon? oh yes not to mention that you cannot search for a song or artist.
Thanks Kobyboy
find quote
Post Reply