Fix track labels on next pages.
authorstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Fri, 28 Jan 2011 09:56:16 +0000 (09:56 +0000)
committerstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Fri, 28 Jan 2011 09:56:16 +0000 (09:56 +0000)
git-svn-id: svn://svn.code.sf.net/p/xbmc-groove/code@45 2dec19e3-eb1d-4749-8193-008c8bba0994

default.py

index d44a236..5250150 100644 (file)
@@ -392,7 +392,7 @@ class Groveshark:
     # Make a song directory item
     def songItem(self, songid, name, album, artist, coverart, trackLabelFormat=ARTIST_ALBUM_NAME_LABEL):
         songImg = self._get_icon(coverart, 'song-' + str(songid) + "-image")
-        if trackLabelFormat == NAME_ALBUM_ARTIST_LABEL:
+        if int(trackLabelFormat) == NAME_ALBUM_ARTIST_LABEL:
             trackLabel = name + " - " + album + " - " + artist
         else:
             trackLabel = artist + " - " + album + " - " + name