Fix multiple id3v2.4 genres appearing as one big concatenated genre
This commit is contained in:
@@ -32,13 +32,11 @@ func (e *taglibExtractor) extractMetadata(filePath string) (*Tags, error) {
|
||||
}
|
||||
|
||||
tags := NewTags(filePath, parsedTags, map[string][]string{
|
||||
"title": {"_track", "titlesort"},
|
||||
"album": {"_album", "albumsort"},
|
||||
"artist": {"_artist", "artistsort"},
|
||||
"genre": {"_genre"},
|
||||
"date": {"_year"},
|
||||
"track": {"_track"},
|
||||
"duration": {"length"},
|
||||
"title": {"_track", "titlesort"},
|
||||
"album": {"_album", "albumsort"},
|
||||
"artist": {"_artist", "artistsort"},
|
||||
"date": {"_year"},
|
||||
"track": {"_track"},
|
||||
})
|
||||
|
||||
return tags, nil
|
||||
|
||||
Reference in New Issue
Block a user