Mercurial > audlegacy-plugins
diff src/madplug/input.c @ 775:a24cc8848b9a trunk
[svn] - with fixed curl, read id3 tag over network works now.
author | yaz |
---|---|
date | Sat, 03 Mar 2007 05:55:23 -0800 |
parents | 22c82f3c0411 |
children | 8366ad444313 |
line wrap: on
line diff
--- a/src/madplug/input.c Sat Mar 03 05:34:23 2007 -0800 +++ b/src/madplug/input.c Sat Mar 03 05:55:23 2007 -0800 @@ -363,14 +363,10 @@ else title_input = info->tuple; -#define REUSE_FD 1 -#if REUSE_FD - if(info->infile) { + if(info->infile) info->id3file = id3_file_vfsopen(info->infile, ID3_FILE_MODE_READONLY); - } else -#endif - info->id3file = id3_file_open(info->filename, ID3_FILE_MODE_READONLY); + info->id3file = id3_file_open(info->filename, ID3_FILE_MODE_READONLY); if (!info->id3file) { #ifdef DEBUG @@ -499,9 +495,9 @@ #endif /* DEBUG */ input_alloc_tag(info); + input_read_tag(info); if(!info->remote) { // reduce startup delay - input_read_tag(info); read_replaygain(info); }