Mercurial > audlegacy-plugins
comparison src/madplug/input.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 | 4e612b01f303 |
comparison
equal
deleted
inserted
replaced
| 1472:de03e6ff615d | 1473:eb0913bf54c3 |
|---|---|
| 462 | 462 |
| 463 tuple_associate_string(title_input, "codec", "MPEG Audio (MP3)"); | 463 tuple_associate_string(title_input, "codec", "MPEG Audio (MP3)"); |
| 464 tuple_associate_string(title_input, "quality", "lossy"); | 464 tuple_associate_string(title_input, "quality", "lossy"); |
| 465 | 465 |
| 466 info->title = tuple_formatter_process_string(title_input, audmad_config.title_override == TRUE ? | 466 info->title = tuple_formatter_process_string(title_input, audmad_config.title_override == TRUE ? |
| 467 audmad_config.id3_format : cfg.gentitle_format); | 467 audmad_config.id3_format : get_gentitle_format()); |
| 468 | 468 |
| 469 // for connection via proxy, we have to stop transfer once. I can't explain the reason. | 469 // for connection via proxy, we have to stop transfer once. I can't explain the reason. |
| 470 if (info->infile != NULL) { | 470 if (info->infile != NULL) { |
| 471 vfs_fseek(info->infile, -1, SEEK_SET); // an impossible request | 471 vfs_fseek(info->infile, -1, SEEK_SET); // an impossible request |
| 472 vfs_fseek(info->infile, curpos, SEEK_SET); | 472 vfs_fseek(info->infile, curpos, SEEK_SET); |
