Mercurial > audlegacy-plugins
comparison src/madplug/input.c @ 2142:76a19617d685
bugfixed the way shoutcast is formatted ;p
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 28 Oct 2007 14:28:13 -0500 |
parents | 2f2ffbc2d04d |
children | 9a869d4bb0d3 |
comparison
equal
deleted
inserted
replaced
2141:c266c29a36c5 | 2142:76a19617d685 |
---|---|
481 g_free(tmp); | 481 g_free(tmp); |
482 tmp = NULL; | 482 tmp = NULL; |
483 } | 483 } |
484 | 484 |
485 if (metadata) | 485 if (metadata) |
486 tmp = aud_tuple_formatter_process_string(info->tuple, "${?title:${title}}${?stream: (${stream})"); | 486 tmp = aud_tuple_formatter_process_string(info->tuple, "${?title:${title}}${?stream: (${stream})}"); |
487 else { | 487 else { |
488 gchar *realfn = g_filename_from_uri(info->filename, NULL, NULL); | 488 gchar *realfn = g_filename_from_uri(info->filename, NULL, NULL); |
489 gchar *tmp2 = g_path_get_basename(realfn ? realfn : info->filename); // info->filename is uri. --yaz | 489 gchar *tmp2 = g_path_get_basename(realfn ? realfn : info->filename); // info->filename is uri. --yaz |
490 tmp = aud_str_to_utf8(tmp2); | 490 tmp = aud_str_to_utf8(tmp2); |
491 g_free(tmp2); tmp2 = NULL; | 491 g_free(tmp2); tmp2 = NULL; |