8 January 2009

Recent code project

Had some fun over that last few days finally getting to a project I'd thought of in December. I have my MP3 folder available to my web server, but there's no easy way for me to access it remotely if I'm at work and want to listen to a ripped CD or two. To get around this, I wrote a few PHP pages to browse the folders from a web page, build a playlist, and dynamically serve up an M3U file to stream the tracks. Very convenient. The only issues I've had are with my flaky Apache server. Everything's pretty much up-to-date (Apache/PHP/etc.), but it can leak memory pretty badly, so I schedule a restart of Apache every hour. On the restart, the current track will pause and restart at the beginning. Meh.

[ posted by sstrader on 8 January 2009 at 1:12:52 PM in Programming ]