summaryrefslogtreecommitdiff
path: root/libs/ardour/export_handler.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-24 16:18:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-24 16:18:06 +0000
commit175036ea4eb5568338abf085c009dffed9ba0527 (patch)
tree4ee007e21383218f95e3f2fbb826f41eaff70b3a /libs/ardour/export_handler.cc
parent18714b85bb37141793096960801e8f4200c6dfbe (diff)
always write a PERFORMER entry into a CUE file even if its not defined
git-svn-id: svn://localhost/ardour2/branches/3.0@11331 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_handler.cc')
-rw-r--r--libs/ardour/export_handler.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc
index 0b1243afd2..305df0d28a 100644
--- a/libs/ardour/export_handler.cc
+++ b/libs/ardour/export_handler.cc
@@ -478,12 +478,15 @@ ExportHandler::write_track_info_cue (CDMarkerStatus & status)
status.out << " ISRC " << status.marker->cd_info["isrc"] << endl;
}
+
if (status.marker->name() != "") {
status.out << " TITLE \"" << status.marker->name() << '"' << endl;
}
if (status.marker->cd_info.find("performer") != status.marker->cd_info.end()) {
- status.out << " PERFORMER \"" << status.marker->cd_info["performer"] << '"' << endl;
+ status.out << " PERFORMER \"" << status.marker->cd_info["performer"] << '"' << endl;
+ } else {
+ status.out << " PERFORMER \"\"" << endl;
}
if (status.marker->cd_info.find("composer") != status.marker->cd_info.end()) {
@@ -528,7 +531,7 @@ ExportHandler::write_track_info_toc (CDMarkerStatus & status)
<< cd_marker_file_escape_string (status.marker->name()) << endl;
if (status.marker->cd_info.find("performer") != status.marker->cd_info.end()) {
- status.out << " PERFORMER " << cd_marker_file_escape_string (status.marker->cd_info["performer"]);
+ status.out << cd_marker_file_escape_string (status.marker->cd_info["performer"]);
} else {
status.out << " PERFORMER \"\"";
}