From ceb196a4cb85a58839e7b94f261398d53512c439 Mon Sep 17 00:00:00 2001 From: Andras Elso Date: Fri, 9 Jun 2017 19:49:00 +0200 Subject: [PATCH] Fix playlist name encode --- spotdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotdl.py b/spotdl.py index c4a1c21..a7cb126 100644 --- a/spotdl.py +++ b/spotdl.py @@ -130,7 +130,7 @@ def feedPlaylist(username): links = [] check = 1 for playlist in playlists['items']: - print(str(check) + '. ' + playlist['name'] + ' (' + str(playlist['tracks']['total']) + ' tracks)') + print(str(check) + '. ' + playlist['name'].encode('utf-8') + ' (' + str(playlist['tracks']['total']) + ' tracks)') links.append(playlist) check += 1 print('')