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

Remove trailing nulls from id3v1 strings in ParseTag() #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Remove trailing nulls from id3v1 strings in ParseTag() #8

wants to merge 4 commits into from

Conversation

viking
Copy link
Contributor

@viking viking commented May 21, 2014

No description provided.

@mikkyang
Copy link
Owner

There's a strings package implementation of the null removal you might want to look at here.

Also is there a reason you used an anonymous struct instead of v1.Tag?

@viking
Copy link
Contributor Author

viking commented Aug 15, 2014

I didn't know about strings.TrimRight, thanks. Also I'm not sure why I used an anonymous struct in the tests. Fixed both of those.

@viking
Copy link
Contributor Author

viking commented Oct 22, 2014

I have fixed the issue that was causing Travis build to fail.

@viking
Copy link
Contributor Author

viking commented Oct 22, 2014

The current error is caused because of Travis not being able to build Go itself from the tip branch. All other versions pass.

@frodeaa
Copy link

frodeaa commented Mar 29, 2015

we have the same problem with trailing nulls in v2.TextFrame

frodeaa pushed a commit to frodeaa/dircast that referenced this pull request Mar 31, 2015
this is caused by a bug in id3-go, it does not
remove the trailing nulls

somewhat addressed in mikkyang/id3-go#8,
but the pull request does not fix all cases, like
removing null from any TextFrame, like the TCON
category
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

Successfully merging this pull request may close these issues.

3 participants