work around a vorbiscomment fail
authorRudolf Polzer <divverent@alientrap.org>
Wed, 15 Sep 2010 16:18:56 +0000 (18:18 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 15 Sep 2010 16:18:56 +0000 (18:18 +0200)
misc/tools/cached-converter.sh

index 0bd61fdcd06aa8d913fed0b7ab18b0ebc624f27d..f6116a6571a71d55583a422fe0e63b6e3dea9872 100755 (executable)
@@ -113,10 +113,10 @@ reduce_ogg_ogg()
 {
        i=$1; shift; shift
        o=$1; shift; shift
-       tags=`vorbiscomment -R -l "$i"`
+       tags=`vorbiscomment -R -l "$i" || true`
        oggdec -o "$tmpdir/x.wav" "$i" && \
        oggenc -q"$1" -o "$o" "$tmpdir/x.wav"
-       echo "$tags" | vorbiscomment -R -w "$o"
+       echo "$tags" | vorbiscomment -R -w "$o" || true
 }
 
 reduce_wav_ogg()