Results 1 to 3 of 3
Thread: MP3s and Browse
- 08-12-2009, 06:43 PM #1
Senior Member
- Join Date
- Jan 2009
- Location
- NJ, USA
- Posts
- 183
- Rep Power
- 5
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.
- 08-12-2009, 08:32 PM #2
Senior Member
- Join Date
- Sep 2008
- Posts
- 564
- Rep Power
- 5
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"
- 08-13-2009, 04:45 AM #3
Senior Member
- Join Date
- Jan 2009
- Location
- NJ, USA
- Posts
- 183
- Rep Power
- 5
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...! :DLast edited by AndrewM16921; 08-13-2009 at 05:03 AM.
Similar Threads
-
MavenJava - browse source code of all open source projects online
By jirkacelak in forum Java SoftwareReplies: 1Last Post: 11-28-2008, 06:27 PM -
New project VFSJFileChooser(browse local and remote locations)
By mrcheeks in forum AWT / SwingReplies: 0Last Post: 01-22-2008, 11:05 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks