From: Rudolf Polzer Date: Wed, 15 Sep 2010 16:18:56 +0000 (+0200) Subject: work around a vorbiscomment fail X-Git-Tag: xonotic-v0.1.0preview~220 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=b67c1547851e7ee826f0200835fb7ad4e79a5bd9 work around a vorbiscomment fail --- diff --git a/misc/tools/cached-converter.sh b/misc/tools/cached-converter.sh index 0bd61fdc..f6116a65 100755 --- a/misc/tools/cached-converter.sh +++ b/misc/tools/cached-converter.sh @@ -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()