summaryrefslogtreecommitdiff
path: root/libs/ardour/export_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/export_handler.cc')
-rw-r--r--libs/ardour/export_handler.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc
index c80f1a2af4..b45edc9b9e 100644
--- a/libs/ardour/export_handler.cc
+++ b/libs/ardour/export_handler.cc
@@ -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;