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

Cannot edit ID3v2Tags - Example doesn't work #154

Open
carlosrd opened this issue Nov 3, 2018 · 1 comment
Open

Cannot edit ID3v2Tags - Example doesn't work #154

carlosrd opened this issue Nov 3, 2018 · 1 comment

Comments

@carlosrd
Copy link

carlosrd commented Nov 3, 2018

Hi

The example shown in the README of the repo for Setting ID3v2Tags doesn't work. I'm trying to editing some fields but unless you remove the previous ID3v2Tag (call removeID3vTag) from the mp3 file and set a new one, the changes doesn't take effect and the outputed mp3 is the same as the original.

But If I remove the tag to save my changes, I lose the previous data when I only want to update some data. The only workaround that I found to this is to copy manually all the previous fields in the new tag and then update it. For only update one or two fields, I have to copy ALL the rest to maintain all the previous information, what it shouldn't be necessary

I tried it with latest version of Java 8

Thank you

@RipplB
Copy link

RipplB commented Dec 6, 2018

Don't copy it manually, copy the whole tag (tagOfYourVersion tag = mp3file.getID3v2Tag() ), than call the remove functions, edit your tag and reattach it.

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

2 participants