Merge remote-tracking branch 'herrernst/fix-non-ascii-paths' into develop

This commit is contained in:
Stein Magnus Jodal 2013-03-30 14:59:13 +01:00
commit 7e0b16680c

View File

@ -146,7 +146,7 @@ def _convert_mpd_data(data, tracks, music_dir):
path = data['file'][1:]
else:
path = data['file']
path = urllib.unquote(path)
path = urllib.unquote(path.encode('ascii')).decode('utf-8')
if artist_kwargs:
artist = Artist(**artist_kwargs)