From: stephendenham Date: Wed, 26 Jan 2011 12:35:49 +0000 (+0000) Subject: Fix artist's album bug. X-Git-Url: https://git.hcoop.net/clinton/xbmc-groove.git/commitdiff_plain/a2e75b14495bcb35d2a6f2f073e3386ffd757a39 Fix artist's album bug. git-svn-id: svn://svn.code.sf.net/p/xbmc-groove/code@42 2dec19e3-eb1d-4749-8193-008c8bba0994 --- diff --git a/default.py b/default.py index a4609db..72de575 100644 --- a/default.py +++ b/default.py @@ -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()