Export EAN barcode number to 'CATALOG' field in .cue & .toc files
This commit is contained in:
parent
b55b7ce1ad
commit
8806e6ec9d
@ -519,8 +519,12 @@ void
|
||||
ExportHandler::write_cue_header (CDMarkerStatus & status)
|
||||
{
|
||||
string title = status.timespan->name().compare ("Session") ? status.timespan->name() : (string) session.name();
|
||||
string catalog = SessionMetadata::Metadata()->catalog();
|
||||
|
||||
status.out << "REM Cue file generated by " << PROGRAM_NAME << endl;
|
||||
if (catalog != "")
|
||||
status.out << "CATALOG " << catalog << endl;
|
||||
|
||||
status.out << "TITLE " << cue_escape_cdtext (title) << endl;
|
||||
|
||||
/* The original cue sheet sepc metions five file types
|
||||
@ -555,6 +559,10 @@ void
|
||||
ExportHandler::write_toc_header (CDMarkerStatus & status)
|
||||
{
|
||||
string title = status.timespan->name().compare ("Session") ? status.timespan->name() : (string) session.name();
|
||||
string catalog = SessionMetadata::Metadata()->catalog();
|
||||
|
||||
if (catalog != "")
|
||||
status.out << "CATALOG " << catalog << endl;
|
||||
|
||||
status.out << "CD_DA" << endl;
|
||||
status.out << "CD_TEXT {" << endl << " LANGUAGE_MAP {" << endl << " 0 : EN" << endl << " }" << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user