[gen_cue] Fixed an error where gen_cue would add a track too many
This commit is contained in:
parent
0c457f0ac2
commit
ade92f7db1
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ gen_cue() {
|
||||||
local tagList=($( sed -e 's| ; ||g' -e 's|; ;||' <<< ${tagList[@]} | tr ';' \\n | awk '!seen[$0]++' ))
|
local tagList=($( sed -e 's| ; ||g' -e 's|; ;||' <<< ${tagList[@]} | tr ';' \\n | awk '!seen[$0]++' ))
|
||||||
|
|
||||||
# Generates breaklist
|
# Generates breaklist
|
||||||
local fileList=($(find "${TARGET_DIR}" -name '*.flac' -printf '%p\t'))
|
local fileList=($(find "${TARGET_DIR}" -name '*.flac' -not -name joined.flac -printf '%p\t'))
|
||||||
local breakList=($(print_cue_breaklist ${fileList[@]}))
|
local breakList=($(print_cue_breaklist ${fileList[@]}))
|
||||||
|
|
||||||
[[ ! -z "${dateList}" ]] && echo "REM DATE ${dateList}"
|
[[ ! -z "${dateList}" ]] && echo "REM DATE ${dateList}"
|
||||||
|
|
Loading…
Reference in a new issue