mp3agic
A java library for reading mp3 files and reading / manipulating the ID3 tags (ID3v1 and ID3v2.2 through ID3v2.4).
See mp3agic-examples for example applications that use this library - including a simple set of command-line tools that perform tasks like printing mp3 and ID3 details, renaming mp3 files using details from the ID3 tags, retagging mp3 files, attaching images to and extracting images from mp3 files.
Releases are available via Maven central. To add a dependency to mp3agic, use:
com.mpatric
mp3agic
0.9.1
Some features
100% Java
read low-level mpeg frame data
read, write, add and remove ID3v1 and ID3v2 tags (ID3v2.3 and ID3v2.4)
read obsolete 3-letter ID3v2.2 tags (but not write them)
correctly read VBR files by looking at the actual mpeg frames
read and write embedded images (such as album art)
add or remove custom messages between the end of the mpeg frames and the ID3v1 tag
unicode support
Development
mp3agic uses various tools to ease the development process.
Maven is used to resolve dependencies and to build mp3agic.
Travis CI is used as a continuous integration server.
Sonar is used for static code analysis (updated every saturday).
Building
To build mp3agic, you will need:
JDK 8+ - Oracle or OpenJDK
maven - Version 3 recommended
After installing these tools simply run 'mvn clean package' and find the jar in the target folder.
Other Us