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