diff --git a/headphones/cache.py b/headphones/cache.py index 29564756..f227910e 100644 --- a/headphones/cache.py +++ b/headphones/cache.py @@ -194,8 +194,8 @@ class Cache(object): params = { "method": "album.getInfo", "api_key": lastfm_apikey, - "artist": dbartist['ArtistName'], - "album": dbartist['AlbumTitle'], + "artist": dbartist['ArtistName'].encode('utf-8'), + "album": dbartist['AlbumTitle'].encode('utf-8'), "format": "json" }