Commit ad631d56 authored by Max Kellermann's avatar Max Kellermann

stored_playlist: use fs_charset_to_utf8() for URLs

parent 7cbaf11d
...@@ -3,6 +3,7 @@ ver 0.17.6 (not yet released) ...@@ -3,6 +3,7 @@ ver 0.17.6 (not yet released)
- alsa: fix busy loop when USB sound device gets unplugged - alsa: fix busy loop when USB sound device gets unplugged
* stored playlists: * stored playlists:
- fix loading playlists with references to local files - fix loading playlists with references to local files
- obey filesystem_charset for URLs
ver 0.17.5 (2013/08/04) ver 0.17.5 (2013/08/04)
* protocol: * protocol:
......
...@@ -287,8 +287,11 @@ spl_load(const char *utf8path, GError **error_r) ...@@ -287,8 +287,11 @@ spl_load(const char *utf8path, GError **error_r)
continue; continue;
s = path_utf8; s = path_utf8;
} else } else {
s = g_strdup(s); s = fs_charset_to_utf8(s);
if (s == NULL)
continue;
}
g_ptr_array_add(list, s); g_ptr_array_add(list, s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment