From 81da0ef1f7c37fe35d1e5591779b219f54a52983 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Sat, 23 Jan 2021 04:02:10 -0600 Subject: [PATCH] Bug 2217 - Metadata: When exporting to FLAC the "Comment" field is ignored and not exported with the audio file --- src/export/ExportFLAC.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/export/ExportFLAC.cpp b/src/export/ExportFLAC.cpp index 3a909045c..918be48b5 100644 --- a/src/export/ExportFLAC.cpp +++ b/src/export/ExportFLAC.cpp @@ -460,6 +460,10 @@ bool ExportFLAC::GetMetadata(AudacityProject *project, const Tags *tags) if (n == TAG_YEAR) { n = wxT("DATE"); } + else if (n == TAG_COMMENTS) { + // N.B. There seems to be COMMENT and DESCRIPTION in use. + n = wxT("COMMENT"); + } FLAC::Metadata::VorbisComment::Entry entry(n.mb_str(wxConvUTF8), v.mb_str(wxConvUTF8)); if (! ::FLAC__metadata_object_vorbiscomment_append_comment(mMetadata.get(),