13
0

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
This commit is contained in:
Paul Davis 2012-01-24 16:18:06 +00:00
parent 18714b85bb
commit 175036ea4e

View File

@ -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 \"\"";
}