Mercurial > audlegacy
changeset 1517:1890cc16419f trunk
[svn] - why wma tags were not converted to utf8? by the way, this made libnotify crash when wma tuple contained non-utf8 strings
author | giacomo |
---|---|
date | Mon, 07 Aug 2006 17:18:08 -0700 |
parents | 3483fb26b9fb |
children | 0c5dc8ffcc42 |
files | ChangeLog Plugins/Input/wma/wma.c |
diffstat | 2 files changed, 14 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Aug 07 16:34:31 2006 -0700 +++ b/ChangeLog Mon Aug 07 17:18:08 2006 -0700 @@ -1,3 +1,11 @@ +2006-08-07 23:34:31 +0000 Giacomo Lozito <james@develia.org> + revision [1946] + - when audacious is started and track detail on current song are requested, try to check if a decoder exists before falling back to the tuple display dialog + + Changes: Modified: + +4 -2 trunk/audacious/playlist.c + + 2006-08-07 11:19:43 +0000 Tony Vroon <chainsaw@gentoo.org> revision [1944] Endianness fix by Luca Barbato <lu_zero@gentoo.org>.
--- a/Plugins/Input/wma/wma.c Mon Aug 07 16:34:31 2006 -0700 +++ b/Plugins/Input/wma/wma.c Mon Aug 07 17:18:08 2006 -0700 @@ -37,6 +37,7 @@ #include "libaudacious/util.h" #include "libaudacious/titlestring.h" #include "libaudacious/vfs.h" +#include "audacious/util.h" #include "avcodec.h" #include "avformat.h" @@ -265,13 +266,13 @@ if((in->title[0] != '\0') || (in->author[0] != '\0') || (in->album[0] != '\0') || (in->comment[0] != '\0') || (in->genre[0] != '\0') || (in->year != 0) || (in->track != 0)) { - tuple->performer = w_getstr(in->author); - tuple->album_name = w_getstr(in->album); - tuple->track_name = w_getstr(in->title); + tuple->performer = str_to_utf8(w_getstr(in->author)); + tuple->album_name = str_to_utf8(w_getstr(in->album)); + tuple->track_name = str_to_utf8(w_getstr(in->title)); tuple->year = in->year; tuple->track_number = in->track; - tuple->genre = w_getstr(in->genre); - tuple->comment = w_getstr(in->comment); + tuple->genre = str_to_utf8(w_getstr(in->genre)); + tuple->comment = str_to_utf8(w_getstr(in->comment)); } if (in->duration)