# HG changeset patch # User yaz # Date 1170946802 28800 # Node ID c5075a79f1aa27aff7c4e15c5543cd6666cce32e # Parent ba8c2a94262ca1872469698ec2464baeae0c6f04 [svn] make input->set_info overwrite tuple->track_name. it allows input plugins to update fileinfopopup along with meta data in a stream. it may incur side effects, please let me know if you find any problem. diff -r ba8c2a94262c -r c5075a79f1aa ChangeLog --- a/ChangeLog Thu Feb 08 01:43:09 2007 -0800 +++ b/ChangeLog Thu Feb 08 07:00:02 2007 -0800 @@ -1,3 +1,11 @@ +2007-02-08 09:43:09 +0000 Yoshiki Yazawa + revision [3984] + - suppress warning + + trunk/src/audacious/ui_fileinfopopup.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2007-02-08 05:08:20 +0000 Yoshiki Yazawa revision [3982] - make SIGTERM handler always work. diff -r ba8c2a94262c -r c5075a79f1aa src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Thu Feb 08 01:43:09 2007 -0800 +++ b/src/audacious/build_stamp.c Thu Feb 08 07:00:02 2007 -0800 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070208-3982"; +const gchar *svn_stamp = "20070208-3984"; diff -r ba8c2a94262c -r c5075a79f1aa src/audacious/playlist.c --- a/src/audacious/playlist.c Thu Feb 08 01:43:09 2007 -0800 +++ b/src/audacious/playlist.c Thu Feb 08 07:00:02 2007 -0800 @@ -974,6 +974,14 @@ g_free(playlist->position->title); playlist->position->title = g_strdup(title); playlist->position->length = length; + + // overwrite tuple->track_name, mainly for streaming. it may incur side effects. --yaz + if(playlist->position->tuple){ + if(playlist->position->tuple->track_name){ + g_free(playlist->position->tuple->track_name); + } + playlist->position->tuple->track_name = g_strdup(title); + } } PLAYLIST_UNLOCK(playlist->mutex);