Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tags MP3 Java

 
laura spain
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
prob.png
[Thumbnail for prob.png]
 
Tim Moores
Bartender
Pie
Posts: 2496
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you import the required library classes? Is the library -whichever one that is- in your classpath?
 
laura spain
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i did!


 
Campbell Ritchie
Sheriff
Pie
Posts: 47270
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Campbell Ritchie
Sheriff
Pie
Posts: 47270
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aaa ok so ! now i see where is the probleme! thanks for help
 
Campbell Ritchie
Sheriff
Pie
Posts: 47270
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic