Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Ignore mp3 files that mp3gain cannot process
In the validator, sometimes audio files either have a typo in their path, or aren't actually audio files (when this patch was being tested, the offending files were HTML files from a 301 redirect response). In those cases, mp3gain does not return any useful output. Specifically, instead of printing the header line plus the actually useful line, it just prints the header line, with an error message going to stderr (which we ignore because we only look at stdout). This patch just makes the validator skip any such files. Resolves LibriVox#119 Change-Id: Id08899ef6f415aeece6912e9676a7bcab05caf81
- Loading branch information