Skip to content

Commit

Permalink
Trim spaces from tags
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Sep 8, 2020
1 parent e70ec53 commit 865b9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/metadata/taglib/taglib_parser.go
Expand Up @@ -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
Expand Down

0 comments on commit 865b9cd

Please sign in to comment.