abcde/abcde-2.3.99.6-speex-comment.patch
Ville Skyttä e201ec47da - Include fixes from Ubuntu's 2.3.99.6-1ubuntu2: enables M4A and Speex
tagging, fixes range code, and the -M option.
- Fix Speex comment tagging.
- Fix some usage message spelling errors.
- Drop disttag.
2008-01-20 19:40:24 +00:00

16 lines
840 B
Diff

diff -up abcde-2.3.99.6/abcde~ abcde-2.3.99.6/abcde
--- abcde-2.3.99.6/abcde~ 2008-01-20 14:39:48.000000000 +0200
+++ abcde-2.3.99.6/abcde 2008-01-20 14:39:56.000000000 +0200
@@ -1068,11 +1068,10 @@ do_encode ()
*=*) ;;
*) COMMENT="COMMENT=$COMMENT" ;;
esac
- COMMENT="--comment \"$COMMENT\""
fi
# Tag the file at encode time, as it can't be done after encoding.
if [ "$DOTAG" = "y" ]; then
- $RUN_COMMAND nice $EFFECTIVE_NICE $SPEEXENCODER $SPEEXENCODEROPTS --author "$TRACKARTIST" --title "$TRACKNAME" "$COMMENT" "$IN" "$OUT"
+ $RUN_COMMAND nice $EFFECTIVE_NICE $SPEEXENCODER $SPEEXENCODEROPTS --author "$TRACKARTIST" --title "$TRACKNAME" ${COMMENT:+--comment "$COMMENT"} "$IN" "$OUT"
else
$RUN_COMMAND nice $EFFECTIVE_NICE $SPEEXENCODER $SPEEXENCODEROPTS "$IN" "$OUT"
fi