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.
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"
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.
I installed it. Now Ima hope...! :D