comparison src/timidity/xmms-timidity.c @ 2055:2f2ffbc2d04d

gentitle changes
author William Pitcock <nenolod@atheme.org>
date Sat, 13 Oct 2007 20:43:07 -0500
parents 8f3188746b64
children b8da6a0b0da2
comparison
equal deleted inserted replaced
2054:f7deb2ae6f0a 2055:2f2ffbc2d04d
289 Tuple *input; 289 Tuple *input;
290 gchar *title; 290 gchar *title;
291 291
292 input = aud_tuple_new_from_filename(filename); 292 input = aud_tuple_new_from_filename(filename);
293 293
294 title = aud_tuple_formatter_make_title_string(input, get_gentitle_format()); 294 title = aud_tuple_formatter_make_title_string(input, aud_get_gentitle_format());
295 if (title == NULL || *title == '\0') 295 if (title == NULL || *title == '\0')
296 title = g_strdup(aud_tuple_get_string(input, FIELD_FILE_NAME, NULL)); 296 title = g_strdup(aud_tuple_get_string(input, FIELD_FILE_NAME, NULL));
297 297
298 aud_tuple_free(input); 298 aud_tuple_free(input);
299 299