Removed double default setting

This commit is contained in:
Jeroen De Meerleer 2020-02-13 20:38:26 +01:00
parent e664de89b4
commit cbffe2baaa

View File

@ -146,7 +146,6 @@ GetOptions() {
while true; do while true; do
case "$1" in case "$1" in
-v|--verbose) -v|--verbose)
verbose=2
if [[ $2 != "" ]]; then if [[ $2 != "" ]]; then
verbose=${2} verbose=${2}
fi fi
@ -177,7 +176,6 @@ GetOptions() {
-c|--convert) -c|--convert)
VerboseOutput 0 "--convert given" VerboseOutput 0 "--convert given"
convert=true convert=true
bitrate=192
if [[ $2 != "" ]]; then if [[ $2 != "" ]]; then
bitrate=${2} bitrate=${2}
fi fi
@ -187,7 +185,6 @@ GetOptions() {
-a|--resize-art) -a|--resize-art)
VerboseOutput 0 "--resize-art given" VerboseOutput 0 "--resize-art given"
convertart=true convertart=true
coverartsize=200
if [[ $2 != "" ]]; then if [[ $2 != "" ]]; then
coverartsize=${2} coverartsize=${2}
fi fi
@ -197,7 +194,6 @@ GetOptions() {
-j|--jobs) -j|--jobs)
VerboseOutput 0 "--jobs given" VerboseOutput 0 "--jobs given"
multithread=true multithread=true
jobcount=$(expr $(nproc) - 2)
if [[ $2 != "" ]]; then if [[ $2 != "" ]]; then
jobcount=${2} jobcount=${2}
fi fi