Reading mp3 tags

Aug 19, 2010 at 7:46pm
dgsdhdrsh
Last edited on Aug 21, 2010 at 12:47am
Aug 19, 2010 at 8:02pm
Is there any particular reason you're trying to do this manually?
You can just use id3lib.
Aug 19, 2010 at 8:05pm
Yes we have to do this manually for a project... Life would be a lot easier if i could use that :) lol... But we need to print all of the infromation of the mp3 off and print all mp3 files from every directory and sub directory out as well.. I am VERY confused. THANKS FOR THE POST!
Aug 19, 2010 at 8:10pm
That second bit there about printing off all mp3 files from every directory can't be done manually. That is to say that it can be done manually but unless you are told where to look you need the API of whatever OS you are using in order to preserve your sanity. So to reiterate yet again, it can be done buy should NOT be done manually assuming it is more complex then "List all of the mp3 files in this specific folder right here do not list any other file type... blah blah blah".
Aug 19, 2010 at 8:19pm
These are the 4 parts that he wants us to do about printing the mp3 files off..

Finds mp3 files in default folder.
Finds mp3 files in specified folder.
Folder names are expressed relative to root folder.
Records are sorted by filename.

He didn't really explain to us how to even start doing any of this... :(!
Aug 19, 2010 at 8:45pm
Yeah if you expect explainations on projects in programming classes you'll be disappointed a lot.

1: Default folder to me means the folder that the application is running in right? If so then this will just be step 3 for the first part.

2: This is a matter of adding the specific directory to the begginning of the filename array. Did he say how this was to be implemented? Is he giving it to you to hard code? or Does he expect you to except it as user input?

3: Ok this is just something to consider.

4: I could see how this would matter as you know now that they are not sorted by type.

Have you done any API work where we can assume that this is an option? Because that would make it a bit easier to find and work with files. You call friend.
Aug 19, 2010 at 8:51pm
No work done with API's this is my first semester and i was thinking he would explain his projects a bit more so we could actually understand what he is looking for.

1. Yes default folder means the one you are running from.. and all the sub directories of that folder

2. He did not say how to implement it so it can be hard coded

Thanks for any help man! :)
Aug 19, 2010 at 9:00pm
It may take me awhile to research this. I can't remember doing file management outside of a file system. I'll let you know if I crack.
Aug 19, 2010 at 9:04pm
Ok thanks a bunch i have been sitting in this room for 5 hours trying to figure as much as i can out and it isnt going well lol due tomorrow night... O.o!! Time to panic!
Aug 19, 2010 at 10:07pm
Sorry man I don't think I would be able to get a decent handle on it by then. I don't know the io.h header that well
Aug 19, 2010 at 10:18pm
Damn alright we'll i have upgraded my code a lot i have around %40 now lol how sad... 5 hours for %40... Now the main problem is printing out the mp3's from the folders!
Topic archived. No new replies allowed.