Mercurial > audlegacy-plugins
comparison src/sexypsf/plugin.c @ 1473:eb0913bf54c3
use get_gentitle_format() to get format string so that presets and custom string can coexist.
| author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
|---|---|
| date | Sun, 12 Aug 2007 00:06:35 +0900 |
| parents | db616ccdd40c |
| children | 3a252050736c |
comparison
equal
deleted
inserted
replaced
| 1472:de03e6ff615d | 1473:eb0913bf54c3 |
|---|---|
| 249 static gchar *get_title_psf(gchar *fn) { | 249 static gchar *get_title_psf(gchar *fn) { |
| 250 gchar *title = NULL; | 250 gchar *title = NULL; |
| 251 Tuple *tuple = get_tuple_psf(fn); | 251 Tuple *tuple = get_tuple_psf(fn); |
| 252 | 252 |
| 253 if (tuple != NULL) { | 253 if (tuple != NULL) { |
| 254 title = tuple_formatter_process_string(tuple, cfg.gentitle_format); | 254 title = tuple_formatter_process_string(tuple, get_gentitle_format()); |
| 255 tuple_free(tuple); | 255 tuple_free(tuple); |
| 256 } | 256 } |
| 257 else | 257 else |
| 258 title = g_path_get_basename(fn); | 258 title = g_path_get_basename(fn); |
| 259 | 259 |
