[print_meta_cue] Now does not generate trackid

This commit is contained in:
ayakael 2018-07-11 07:34:14 -08:00
parent c8ce3fd26a
commit abc7179716
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -16,7 +16,6 @@ print_meta_cue() {
dos2unix -q -R "${CUE}" dos2unix -q -R "${CUE}"
local trackmetaList=($( sed -n '/TRACK 01/,$p' ${CUE} | tr -d '\n' | awk 'BEGIN {RS="TRACK"}{print $0}' | tail -n +2)) local trackmetaList=($( sed -n '/TRACK 01/,$p' ${CUE} | tr -d '\n' | awk 'BEGIN {RS="TRACK"}{print $0}' | tail -n +2))
local trackidList=($(gen_metatrack ${_OPT_TMP} ${FLAC} ${CUE}))
# [Output] variable generator # [Output] variable generator
echo -n "PERFORMER=\"$(sed 's|\ \ .*||' "${CUE}" | grep -a "PERFORMER" | sed 's|PERFORMER ||' | sed 's|\"||g')\";" echo -n "PERFORMER=\"$(sed 's|\ \ .*||' "${CUE}" | grep -a "PERFORMER" | sed 's|PERFORMER ||' | sed 's|\"||g')\";"