Mercurial > audlegacy-plugins
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 618:a7a28782c1b0 | 619:ca4cd00ca0c8 |
|---|---|
| 383 } | 383 } |
| 384 | 384 |
| 385 /* set mainwin title */ | 385 /* set mainwin title */ |
| 386 if (info->title) | 386 if (info->title) |
| 387 g_free(info->title); | 387 g_free(info->title); |
| 388 info->title = | 388 info->title = xmms_get_titlestring(audmad_config.title_override == TRUE ? |
| 389 xmms_get_titlestring(xmms_get_gentitle_format(), info->tuple); | 389 audmad_config.id3_format : xmms_get_gentitle_format(), info->tuple); |
| 390 | |
| 391 | 390 |
| 392 tlen = (gint) mad_timer_count(info->duration, MAD_UNITS_MILLISECONDS), | 391 tlen = (gint) mad_timer_count(info->duration, MAD_UNITS_MILLISECONDS), |
| 393 | 392 |
| 394 mad_plugin->set_info(info->title, | 393 mad_plugin->set_info(info->title, |
| 395 tlen == 0 ? -1 : tlen, | 394 tlen == 0 ? -1 : tlen, |
