Here's M.Cushman's original PM to me:

Quote:
Hi Mark, I've been messing around on and off with a project to give a "party" web interface that would let the user see the current playing order of tracks and append/insert new tracks intothe playlist.

The hurdle that I've been getting around is getting the current playlist. I modified some of tonyc's code to look into the dynamic data partition and pull out fids 'around' the current track. I can then represent this list of fids in XML and let the browser build the rest of the interface.

In order to deliver this XML file to the browser, I must have a way to send it over http - so I can either roll my own webserver with the code to get/form the XML playlist or deliver it viakhttpd if it supported CGI scripts. I have not written many web servers ;-) but how hard wouldit be to allow CGI scrips in khttpd? We could identify CGI scripts as files marked executable with a .cgi extension, or have config.ini lines with allowed extensions. Only allow GET, no POST. On a GET request, pass the URL past the ? to the executable as the single argument, execute the binary, and pass the output back to the browser.

This could be useful for more than just a web interface, too. My new Palm has Bluetooth and a BT interface to the Empeg could use the current running playlist information just as easily as a web browser.Anyway, let me know what you think.