diff src/audacious/playlist.c @ 2489:e56a55d07935 trunk

[svn] - revise r3986 to only override tuple->track_name on lengthless streams
author nenolod
date Thu, 08 Feb 2007 08:42:01 -0800
parents c5075a79f1aa
children b7f48f00a342
line wrap: on
line diff
--- a/src/audacious/playlist.c	Thu Feb 08 07:00:02 2007 -0800
+++ b/src/audacious/playlist.c	Thu Feb 08 08:42:01 2007 -0800
@@ -976,7 +976,7 @@
         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 && length == -1){
             if(playlist->position->tuple->track_name){
                 g_free(playlist->position->tuple->track_name);
             }