[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[abcde] Bug#110863: abcde: Bad bladeenc command line110863@bugs.debian.org



Package: abcde
Version: 2.0-1
Severity: normal

Hi,

according to the command-line help of bladeenc:

Usage: BladeEnc [<switches>] [sample1] [<sample2>] [<...>]

abcde uses "bladeenc IN OUT ENCODEROPTS", which doesn't work.

I suggest you use the following command line instead (at the case
statement):

bladeenc) run_command encodetrack-$1 nice $ENCNICE $ENCODER $ENCODEROPTS -OUTDIR="$(dirname "$OUT")" "$IN" ;;

Note that all file-arguments to bladeenc must be wav files to encode. You
can't specify the .mp3 to encode _to_, only through OUTDIR.

Also, when building the ENCODEROPTS variable, I suggest the following
change:

	bladeenc)
		ENCODEROPTS="$BLADEENCOPTS -QUIT"

Without -QUIT, bladeenc will wait for a keypress after processing the .wav.

Andrew

-- 
            Andrew Korn (Korn Andras) <korn@chardonnay.math.bme.hu>
             Finger korn@chardonnay.math.bme.hu for pgp key. QOTD:
              Black Holes were created when God divided by zero.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux utopia 2.4.9+ext3+medusa+crypto-utopia #1 Wed Aug 22 21:27:20 CEST 2001 i686 unknown

Versions of the packages abcde depends on:
ii  cdda2wav       1.10a18-2.1    Creates WAV files from audio cd's
ii  cd-discid      0.7-1          CDDB DiscID utility
ii  cdparanoia     3a9.8-4        An audio extraction tool for sampling CDs.
ii  vorbis-tools   1.0rc2-1.cvs20 Several Ogg Vorbis Tools
ii  wget           1.7-2          utility to retrieve files from the WWW via H

--- Begin /etc/abcde.conf (modified conffile)
CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi"
HELLOINFO="korn@chardonnay.math.bme.hu"
ENCODERSYNTAX=bladeenc
ENCNICE=0
READNICE=-20
BLADEENCOPTS=-256
CDROM=/dev/cdroms/cdrom0
OUTPUTTYPE=mp3
OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}-${TRACKFILE}.${OUTPUTTYPE}'
VAOUTPUTFORMAT='${ALBUMFILE}/${TRACKNUM}-${ARTISTFILE}-${TRACKFILE}.${OUTPUTTYPE}'
mungefilename ()
{
	echo "$@" | sed s,:,\ -,g | tr \ / __ | tr -d \'\? | tr -d \[:cntrl:\] | unhung
}
EJECTCD=y

--- End /etc/abcde.conf

To unsubscribe: echo unsubscribe | mail abcde-request@whimsica.lly.org