Fix artist's album bug.
authorstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Wed, 26 Jan 2011 12:35:49 +0000 (12:35 +0000)
committerstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Wed, 26 Jan 2011 12:35:49 +0000 (12:35 +0000)
git-svn-id: svn://svn.code.sf.net/p/xbmc-groove/code@42 2dec19e3-eb1d-4749-8193-008c8bba0994

default.py

index a4609db..72de575 100644 (file)
@@ -541,7 +541,11 @@ elif mode==MODE_SEARCH_ARTISTS:
     grooveshark.searchArtists()
     
 elif mode==MODE_SEARCH_ARTISTS_ALBUMS:
-    grooveshark.searchArtistsAlbums()
+    try: name=urllib.unquote_plus(params["name"])
+    except: 
+        name = ""
+        pass
+    grooveshark.searchArtistsAlbums(name)
     
 elif mode==MODE_SEARCH_PLAYLISTS:
     grooveshark.searchPlaylists() 
@@ -550,11 +554,7 @@ elif mode==MODE_POPULAR_SONGS:
     grooveshark.popularSongs()
     
 elif mode==MODE_ARTIST_POPULAR:
-    try: name=urllib.unquote_plus(params["name"])
-    except: 
-        name = ""
-        pass
-    grooveshark.artistPopularSongs(name)
+    grooveshark.artistPopularSongs()
 
 elif mode==MODE_FAVORITES:
     grooveshark.favorites()