# HG changeset patch # User Yoshiki Yazawa # Date 1184816990 -32400 # Node ID bb1fa0aed8f4fc64b3d09b953d5cbb3133de7dba # Parent 8e4da6a4ab91e7f2155dec6d331b1f6bbcb118c9 add url unescape code to playlist_get_info_text(). diff -r 8e4da6a4ab91 -r bb1fa0aed8f4 src/audacious/playlist.c --- a/src/audacious/playlist.c Wed Jul 18 21:42:58 2007 +0900 +++ b/src/audacious/playlist.c Thu Jul 19 12:49:50 2007 +0900 @@ -1501,9 +1501,13 @@ title = str_to_utf8(playlist->position->title); } else { - gchar *basename = g_path_get_basename(playlist->position->filename); + gchar *realfn = NULL; + gchar *basename = NULL; + realfn = g_filename_from_uri(playlist->position->filename, NULL, NULL); + basename = g_path_get_basename(realfn ? realfn : playlist->position->filename); title = filename_to_utf8(basename); - g_free(basename); + g_free(realfn); realfn = NULL; + g_free(basename); basename = NULL; } /*