diff --git a/scanner/metadata/taglib/taglib_parser.go b/scanner/metadata/taglib/taglib_parser.go index 2cf68e4c2..ca90c57dd 100644 --- a/scanner/metadata/taglib/taglib_parser.go +++ b/scanner/metadata/taglib/taglib_parser.go @@ -67,7 +67,7 @@ func go_map_put_str(id C.ulong, key *C.char, val *C.char) { lock.RLock() defer lock.RUnlock() m := maps[uint32(id)] - k := strings.ToLower(C.GoString(key)) + k := strings.ToLower(strings.TrimSpace(C.GoString(key))) if _, ok := m[k]; !ok { v := C.GoString(val) m[k] = v