From: Clinton Ebadi Date: Mon, 27 Apr 2015 04:37:17 +0000 (-0400) Subject: don't check isVerified flag when adding albums to directory X-Git-Url: https://git.hcoop.net/clinton/xbmc-groove.git/commitdiff_plain/df35aa069a65b5a8a64b686041c606a99d4b4ffe don't check isVerified flag when adding albums to directory GrooveAPI is set to only check for verified albums, and checking for album existence makes listings extremely slow / doesn't seem to affect the result. --- diff --git a/default.py b/default.py index 27fb276..a750f09 100644 --- a/default.py +++ b/default.py @@ -841,13 +841,11 @@ class Grooveshark: while i < n: album = albums[i] albumID = album[3] - if isverified: - albumArtistName = album[0] - albumName = album[2] - albumImage = self._get_icon(album[4], 'album-' + str(albumID)) - self._add_dir(albumName + " - " + albumArtistName, '', MODE_ALBUM, albumImage, albumID, itemsExisting) - else: - itemsExisting = itemsExisting - 1 + + albumArtistName = album[0] + albumName = album[2] + albumImage = self._get_icon(album[4], 'album-' + str(albumID)) + self._add_dir(albumName + " - " + albumArtistName, '', MODE_ALBUM, albumImage, albumID, itemsExisting) i = i + 1 # Not supported by key #if artistid > 0: