diff src/madplug/decoder.c @ 619:ca4cd00ca0c8 trunk

[svn] - now title_override works.
author yaz
date Thu, 08 Feb 2007 00:55:06 -0800
parents 3f7a52adfe0e
children 8829833d37bc
line wrap: on
line diff
--- a/src/madplug/decoder.c	Wed Feb 07 23:31:26 2007 -0800
+++ b/src/madplug/decoder.c	Thu Feb 08 00:55:06 2007 -0800
@@ -385,9 +385,8 @@
     /* set mainwin title */
     if (info->title)
         g_free(info->title);
-    info->title =
-        xmms_get_titlestring(xmms_get_gentitle_format(), info->tuple);
-
+    info->title = xmms_get_titlestring(audmad_config.title_override == TRUE ?
+        audmad_config.id3_format : xmms_get_gentitle_format(), info->tuple);
     
     tlen = (gint) mad_timer_count(info->duration, MAD_UNITS_MILLISECONDS),