Map lowercase MusicBrainz TIPL keys to properties (#1274)

This commit is contained in:
Urs Fleisch
2025-06-14 10:19:36 +02:00
parent e73517d058
commit d61a333f27
2 changed files with 33 additions and 1 deletions

View File

@ -315,7 +315,7 @@ PropertyMap TextIdentificationFrame::makeTIPLProperties() const
const StringList l = fieldList();
for(auto it = l.begin(); it != l.end(); ++it) {
auto found = std::find_if(involvedPeople.begin(), involvedPeople.end(),
[=](const auto &person) { return *it == person.first; });
[=](const auto &person) { return it->upper() == person.first; });
if(found != involvedPeople.end()) {
map.insert(found->second, (++it)->split(","));
}