Another way to approach this will be to use combination of TV and Newslisting snippet.
Go to your manager and create a new TV with a ’file’ as athe type for the TV, so you can upload music into it.
Now assign this to the template, lets say ’playlist-tpl’. You also need to have another plain mini-textarea TVassigned to this template with default value @INHERIT.
Now you need to make playlist-tpl template to be an empty template with mini-textarea TV tag on it, which is the one that we created above. Create a new folder called playlist. Assign this folder with template playlist-tpl. After that, inside the TV mini-textarea content, insert Newslisting snippet to list all the documents/folders under this parent folder, and ask the newslisting to ignore folder, and you also need to use a chunk template to output the document listing in certain format to match the XML output on that flash player playlist format (you might need to create a header and footer, and you might as well use pagetitle or longtitle to named your song artist, title, and etc). Now create a subfolder under this folder, lets call it album1 and make sure that you use the same template as above (you can use template parent inherit plugin, so this will be achieved automatically). Now under this subfolder, create a sub document, lets call it ’song1’, then on your file tv, upload your desired song mp3 file on it.
Now if you visit the playlist folder, you will have a list of all the songs from all the album that you have in the right xml playlist format for the flash player. If you visit the album1 folder, you will only get the list of all the songs under that album.
So now the next ste is to setup the flash player like what doze suggested. This way you can have a better structure of maintaining the songs.
Hope you find it useful.
PS: It’s just a prove of concept to show how powerful MODx is