2 questions: mp3 player

I am trying to develop a mp3player. I know only the basics and I need somebody to please help me out witha couple of things:

1 is there a way to load an external mp3 file randomly from a list of files in a folder? is there a “rand” function (as in php) or something to get random numbers?

2 how can I display the ID3 tags?

please help me out! thank you…

ps. I am using k. bellew’s tutorial as a guide.