HCoop
/
clinton
/
abcde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add configurable options for replaygain tools.
[clinton/abcde.git]
/
abcde
diff --git
a/abcde
b/abcde
index
6fd1506
..
60c07ae
100755
(executable)
--- a/
abcde
+++ b/
abcde
@@
-13,7
+13,7
@@
#
# $Id$
#
# $Id$
-VERSION='2.4.1'
+VERSION='2.4.
0.
1'
usage ()
{
usage ()
{
@@
-541,14
+541,14
@@
do_replaygain()
done
case "$OUTPUT" in
flac)
done
case "$OUTPUT" in
flac)
- run_command replaygain-flac nice $ENCNICE $METAFLAC
--add-replay-gain
"${OUTPUTFILES[@]}"
+ run_command replaygain-flac nice $ENCNICE $METAFLAC
$FLACGAINOPTS
"${OUTPUTFILES[@]}"
#run_command replaygain-flac true
;;
vorbis|ogg)
#run_command replaygain-flac true
;;
vorbis|ogg)
- run_command replaygain-vorbis nice $ENCNICE $VORBISGAIN
--album
"${OUTPUTFILES[@]}"
+ run_command replaygain-vorbis nice $ENCNICE $VORBISGAIN
$VORBISGAINOPTS
"${OUTPUTFILES[@]}"
;;
mp3)
;;
mp3)
- run_command replaygain-mp3 nice $ENCNICE $MP3GAIN
-a -k
"${OUTPUTFILES[@]}"
+ run_command replaygain-mp3 nice $ENCNICE $MP3GAIN
$MP3GAINOPTS
"${OUTPUTFILES[@]}"
;;
mpc)
run_command replaygain-mpc nice $ENCNICE $MPPGAIN --auto "${OUTPUTFILES[@]}"
;;
mpc)
run_command replaygain-mpc nice $ENCNICE $MPPGAIN --auto "${OUTPUTFILES[@]}"
@@
-3054,11
+3054,14
@@
BLADEENCOPTS=
L3ENCOPTS=
XINGMP3ENCOPTS=
MP3ENCOPTS=
L3ENCOPTS=
XINGMP3ENCOPTS=
MP3ENCOPTS=
+MP3GAINOPTS="-a -k"
# ogg
VORBIZEOPTS=
OGGENCOPTS=
# ogg
VORBIZEOPTS=
OGGENCOPTS=
+VORBISGAINOPTS="--album"
# flac
FLACOPTS=
# flac
FLACOPTS=
+FLACGAINOPTS="--add-replay-gain"
# speex
SPEEXENCOPTS=
# mpc
# speex
SPEEXENCOPTS=
# mpc