Results 1 to 3 of 3

Thread: MP3s and Browse

  1. #1
    AndrewM16921 is offline Senior Member
    Join Date
    Jan 2009
    Location
    CA, USA
    Posts
    264
    Rep Power
    6

    Default MP3s and Browse

    Hey, so my friend and I have very different tastes in music... When she hangs out over here she always wants to listen to her stuff, and I want to listen to my stuff... So, it gave me an idea of a program to write to solve this problem. Fair Player MP3 v1.0. Lol? Yeah, so anyway I haven't done much with programming since I graduated highschool, but college is right around the corner so I thought this would be some good practice. I started my program, but inevitably I've come up with several problems. As usual, I look for help via Google... but most of the stuff is examples that don't work for me for whatever reason, or something of that sort. So I have a couple issues at the moment that I hope someone can help me with or point me in the right direction (good tutorials for beginners perhaps?). K, so...

    1. I have no idea how to get information from an mp3 file, such as the song title and artist. I heard sometimes this information is stored at the beginning of the files, and sometimes at the end. But either way, I have no idea how to find and use that sort of thing.

    2. I tried to have a "Browse" option with a JFileChooser (I think that's what it was called) and action listeners, but I had some issues with it and never got it to work. So, if there's any detailed tutorials or information regarding that, it'd help.

    I'd post some of my code here, but I don't think it would really help.

  2. #2
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    7

    Default

    to get artist and song title from an mp3, you can just look for an mp3 library. i'm sure they exist somewhere, just google "java mp3 library" or "java mp3 api"

  3. #3
    AndrewM16921 is offline Senior Member
    Join Date
    Jan 2009
    Location
    CA, USA
    Posts
    264
    Rep Power
    6

    Default

    On Sun's site is had something called "JMF MP3 Plugin" (Java Media Framework) - I'm hoping that's along the lines of what I need.
    http://java.sun.com/javase/technolog.../download.html
    I installed it. Now Ima hope...! :D
    Last edited by AndrewM16921; 08-13-2009 at 06:03 AM.

Similar Threads

  1. Replies: 1
    Last Post: 11-28-2008, 07:27 PM
  2. Replies: 0
    Last Post: 01-22-2008, 12:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •