save COMPOSER info to TOC/CUE files (from colinf)
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 15 May 2012 12:25:25 +0000 (12:25 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 15 May 2012 12:25:25 +0000 (12:25 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12289 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/export_dialog.cc

index 4c1ea5f32e48dfb7238edfd39d85a0fd46b0786b..e62da06fa1c02526d7de55b0256a77bdd466e656 100644 (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" */