From 5ddcb883c0b050746689a6ca0bc0a47d81fed4e5 Mon Sep 17 00:00:00 2001 From: data Date: Tue, 11 Oct 2005 13:09:33 +0000 Subject: [PATCH] Disable eject when -C is passed on the command line. Enable loud output if we are not reading from the CD and we have only 1 process. git-svn-id: http://abcde.googlecode.com/svn/trunk@145 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- abcde | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/abcde b/abcde index 2e08802..fd7c8c6 100755 --- a/abcde +++ b/abcde @@ -2610,6 +2610,9 @@ if echo $CDROM | grep -i -q '.flac$'; then fi fi +# If the user provided a DISCID, disable eject +if [ -n "$DISCID" ]; then EJECTCD=n ; fi + # Decide if we can continue. if [ "$ONETRACK" = "y" ]; then # FIXME # remove check as soon as we find out about the other readers @@ -3209,6 +3212,11 @@ else if [ "$NOGAP" = "y" ] || [ "$BATCHNORM" = "y" ]; then : else + # If we are not reading, set the encode output to loud already, so + # that we can see the output of the first track. + if [ "$MAXPROCS" = "1" ] && [ ! "$DOREAD" = "y" ]; then + echo "encode-output=loud" >> "$ABCDETEMPDIR/status" + fi echo NEXTTRACK # Get the encoder machine churning again if [ "$DOREAD" = "y" ]; then if [ "$LOWDISK" = "y" ] && [ "$DOENCODE" = "y" ]; then -- 2.20.1