X-Git-Url: https://git.hcoop.net/clinton/abcde.git/blobdiff_plain/00840d9ad29e3280aae74bddfc20f969c26f808f..1750d493a3a131bfb5eed3697782024862438494:/abcde diff --git a/abcde b/abcde index 0b78836..9a5742f 100755 --- a/abcde +++ b/abcde @@ -347,9 +347,17 @@ do_replaygain() ogg);; *);; esac - echo vorbisgain-$OUTPUT >> "$ABCDETEMPDIR/status" + if [ "$RETURN" = "0" ]; then + run_command replaygain-$OUTPUT true + else + runcommand replaygain-$OUTPUT false + fi done - echo vorbisgain >> "$ABCDETEMPDIR/status" + if checkerrors replaygain-.{3,4}; then + run_command replaygain false + else + run_command replaygain true + fi fi } @@ -2527,6 +2535,11 @@ do esac done +if [ "$DONORMALIZE" = "y" ] && [ "$DOREPLAYGAIN" = "y" ]; then + # FIXME # should we abort on error or just inform the user? + : +fi + for SHOWCDDBFIELD in $(echo $SHOWCDDBFIELDS | tr , \ ); do case $SHOWCDDBFIELD in y*|Y*) SHOWCDDBYEAR="y";;