song: updateSongInfo: left out charset conversion when going thread-safe
git-svn-id: https://svn.musicpd.org/mpd/trunk@7124 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -294,8 +294,10 @@ int updateSongInfo(Song * song)
|
|||||||
InputPlugin *plugin;
|
InputPlugin *plugin;
|
||||||
unsigned int next = 0;
|
unsigned int next = 0;
|
||||||
char path_max_tmp[MPD_PATH_MAX];
|
char path_max_tmp[MPD_PATH_MAX];
|
||||||
char *abs_path = rmp2amp_r(path_max_tmp,
|
char abs_path[MPD_PATH_MAX];
|
||||||
get_song_url(path_max_tmp, song));
|
|
||||||
|
utf8_to_fs_charset(abs_path, get_song_url(path_max_tmp, song));
|
||||||
|
rmp2amp_r(abs_path, abs_path);
|
||||||
|
|
||||||
if (song->tag)
|
if (song->tag)
|
||||||
freeMpdTag(song->tag);
|
freeMpdTag(song->tag);
|
||||||
|
Reference in New Issue
Block a user