]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
add: replay gain parameter variable
authorBastian Dehn <hhaalo@arcor.de>
Sat, 4 Jun 2022 15:10:45 +0000 (17:10 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 4 Jun 2022 15:18:59 +0000 (17:18 +0200)
albentohandy

index 21d34d848d8c1f057d433b83a09ffde2260e7162..e964d241f76539022c0e0d4e5e5ca19dddab7bff 100755 (executable)
@@ -325,7 +325,7 @@ SetDefaultVariables()
 
 ReadArguments()
 {
-       while getopts "3cfhi:m:orw:" optname; do
+       while getopts "3cfg:hi:m:orw:" optname; do
                case "$optname" in
                "3")
                        mp3=true
@@ -340,6 +340,9 @@ ReadArguments()
                        flac=true
                        opus=false
                        ;;
+               "g")
+                       declare -xg replaygainapply="--apply-replaygain-which-is-not-lossless=$OPTARG"
+                       ;;
                "h")
                        Usage
                        exit 0