[print_meta_cue] Now outputs a track per line

This commit is contained in:
ayakael 2018-07-20 11:45:54 -08:00
parent 78fb4db482
commit 3a4dcbcca3
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -31,11 +31,11 @@ print_meta_cue() {
echo -n "DATE=${DATE};"
echo -n "TITLE=$(echo ${trackmeta} | awk 'BEGIN {RS=" "}{print $0}' | grep -a TITLE | sed 's|TITLE ||' | sed 's|\"||g');"
echo -n "PERFORMER=$(echo ${trackmeta} | awk 'BEGIN {RS=" "}{print $0}' | grep -a PERFORMER | sed 's|PERFORMER ||' | sed 's|\"||g');"
echo -n "DISCNUMBER=${DISCNUMBER};"
echo -n "TRACKNUMBER=${COUNT};"
echo -n "TRACKNUMBER=$(( ${COUNT} + 1 ));"
echo -n "TOTALTRACKS=${#trackmetaList[@]};"
echo -n "DISCNUMBER=${DISCNUMBER};"
echo -n "TOTALDISCS=${TOTALDISCS};"
echo -n "DISCID=${DISCID};"
echo "DISCID=${DISCID};"
local COUNT=$(( ${COUNT} + 1 ))
done