Atualizar main.sh

This commit is contained in:
mitsudori 2024-11-26 08:25:04 +00:00
parent 3b8d7e0fa7
commit ef3b446acf

View file

@ -1,10 +1,11 @@
#!/usr/bin/env bash
# The getopt are for extra param, i like to use -x6 for extra encode processing
# You can read more on the docs: https://www.wavpack.com/wavpack_doc.html
array=("DATE" "TOTALTRACKS" "TRACKNUMBER" "ALBUM" "ARTIST" "TITLE")
for i in *.flac; do
filename=${i%.*}
flac --decode -c "$i" | wavpack -i "-" -hhb2 -y -o "$filename.wv";
flac --decode -c "$i" | wavpack -i $1 "-" -hhb2 -y -o "$filename.wv";
done
for n in ${array[@]}; do