hello my friend!
i want to get the information , like album artist year.... from a mp3 with a local (path)!
i find this code, also i add a jar, but a get this error:"can not find a symbol:"
this is a code:
thanks for your help.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
Did you import the required library classes? Is the library -whichever one that is- in your classpath?
laura spain
Greenhorn
Joined: Apr 09, 2012
Posts: 6
posted
0
yes i did!
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
4
posted
0
What is the classpath you are using? What is the exact wording of the rror message. Please post the text; many people find screenshots difficult to read.
laura spain
Greenhorn
Joined: Apr 09, 2012
Posts: 6
posted
0
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
4
posted
0
The MP3File class has no method to get the ID3 tag. You will have to find which class that method is in. It has however got methods to get the artist, etc, so you might get it to work by calling mp3.getArtist() or similar.
laura spain
Greenhorn
Joined: Apr 09, 2012
Posts: 6
posted
0
aaa ok so ! now i see where is the probleme! thanks for help
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
4
posted
0
You’re welcome
Have you worked out how to find the documentation for that class, and how to read it?