1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-14 10:24:19 +01:00

Merge pull request #4845 from Chocobozzz/master

Fix setting album artist tag for FLAC files if it already exists
This commit is contained in:
John Maguire 2015-05-12 14:21:30 +01:00
commit 70cc291b98

View File

@ -537,8 +537,10 @@ void TagReader::SetVorbisComments(
"COMPILATION", StdStringToTaglibString(song.compilation() ? "1" : "0"),
true);
vorbis_comments->addField("ALBUM ARTIST",
// Try to be coherent, the two forms are used but the first one is preferred
vorbis_comments->addField("ALBUMARTIST",
StdStringToTaglibString(song.albumartist()), true);
vorbis_comments->removeField("ALBUM ARTIST");
}
void TagReader::SetFMPSStatisticsVorbisComments(