I wrote the following tiny script to export tags of selected files into a CUE sheet.
PERFORMER "%artist%"
TITLE "%album%"
$loop(%_path%)
FILE "%_filename_ext%" WAVE
TRACK $num(%_counter%, 2) AUDIO
TITLE "%title%"
INDEX 01 00:00:00
$loopend()
It works fine, except it produces an extra line feed between sections, as follows:
PERFORMER "No Doubt"
TITLE "The Singles, 1992-2003"
FILE "01 ^ Just a Girl.flac" WAVE
TRACK 01 AUDIO
TITLE "Just a Girl"
INDEX 01 00:00:00
FILE "02 ^ It's My Life.flac" WAVE
TRACK 02 AUDIO
TITLE "It's My Life"
INDEX 01 00:00:00
How can I prevent the extraneous line feeds, so there's only single spacing throught the CUE sheet? Thanks!