save COMPOSER info to TOC/CUE files (from colinf)

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12289 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-15 12:25:25 +00:00
parent 350718cd14
commit 1d3fa1a839
1 changed files with 4 additions and 4 deletions

View File

@ -720,8 +720,8 @@ ExportDialog::export_toc_file (Locations::LocationList& locations, const string&
if ((*i)->cd_info.find("performer") != (*i)->cd_info.end()) {
out << " PERFORMER \"" << (*i)->cd_info["performer"] << "\"" << endl;
}
if ((*i)->cd_info.find("string_composer") != (*i)->cd_info.end()) {
out << " COMPOSER \"" << (*i)->cd_info["string_composer"] << "\"" << endl;
if ((*i)->cd_info.find("composer") != (*i)->cd_info.end()) {
out << " COMPOSER \"" << (*i)->cd_info["composer"] << "\"" << endl;
}
if ((*i)->cd_info.find("isrc") != (*i)->cd_info.end()) {
@ -934,8 +934,8 @@ ExportDialog::export_cue_file (Locations::LocationList& locations, const string&
out << " PERFORMER \"" << (*i)->cd_info["performer"] << "\"" << endl;
}
if ((*i)->cd_info.find("string_composer") != (*i)->cd_info.end()) {
out << " SONGWRITER \"" << (*i)->cd_info["string_composer"] << "\"" << endl;
if ((*i)->cd_info.find("composer") != (*i)->cd_info.end()) {
out << " SONGWRITER \"" << (*i)->cd_info["composer"] << "\"" << endl;
}
/* only print "Index 00" if not at the same position as "Index 01" */