13
0

Remove doubled quotes in TOC export PERFORMER field

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.
This commit is contained in:
Colin Fletcher 2015-06-07 22:48:01 +01:00
parent ecd37a5c2f
commit 429355b0b3

View 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;
}