fi
}
+SetDefaultVariables() {
+ albumlist="albumlist"
+ parallelopts=":"
+ curphase=1
+ phase=3
+ checksum=false
+ mkzip=false
+ removework=false
+ cptodest=false
+}
+
main() {
WORK="$(pwd)/work.$$" # temporary working directory
SCRIPTPATH="/usr/bin" # path to flactomp3v2 and notify.sh script
ExistsScripts "$SCRIPTPATH"
- # set defaults
- albumlist="albumlist"
- parallelopts=":"
- curphase=1
- phase=3
- checksum=false
- mkzip=false
- removework=false
- cptodest=false
+ SetDefaultVariables
# read parameters
while getopts "chi:m:S:rw:z:" optname; do