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)



- kyotocafe - 2011-08-03

solver Wrote: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

nice! looking forward to it Smile


- solver - 2011-08-03

VanZan Wrote:I got a log but it's too large for pastebin. I uploaded it here.

It looks like a memory leak of some sort that I shouldn't be able to cause - that's not to say it couldn't be my fault. I've made a quick hack to disable thumbnails. Go to line 717 in GrooveShark.py and update displayItems() like so:

Code:
    def displayItems(self, items, selected = 0):
        xbmcgui.lock()
        try:
            for item in items:
                item.setThumbnailImage('') # <-- Disable thumbnails
                self.addItem(item)
            self.setCurrentListPosition(selected)
            self.playlistHasFocus()
            xbmcgui.unlock()
        except:
            xbmcgui.unlock()
            self.debug('displayItems(): Could not add items')

See if it helps.


- solver - 2011-08-03

Zill Wrote:I'm still getting the notorious "Session-ID" error, can't even exit the plugin after I enter it, only alt+tab and close the XBMC. Tried installing from the XBMC addons repository, didn't work, tried downloading the zip and installing it via the xbmc "Install from Zip" feature, still no dice.

Please help.. Smile

It sounds like you're still using the old version of the script. It happens sometimes when you upgrade. I need the debug log to know for sure. Remember to turn on debugging in the script before you post the log to pastebin.


- solver - 2011-08-03

-EaS- Wrote:The partial name search should work correct? (Especially since it only returns one hit)

Well, no. The search suggestions are just that; suggestions. When you write "pant" it suggests "pantera" as what you might mean. You have to press escape and select one of the suggestions to search for it. If you type "pant" and press enter/select then it searches for "pant" (Grooveshark.com will give the exact same results). The search suggestions are merely from a database I've compiled from the top artists/albums/songs on last.fm. It has about 9000 suggestions all in all. No suggestions doesn't mean grooveshark wont have what you're looking for.


- Zill - 2011-08-04

solver Wrote:It sounds like you're still using the old version of the script. It happens sometimes when you upgrade. I need the debug log to know for sure. Remember to turn on debugging in the script before you post the log to pastebin.

First time using pastebin Smile
http://pastebin.com/9Q8a3feq

According to the log i'm on the correct version:
01:02:54 T:3364 M:2172825600 NOTICE: GrooveShark version 0.4.2


Thank you!


- VanZan - 2011-08-04

Zill Wrote:First time using pastebin Smile
http://pastebin.com/9Q8a3feq

According to the log i'm on the correct version:
01:02:54 T:3364 M:2172825600 NOTICE: GrooveShark version 0.4.2


Thank you!

I hope solver doesn't mind but I had a quick look at your log and it seems the trouble is with those 3 files that were updated. I don't suppose you could go to this post:

http://forum.xbmc.org/showpost.php?p=846215&postcount=529

and grab the three files from the trunk (url on first page of this thread) and copy them over your existing ones?


- Zill - 2011-08-04

VanZan Wrote:I hope solver doesn't mind but I had a quick look at your log and it seems the trouble is with those 3 files that were updated. I don't suppose you could go to this post:

http://forum.xbmc.org/showpost.php?p=846215&postcount=529

and grab the three files from the trunk (url on first page of this thread) and copy them over your existing ones?

Of course I don't mind trying Smile at work now, will try this when i'm back home and post back.
Thanks! Smile


- Zill - 2011-08-05

VanZan Wrote:I hope solver doesn't mind but I had a quick look at your log and it seems the trouble is with those 3 files that were updated. I don't suppose you could go to this post:

http://forum.xbmc.org/showpost.php?p=846215&postcount=529

and grab the three files from the trunk (url on first page of this thread) and copy them over your existing ones?

All the files had the exact same size - same thing all over again, did not work.. Sad


- Zill - 2011-08-06

Hi!,
I tried replacing the 3 files with the ones on the SVN, they had similar size - but I gave it a shot anyway - and no success Sad


- -EaS- - 2011-08-08

solver Wrote:Well, no. The search suggestions are just that; suggestions. When you write "pant" it suggests "pantera" as what you might mean. You have to press escape and select one of the suggestions to search for it. If you type "pant" and press enter/select then it searches for "pant" (Grooveshark.com will give the exact same results). The search suggestions are merely from a database I've compiled from the top artists/albums/songs on last.fm. It has about 9000 suggestions all in all. No suggestions doesn't mean grooveshark wont have what you're looking for.

Nod
Ah! That solved my whole 'problem'! Incorrect usage of the add-on it was. Hehe Big Grin. I use some antique remote with custom commands, where ESC was not one of the logic options to try after a partial search on a band/artist name (I always pressed 'done').

Now I'm accustomed, this add-on is going to be used a lot. Great work! Thanks.


- solver - 2011-08-09

Zill Wrote:First time using pastebin Smile
http://pastebin.com/9Q8a3feq

According to the log i'm on the correct version:
01:02:54 T:3364 M:2172825600 NOTICE: GrooveShark version 0.4.2


Thank you!

It looks like you're using the pre-eden version of XBMC. It uses python 2.6 which the script wont run on just yet. It will in the future.


- mrdominuzq - 2011-08-10

updated danish translation

http://hotfile.com/dl/126398571/7b786b9/strings.xml.html


- dallasnights - 2011-08-11

All of a sudden this morning I am getting, Unable to get session ID please wait a few minutes and it just sits there

Does anyone have a FIX

Thanks all
Reason: Never mind must have been a hicup all is back now wierd


- Wanilton - 2011-08-19

Translate for portuguese (Brazil)

http://dl.dropbox.com/u/25170804/Portuguese%20%28Brazil%29.zip

Thanks


- VanZan - 2011-08-20

solver Wrote:It looks like a memory leak of some sort that I shouldn't be able to cause - that's not to say it couldn't be my fault. I've made a quick hack to disable thumbnails. Go to line 717 in GrooveShark.py and update displayItems() like so:

Code:
    def displayItems(self, items, selected = 0):
        xbmcgui.lock()
        try:
            for item in items:
                item.setThumbnailImage('') # <-- Disable thumbnails
                self.addItem(item)
            self.setCurrentListPosition(selected)
            self.playlistHasFocus()
            xbmcgui.unlock()
        except:
            xbmcgui.unlock()
            self.debug('displayItems(): Could not add items')

See if it helps.

Your changes did help a good bit. There's still a small memory leak that causes it to stop working after a prolonged period. Don't know if you've exhausted all your options. It's a mighty script though!