简体   繁体   中英

Get the title attribute from an mp3 file

Problem I want to display file properties like title and author of an mp3 from:

mp3信息

I have tried using http://javamusictag.sourceforge.net/ but it doesnt actually get the information input into the properties details (see picture). How do I get that information such as the 'Test Song' by 'John Smith'? Of course I have the file available on java:

File file = new File(path);

Thanks in anticipation! If you need more info just ask.

ps: I looked at this and it doesn't work or I don't understand it ( summary question )

The spec for this is at id3.org . Version 2.3 is probably sufficient for most of the files you will ever look at...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM