Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ID3v2.4: Nullbyte-separated multivalue fields #91

Open
karlpip opened this issue Oct 2, 2024 · 0 comments
Open

ID3v2.4: Nullbyte-separated multivalue fields #91

karlpip opened this issue Oct 2, 2024 · 0 comments

Comments

@karlpip
Copy link

karlpip commented Oct 2, 2024

According to the 2.4 spec there can be text frames with multiple values.
These values are separated with nullbytes. The current implementation of these frames just omits these nullbytes right here https://github.com/n10v/id3v2/blob/main/encoding.go#L121. So one has no chance to handle these kind of values correctly.

PS: Picard music tagger can be used to add multi value TXXX fields to an ID3 tag if you need test cases. According to the spec TXXX frames can't hold multiple values, but picard does it anyway, i would really like to have an option to handle this scenario with the library as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant