Mercurial > audlegacy-plugins
comparison src/timidity/src/xmms-timidity.c @ 1687:d158ce84fda7
Modified for Tuplez/plugin API changes.
| author | Matti Hamalainen <ccr@tnsp.org> |
|---|---|
| date | Wed, 05 Sep 2007 09:29:26 +0300 |
| parents | 3a252050736c |
| children | 62e89e392227 |
comparison
equal
deleted
inserted
replaced
| 1600:49fe2225d236 | 1687:d158ce84fda7 |
|---|---|
| 310 | 310 |
| 311 input = tuple_new_from_filename(filename); | 311 input = tuple_new_from_filename(filename); |
| 312 | 312 |
| 313 title = tuple_formatter_make_title_string(input, get_gentitle_format()); | 313 title = tuple_formatter_make_title_string(input, get_gentitle_format()); |
| 314 if (title == NULL || *title == '\0') | 314 if (title == NULL || *title == '\0') |
| 315 title = g_strdup(tuple_get_string(input, "file-name")); | 315 title = g_strdup(tuple_get_string(input, FIELD_FILE_NAME, NULL)); |
| 316 | 316 |
| 317 tuple_free(input); | 317 tuple_free(input); |
| 318 | 318 |
| 319 return title; | 319 return title; |
| 320 } | 320 } |
