File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Tags MP3 Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Tags MP3 Java" Watch "Tags MP3 Java" New topic
Author

Tags MP3 Java

laura spain
Greenhorn

Joined: Apr 09, 2012
Posts: 6
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.


[Thumbnail for prob.png]

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2407
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
yes i did!


Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32599
    
    4
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
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32599
    
    4
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
aaa ok so ! now i see where is the probleme! thanks for help
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32599
    
    4
You’re welcome

Have you worked out how to find the documentation for that class, and how to read it?
 
I agree. Here's the link: jrebel
 
subject: Tags MP3 Java
 
Similar Threads
JMF - Playing .m2a or .m2v file
.MP3 file properties
At my wits end
[S2] Multiple files sent simulatneously with out.write() results in corrupted data streams