[print_track_no] Fixed bug with TITLEless tracks
This commit is contained in:
parent
de4f4f9ae8
commit
8b57e47a00
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ print_track_no() {
|
||||||
local IMAGEID="${2}"
|
local IMAGEID="${2}"
|
||||||
local TRACKID="${3}"
|
local TRACKID="${3}"
|
||||||
|
|
||||||
local TOTALTRACKS=$(grep TITLE ${GIT_DIR}/${IMAGEID}.tags | wc -l)
|
local TOTALTRACKS=$(grep \"@\" ${GIT_DIR}/${IMAGEID}.tags | wc -l)
|
||||||
|
|
||||||
local COUNT=1
|
local COUNT=1
|
||||||
while [[ ${COUNT} -le ${TOTALTRACKS} ]]; do
|
while [[ ${COUNT} -le ${TOTALTRACKS} ]]; do
|
||||||
|
|
Loading…
Reference in a new issue