From ec4b788e09c7c4b1b87f3f094ae5bd844f607a86 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 5 Dec 2017 02:26:56 +0100 Subject: [PATCH] Use proper mp3gain tool. --- mp3gain_album.sh | 5 +++-- mp3gain_track.sh | 5 +++-- mp3gain_tracks.sh | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/mp3gain_album.sh b/mp3gain_album.sh index a87a7e0..45f8187 100755 --- a/mp3gain_album.sh +++ b/mp3gain_album.sh @@ -1,3 +1,4 @@ #!/bin/sh -#mp3gain -k -p -a -s i *.mp3 -replaygain *.mp3 +# Install mp3gain from: https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio +mp3gain -k -p -a -s i *.mp3 +#replaygain *.mp3 diff --git a/mp3gain_track.sh b/mp3gain_track.sh index 709ac74..fd562ed 100755 --- a/mp3gain_track.sh +++ b/mp3gain_track.sh @@ -1,3 +1,4 @@ #!/bin/sh -#mp3gain -k -p -r -s i "$@" -replaygain --no-album "$@" +# Install mp3gain from: https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio +mp3gain -k -p -r -s i "$@" +#replaygain --no-album "$@" diff --git a/mp3gain_tracks.sh b/mp3gain_tracks.sh index 5db7d18..7f53738 100755 --- a/mp3gain_tracks.sh +++ b/mp3gain_tracks.sh @@ -1,4 +1,5 @@ #!/bin/sh +# Install mp3gain from https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio if [ "$#" = "0" ]; then echo "Usage: $0 file1 [file2 file3 ... fileN]" echo "(Needs package python-rgain to be installed!)" @@ -10,7 +11,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 {} replaygain --no-album "{}" +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."