How do you edit MP3 files in Java (ID3)?

krp picture krp · Aug 11, 2011 · Viewed 13.1k times · Source

Lately, I've been trying to write a program that can change the ID3 tags of an mp3 file. I managed to write code to get those tags quite easily, but I have no idea how to write code to modify the tags. I assumed that there may be no easy solution, so I decided to try out some libraries. It may be my fault, but none of them work..

Anyway, my question is: how do I write my own code to modify ID3 tags? If it's not that easy, are there any libraries you can recommend?

Answer

KiwiMartin picture KiwiMartin · Jun 5, 2015

And for anyone stumbling onto this all these years on, mp3agic might be handy.