Kodi Community Forum
[RELEASE] Grooveshark (Script) Music Addon - 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 (Script) Music Addon (/showthread.php?tid=74474)



- VanZan - 2011-07-24

On my XBOX it's in the XBMC root directory. You might need to go into system settings and enable "debug" to get the full story though.


- dallasnights - 2011-07-24

/private/var/mobile/Library/Preferences

look for xbmc.log


- phoebus - 2011-07-24

Found it! Cheers for that =]

here it is: http://pastebin.com/XZNfPmwa


- -EaS- - 2011-07-24

I'm totally new to grooveshark (being used to spotify). So I installed the XBMC grooveshark add-on just yesterday - and found out it was broken. I got the "Unable to get a new session ID" error.
Today I replaced GrooveLib.py, GrooveAPI.py and __init__.py as suggested in post 529. Outcome: It works!

But now I have a question. Having never used the grooveshark add-on before, I'm curious if this behaviour is normal (I've added screenshots, saves words).


1 - I search on the band Pantera, results are found:

Image



2 - When pressing done I get this screen:

Image



3 - 106 Artists, hmmm well ok, little strange but ok - as long as what I searched for is there, this is probably the way the add-on works. So I select Artists:

Image


Huh? I seem to get totally random data, *without* the band I searched for. Is this maybe a bug? Or am I using the add-on wrong?


- VanZan - 2011-07-25

Any chance you'd concentrate on getting it working on the XBOX Solver mate? From what I've seen of the script it's awesome! Pity I have to keep restarting it to use it!


- solver - 2011-07-25

phoebus Wrote:Found it! Cheers for that =]

here it is: http://pastebin.com/XZNfPmwa

I haven't upgraded the script to be compatible with eden-pre just yet - that's why the script wont run. I'm gonna rewrite parts of the script and at the same time make it compatible with eden... at some point Wink


- solver - 2011-07-25

-EaS- Wrote:Huh? I seem to get totally random data, *without* the band I searched for. Is this maybe a bug? Or am I using the add-on wrong?

It looks like your ip has been marked by groovesharks attacker detection. Which is strange since they usually do that on a client basis but mine returns the correct results. Have you been using some sort of grooveshark downloader?


- Kytrix - 2011-07-25

Hi,
I'm using Grooveshark-for-xbmc for 2 months,
recently I can't see my playlists anymore :/ ..*So I try from another computer and I get the same error.


I find that in the debug log :
Code:
21:08:38 T:140509483144960 M:1864491008  NOTICE: Traceback (most recent call last):
21:08:38 T:140509483144960 M:1864491008  NOTICE:   File "/home/USER/.xbmc/addons/script.audio.grooveshark/GrooveShark.py", line 555, in down
21:08:38 T:140509483144960 M:1864491008  NOTICE:     res = item._list(self.gui, self.gsapi)
21:08:38 T:140509483144960 M:1864491008  NOTICE:   File "/home/USER/.xbmc/addons/script.audio.grooveshark/GrooveShark.py", line 393, in _list
21:08:38 T:140509483144960 M:1864491008  NOTICE:     l2 = str(playlist.about)
21:08:38 T:140509483144960 M:1864491008  NOTICE: UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 3: ordinal not in range(128)
21:08:38 T:140509483144960 M:1864491008  NOTICE: GrooveShark: onFocus(): id = 7006
21:08:38 T:140509483144960 M:1864491008  NOTICE: GrooveShark: onFocus(): id = 50

It seem to a bug somewhere in my playlists .. because of an usuporter character ?

Does someone want to see my playlist ...
I could check with a free account maybe.


- solver - 2011-07-25

VanZan Wrote:Any chance you'd concentrate on getting it working on the XBOX Solver mate? From what I've seen of the script it's awesome! Pity I have to keep restarting it to use it!

Sorry, VanZan. I'm afraid I've given up supporting the XBOX. It's getting increasingly difficult to support both xbox4xbmc and XBMC because the code base is starting to differ quite a lot. That said, I've heard from others that it runs on XBMC and the changes I've made shouldn't affect stability. Any chance you could get me the log? Might be something in there...


- VanZan - 2011-07-25

solver Wrote:Sorry, VanZan. I'm afraid I've given up supporting the XBOX. It's getting increasingly difficult to support both xbox4xbmc and XBMC because the code base is starting to differ quite a lot. That said, I've heard from others that it runs on XBMC and the changes I've made shouldn't affect stability. Any chance you could get me the log? Might be something in there...

Ok thanks for letting me know. I'll try and post a log later.


- solver - 2011-07-25

Kytrix Wrote:Hi,
I'm using Grooveshark-for-xbmc for 2 months,
recently I can't see my playlists anymore :/ ..*So I try from another computer and I get the same error.


I find that in the debug log :
Code:
21:08:38 T:140509483144960 M:1864491008  NOTICE: Traceback (most recent call last):
21:08:38 T:140509483144960 M:1864491008  NOTICE:   File "/home/USER/.xbmc/addons/script.audio.grooveshark/GrooveShark.py", line 555, in down
21:08:38 T:140509483144960 M:1864491008  NOTICE:     res = item._list(self.gui, self.gsapi)
21:08:38 T:140509483144960 M:1864491008  NOTICE:   File "/home/USER/.xbmc/addons/script.audio.grooveshark/GrooveShark.py", line 393, in _list
21:08:38 T:140509483144960 M:1864491008  NOTICE:     l2 = str(playlist.about)
21:08:38 T:140509483144960 M:1864491008  NOTICE: UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 3: ordinal not in range(128)
21:08:38 T:140509483144960 M:1864491008  NOTICE: GrooveShark: onFocus(): id = 7006
21:08:38 T:140509483144960 M:1864491008  NOTICE: GrooveShark: onFocus(): id = 50

It seem to a bug somewhere in my playlists .. because of an usuporter character ?

Does someone want to see my playlist ...
I could check with a free account maybe.

It's a bug in the code - your playlist is fine. I don't know why I'm converting from unicode to string. I'll correct it for the next release.

EDIT: Corrected in svn


- -EaS- - 2011-07-25

solver Wrote:It looks like your ip has been marked by groovesharks attacker detection. Which is strange since they usually do that on a client basis but mine returns the correct results. Have you been using some sort of grooveshark downloader?

Well, the only thing I've used (since 2 days) is your (great!) add-on, and before that maybe once or twice grooveshark itself on http://grooveshark.com/. Never any downloader or such stuff.

The returns on searches on grooveshark.com itself are correct, and also the correct songs are played. I can make a playlist on the website, that also plays correctly on XBMC/Grooveshark add-on. Also songs I can choose in popular play correctly on XBMC. So my IP probably isn't flagged as attacker.

Maybe I messed something up when replacing the 3 files. I will take a look at it (maybe reinstall, looking through the log etc,). I hope I will find out what it is Smile


- solver - 2011-07-25

rflores2323 Wrote:Hey solver. Can u also fix the texture problem on the atv2 (or ios) when highlighting. Are u getting the plugin ready for eden?Thanks for the great work.

I haven't figured out the texture problem yet. But a quick fix is to change the color when an item is selected. Go to line 783 in ./resources/skins/DefaultSkin/720/grooveshark.xml and change the <textcolor> tag to another color.


- Kytrix - 2011-07-25

...so I create a free account and add all my playlists manualy with the same name
and didn't get error :/
here are my playlists
http://grooveshark.com/#/kytrix/playlists


- Kytrix - 2011-07-25

I'm going to test Smile
svn update Big Grin