Skip to content

Commit

Permalink
Fixed issue where we were double-utf8-encoding album artist (and
Browse files Browse the repository at this point in the history
potentially other metadata) values in some cases.
  • Loading branch information
clangen committed May 4, 2023
1 parent ee30b53 commit d81f825
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -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.

--------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/taglib_plugin/TaglibMetadataReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit d81f825

Please sign in to comment.