2011-08-20, 01:33
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!