Rewrote mp3gain scripts to python-rgain.
This commit is contained in:
@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
mp3gain -k -p -a -s i *.mp3
|
||||
#mp3gain -k -p -a -s i *.mp3
|
||||
replaygain *.mp3
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
mp3gain -k -p -r -s i "$@"
|
||||
#mp3gain -k -p -r -s i "$@"
|
||||
replaygain --no-album "$@"
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
if [ "$#" = "0" ]; then
|
||||
echo "Usage: $0 file1 [file2 file3 ... fileN]"
|
||||
echo "(Needs package python-rgain to be installed!)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -9,6 +10,7 @@ if [ -z "$CONCURRENCY_LEVEL" ]; then
|
||||
fi
|
||||
|
||||
echo "Processing using $CONCURRENCY_LEVEL processes..."
|
||||
nice -n2 find "$@" -print0 | xargs -0 -P $CONCURRENCY_LEVEL -n 1 -I {} mp3gain -q -k -p -r -s i "{}"
|
||||
#nice -n2 find "$@" -print0 | xargs -0 -P $CONCURRENCY_LEVEL -n 1 -I {} mp3gain -q -k -p -r -s i "{}"
|
||||
nice -n2 find "$@" -print0 | xargs -0 -P $CONCURRENCY_LEVEL -n 1 -I {} replaygain --no-album "{}"
|
||||
|
||||
echo "All done."
|
||||
|
Reference in New Issue
Block a user