wood burning stoves 2.0*
The moose likes Java in General and the fly likes Java API to Read MP3 Tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java API to Read MP3 Tags" Watch "Java API to Read MP3 Tags" New topic
Author

Java API to Read MP3 Tags

Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66

Hi,

I'm working on an Android app (for my own learning), that can search music from the filesystem based on the tags in the files. Could anyone please recommend a good API for this purpose. I'm not looking for anything fancy, just searching for files based on tag values.

Thanks in advance.

Debojit
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
The http://www.coderanch.com/how-to/java/OtherOpenSourceProjectsFaq links to a discussion where several libraries that can read MP3 tags are mentioned.
Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66

Hi,

Thanks for the quick reply, Tim, but I was looking for some API that's compatible with Java 6. Java Media Framework is dead(as I understood it), JavaMusicTag was last built for jdk 1.3(again, this is my understanding), and the others that I found on the net were also for older JDK releases. Could somebody please advise me if there are any such libraries available on the net, or point me to resources so I could build my own(strictly last resort )?

Please feel free to correct me if I'm wrong.

Thank you,
Debojit
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

If a library works with an older version of Java, changes are that it will work with Java 6 and 7 as well. You just won't have generics. You should at least try it before dismissing these libraries.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
In addition to what Rob said - JMF isn't even mentioned there, but 5 other libraries are.
Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66

Hi,

Thanks for helping me out. I didn't mean to come across as dismissing your suggestion, my chief concern was about backwards compatibility, especially w.r.t android. Anyway, I'll try with them and see what happens.

Thanks again for your help.

Debojit
Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66

Tim Moores wrote:In addition to what Rob said - JMF isn't even mentioned there, but 5 other libraries are.


Could you perhaps recommend me which one of those I should use? Just wanted to know an expert opinion before getting my feet wet.

Thank you
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
I have no experice with any of those libraries; I just noticed them being mentioned there.
Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66

Ah, I see. No helping it then... "To infinity ... and beyond!", as Buzz would say.

Thanks everyone for your help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java API to Read MP3 Tags
 
Similar Threads
JAVA APIs to parse MP4 file metadata
Binary files
Xalan and line by line parsing
tags vs tag libraries
about multiple custom tag