Re: [mpd-devel] [PATCH 2/2] TagStream: continue to scan if a plugin scanned a duration

2015-05-04 Thread Max Kellermann
On 2015/05/03 16:36, Thomas Guillem tho...@gllm.fr wrote: It happens when using mad and ffmpeg. The mad plugin will parse only the duration and ScanStream will return true. Therefore, ffmpeg plugin won't be used and no tags will be scanned. This would add a lot of overhead. What is the reason

Re: [mpd-devel] [PATCH 2/2] TagStream: continue to scan if a plugin scanned a duration

2015-05-04 Thread Max Kellermann
On 2015/05/04 15:55, Thomas Guillem tho...@gllm.fr wrote: I use mpd on android with libnfs (see https://github.com/tguillem/mpd/commits/android-2), therefore id3 is not available to scan files (because it uses a fd). Then change the ID3 code to use the stream API.