Remove doubled quotes in TOC export PERFORMER field
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Sun, 7 Jun 2015 21:48:01 +0000 (22:48 +0100)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Mon, 8 Jun 2015 13:42:24 +0000 (14:42 +0100)
toc_escape_text() already encloses its result in ""s, and if album_artist
is empty, the resulting PERFORMER """" line makes cdrdao upset. Just remove
the extra quotes.

libs/ardour/export_handler.cc

index f30d5550b7681a154b470201b8ce4fb9ebc6d0b8..fc7236914f5de992e3e6caa8326c6433d7715789 100644 (file)
@@ -599,7 +599,7 @@ ExportHandler::write_toc_header (CDMarkerStatus & status)
        status.out << "CD_DA" << endl;
        status.out << "CD_TEXT {" << endl << "  LANGUAGE_MAP {" << endl << "    0 : EN" << endl << "  }" << endl;
        status.out << "  LANGUAGE 0 {" << endl << "    TITLE " << toc_escape_cdtext (title) << endl ;
-       status.out << "    PERFORMER \"" << toc_escape_cdtext (album_artist) << "\"" << endl;
+       status.out << "    PERFORMER " << toc_escape_cdtext (album_artist) << endl;
        status.out << "  }" << endl << "}" << endl;
 }