Revert "[gen_metatrack] Now outputs using {TRACKID};{DURATION};\t[...] rather than {TRACKID};{DURATION};[...]"
This reverts commit 12402346b8
.
This commit is contained in:
parent
12402346b8
commit
c8ce3fd26a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ gen_metatrack() {
|
||||||
while [[ ${COUNT} -le ${TOTALTRACKS} ]]; do
|
while [[ ${COUNT} -le ${TOTALTRACKS} ]]; do
|
||||||
local TRACKID="$(metaflac --list --block-number=0 $(printf "${WRK_DIR}/split-track%02d.flac" ${COUNT}) | awk 'BEGIN{FS=": "}{if($1==" MD5 signature") {print $2}}')"
|
local TRACKID="$(metaflac --list --block-number=0 $(printf "${WRK_DIR}/split-track%02d.flac" ${COUNT}) | awk 'BEGIN{FS=": "}{if($1==" MD5 signature") {print $2}}')"
|
||||||
local DURATION="$(soxi -D $(printf "${WRK_DIR}/split-track%02d.flac" ${COUNT}))"
|
local DURATION="$(soxi -D $(printf "${WRK_DIR}/split-track%02d.flac" ${COUNT}))"
|
||||||
printf "%s\t" ${TRACKID};${DURATION};
|
printf "%s;" ${TRACKID} ${DURATION}
|
||||||
rm $(printf "${WRK_DIR}/split-track%02d.flac" ${COUNT})
|
rm $(printf "${WRK_DIR}/split-track%02d.flac" ${COUNT})
|
||||||
local COUNT=$(( ${COUNT} + 1 ))
|
local COUNT=$(( ${COUNT} + 1 ))
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue