mp3agic is an easy to use library for reading mp3 files and reading / manipulating the ID3 tags (ID3v1 and ID3v2.1 through ID3v2.4).
A simple set of command-line tools built on top of the library are included which perform tasks such including printing mp3 and id3 details, renaming mp3 files using details from the id3 tags, retagging mp3 files, attaching images to mp3 files and extracting images from mp3 files.
Here are some key features of "mp3agic":
· read low-level mpeg frame data
· read, write, add and remove ID3v1 and ID3v2 tags (ID3v2.1 through ID3v2.4)
· correctly read VBR files by looking at the actual mpeg frames
· read and write embedded images (such as album art)
· read obsolete 3-letter ID3v2 tags (but not write them)
· add or remove custom messages between the end of the mpeg frames and the ID3v1 tag
Requirements:
· Java 1.5 or later
· JUnit 3.8.1 or later
· Ant 1.6 or later
Limitations:
· JDK 5 or higher
· ant 1.6 or higher
· junit 3.8.1 or higher