It looks like JID3 will do the trick. It has no expansion restrictions.
http://jid3.blinkenlights.org/
Now, I hope someone finds this open source project designer!
The following is an example of using multiple file formats:
public class JITExample {
private static MediaFile audioFile;
public static void main(String... megaThrustersAreGo) {
File file = new File("/home/rhigdon/Desktop/project-voltron/test-files/movGetOutTheWay_HD_WMV_720p_1.wmv");
audioFile = new MP3File(file);
try {
ID3V2_3_0Tag tag = new ID3V2_3_0Tag();
tag.setArtist("Ryan Higdon");
tag.setAlbum("Ryan Funky Beats");
audioFile.setID3Tag(tag);
audioFile.sync();
for (ID3Tag eachTag : audioFile.getTags()) {
System.out.println(eachTag.toString());
}
} catch (ID3Exception e) {
e.printStackTrace();
System.out.println("something bad happened");
}
}
}
source
share