For Programmers: Free Programming Magazines  


Home > Archive > Java Help > November 2007 > MP3 get and set infos like Artist,Title...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MP3 get and set infos like Artist,Title...
Manix_InnerVoice2@hotmail.com

2007-11-24, 10:20 pm

Hi, I would like to create a program that would be able to get and set
the infos of an MP3 file like the artist,title....

Is it possible? If Yes, than what is the class I am looking for?
Andrew Thompson

2007-11-25, 4:40 am

Manix_InnerVoice2@hotmail.com wrote:
>Hi, I would like to create a program that would be able to get and set
>the infos of an MP3 file like the artist,title....
>
>Is it possible? If Yes, than what is the class I am looking for?


Java is not especially good when it comes to media handling.

The JMF was released some years ago, and the Power Pack
versions on Win/Linux load MP3s, but even they do not support
changing the MP3 artist/title etc.

Java 7 looks to include 'native player' support, but at first it
will be simple things like opening the track in a player, starting
and stopping it - no editing.

--
Andrew Thompson
http://www.physci.org/

Message posted via http://www.javakb.com

Gordon Beaton

2007-11-25, 8:17 am

On Sat, 24 Nov 2007 18:03:26 -0800 (PST), Manix_InnerVoice2@hotmail.com wrote:
> Hi, I would like to create a program that would be able to get and set
> the infos of an MP3 file like the artist,title....
>
> Is it possible? If Yes, than what is the class I am looking for?


Search for "java id3 tags" and you'll find that there are a number of
existing libraries to help you with this.

/gordon

--
Manix

2007-11-25, 7:18 pm

On 25 nov, 06:01, Gordon Beaton <n....@for.email> wrote:
> On Sat, 24 Nov 2007 18:03:26 -0800 (PST), Manix_InnerVoi...@hotmail.com wrote:
>
>
> Search for "java id3 tags" and you'll find that there are a number of
> existing libraries to help you with this.
>
> /gordon
>
> --


Ok I,ve downloaded jid3lib ... got alot of files in the ziped folder
but no executables that may install this library... so what do I do
with it?
Sorry not to be an experienced programmer yet...
Lew

2007-11-25, 7:18 pm

Manix wrote:
> Ok I,ve downloaded jid3lib ... got alot of files in the ziped folder
> but no executables that may install this library... so what do I do
> with it?
> Sorry not to be an experienced programmer yet...


Are you talking about <http://jid3.blinkenlights.org/>?

If so, I just downloaded their tar.gz. They seem to be distributing a
NetBeans project (not the best way to distribute code).

The good news is that NB projects have a dist/ folder, in which one can find
the JID3.jar (another violation of convention - JAR files are usually named in
lower-case) and a javadoc/ directory.

Extract the JID3.jar and put it in your project's class path. This is the
same for any Java library distributed as a JAR - you put the JAR in your
project's class path.

http://java.sun.com has some excellent tutorials, many of which deal with
class paths and JAR files.

--
Lew
Gordon Beaton

2007-11-26, 4:30 am

On Sun, 25 Nov 2007 13:47:33 -0500, Lew wrote:
> Manix wrote:
>
> Are you talking about <http://jid3.blinkenlights.org/>?


Or, are you talking about https://jid3lib.dev.java.net?

If so, you need to build the package (with Ant and build.xml that
comes with jid3lib), then put the resulting jar files somewhere in
your classpath.

/gordon

--
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com