Generating an xml playlist of my mp3s

i need to create a playlist to make a flash player on my site to play a bunch of mp3s i have hosted on another site. i dont want to manually create the xml file as there are over 200 files to add, is there a generator that can help automate the process? thanks

Winamp can do so from its playlist (under the “Misc” option at the bottom of the playlist window). It generates HTML which I’m sure can be easily adapted into XML. Not sure how you’re going to add the files to the playlist though. The big question here is, how does the “generator” access the files?

In that case, it’s as easy as glob.

$mp3s = glob('*.mp3');
foreach ($mp3s as $mp3) {
  // echo XML
}

thanks, im trying to find some script which i can upload into my folder of mp3s on the server and automatically generate the playlist, that would be more convenient as it would grab the correct URLs as well.