Revert "[import_src] Fixed error with metadataList generation with one too many semi-colons"

This reverts commit a16d9e85a6.
This commit is contained in:
ayakael 2018-12-27 15:37:41 -05:00
parent 506416d84a
commit aa07cc1da8
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -68,8 +68,8 @@ import_src() {
# Conjoins trackmetaList and addmetaList into metadataList
while [[ ${COUNT} -lt ${#trackList[@]} ]]; do
local metadataList[${COUNT}]="${trackmetaList[${COUNT}]};${addmetaList[${COUNT}]};IMAGEID=${IMAGEID}"
[[ -n "${BATCHID}" ]] && local metadataList[${COUNT}]="${metadataList[${COUNT}]};BATCHID=${BATCHID}"
local metadataList[${COUNT}]="${trackmetaList[${COUNT}]};${addmetaList[${COUNT}]};IMAGEID=${IMAGEID};"
[[ -n "${BATCHID}" ]] && local metadataList[${COUNT}]="${metadataList[${COUNT}]};BATCHID=${BATCHID};"
local COUNT=$(( ${COUNT} + 1 ))
done