Fixed issue where we were double-utf8-encoding album artist (and

potentially other metadata) values in some cases.
This commit is contained in:
casey langen 2023-05-03 21:51:08 -07:00
parent ee30b53d4a
commit d81f82559a
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
3.0.1
* fixed a bug where re-arranging the play queue may cause unnecessary i/o
* fixed a bug where album artist (and potentially other) metadata values were
being double encoded.
* fixed a bug where re-arranging the play queue may cause unnecessary i/o.
--------------------------------------------------------------------------------

View File

@ -375,7 +375,7 @@ void TaglibMetadataReader::ExtractValueForKey(
if (map.contains(inputKey.c_str())) {
TagLib::StringList value = map[inputKey.c_str()];
if (value.size()) {
this->SetTagValue(outputKey.c_str(), value[0].to8Bit(true), target);
this->SetTagValue(outputKey.c_str(), value[0], target);
}
}
}