PDA

View Full Version : Music Player : how to play complete directory


spok61438
07-06-2007, 12:03 AM
Title says it all. I have a flash music player that plays file that I told it to but what I would like to do is that it plays file from an entire given directory. is it possible? if so how should I code that? thanks in advance

spok

StupidRalph
07-06-2007, 04:50 AM
How do you create your playlists for your mp3 player? Do you use an XML file? If so you can dynamically create an XML file with a server-side language. I'd personally use PHP for the job. Perhaps you should go to whatever server-side language forum you are comfortable with and ask how to dynamically build an XML file if you are not familiar with how to do so.
(You should also include the expected structure of the XML file.)

Also, if you so choose this route, come back and post a link to that thread here so others with the same problem will know where to look.

_Aerospace_Eng_
07-06-2007, 05:05 AM
If you are able to use php then you can use a php playlist that is generated from a directory. The mp3 player found here has this capability.
http://www.*******************/?item=jw_mp3_player
View the extras available here: http://www.*******************/extras/

StupidRalph
07-06-2007, 12:05 PM
Seems as if you just told me the same thing. :p