Skip to content

multiple values in ID3v2.x tags not splitted #432

@snx888

Description

@snx888

Bug description
Multiple values for fields like Artist, AlbumArtist, Composer, Genre, .. are not splitted.
Even in the common tag section, which seems to be prepared handling multiple values, the ID3v2 is not splitted.

native: { ID3v2.3: [ { id: "TPE1", value: "2 UnlimitedRayAnita" } ] }, common: { artists: [ "2 UnlimitedRayAnita" ] }

Expected behavior
As ID3v2.x supports multiple values separated by null byte i'd expect e.g. TPE1 to be an array or at least occur multiple times within ID3v2 tag.

native: { ID3v2.3: [ { id: "TPE1", value: "2 UnlimitedRayAnita" } ] }, common: { artists: [ "2 Unlimited", "Ray", "Anita" ] }

In addition to the common.artists there is also the common.artist attribute set. I guess it would make sense to fill this using common.artists.join(', ')

Additional Info
Right now i'm bypassing this using something like:
artists=[metadata.common.artists.forEach(item=>artists.push(...item.split('\u0000')))]

Audio file demonstrating the problem
2 Unlimited - Get Ready For This (Live @ Amsterdam).zip

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions