1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 17:10:55 +02:00

Bug 353 - FFmpeg: Metadata - Artist tag not imported in WMA and APE files

This commit is contained in:
Leland Lucius 2021-02-17 00:47:34 -06:00
parent 98561ee0b2
commit 471d5e9d25

View File

@ -743,6 +743,11 @@ void FFmpegImportFileHandle::WriteMetadata(Tags *tags)
GetMetadata(temp, TAG_ARTIST, "artist");
GetMetadata(temp, TAG_YEAR, "date");
}
else if (wxString(mFormatContext->iformat->name).Contains("asf")) /* wma */
{
GetMetadata(temp, TAG_ARTIST, "artist");
GetMetadata(temp, TAG_YEAR, "year");
}
else
{
GetMetadata(temp, TAG_ARTIST, "author");