From b67c1547851e7ee826f0200835fb7ad4e79a5bd9 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 15 Sep 2010 18:18:56 +0200 Subject: [PATCH] work around a vorbiscomment fail --- misc/tools/cached-converter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.39.2