From 68a8fec4f8cd160d60ea2dc9ceab635deea5d0da Mon Sep 17 00:00:00 2001 From: gordielachance Date: Tue, 4 Oct 2016 17:08:05 +0200 Subject: [PATCH] try to fix https://github.com/gordielachance/plugin.audio.subsonic/issues/2 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9fd731d..a9c6afa 100644 --- a/main.py +++ b/main.py @@ -1045,7 +1045,7 @@ def download_tracks(ids): pc_progress = ids_parsed * pc_step progressdialog.update(pc_progress, 'Getting track informations...',get_entry_track_label(track)) - track_path_relative = track.get("path", None) # 'Radiohead/Kid A/Idioteque.mp3' + track_path_relative = track.get("path", None).encode('utf8', 'replace') # 'Radiohead/Kid A/Idioteque.mp3' track_path = os.path.join(download_folder, track_path_relative) # 'C:/users/.../Radiohead/Kid A/Idioteque.mp3' track_directory = os.path.dirname(os.path.abspath(track_path)) # 'C:/users/.../Radiohead/Kid A'