Enclose bar code number in ""s in TOC & CUE export
cdrdao seems to want the CATALOG field to be enclosed in double-quotes.
This commit is contained in:
parent
429355b0b3
commit
ca9c7b169d
|
@ -542,7 +542,7 @@ ExportHandler::write_cue_header (CDMarkerStatus & status)
|
|||
status.out << "REM Cue file generated by " << PROGRAM_NAME << endl;
|
||||
|
||||
if (barcode != "")
|
||||
status.out << "CATALOG " << barcode << endl;
|
||||
status.out << "CATALOG \"" << barcode << "\"" << endl;
|
||||
|
||||
if (album_artist != "")
|
||||
status.out << "PERFORMER " << cue_escape_cdtext (album_artist) << endl;
|
||||
|
@ -591,7 +591,7 @@ ExportHandler::write_toc_header (CDMarkerStatus & status)
|
|||
string album_title = SessionMetadata::Metadata()->album();
|
||||
|
||||
if (barcode != "")
|
||||
status.out << "CATALOG " << barcode << endl;
|
||||
status.out << "CATALOG \"" << barcode << "\"" << endl;
|
||||
|
||||
if (album_title != "")
|
||||
title = album_title;
|
||||
|
|
Loading…
Reference in New Issue
Block a user