Okay, I got it working and I figured I should post the solution so others can use it if they want to do the same thing. Here's a simple step-by step.
1. First I added the mime-type .m4u to my Apache server configuration with the following line (this goes in the <Directory> section
AddType video/x-mpegurl .m4u
2. The I made a simple php script to list the contents of my movies folder and create a link that follows the following format:
http://myserver/playmovie.php?filename=mymovie.avi
3. Here is what playmovie.php looks like:
<?php
header('Content-type: video/x-mpegurl');
header('Content-Disposition: attachment; filename="playlist.m4u"');
$home = "http://myserver/movies/";
$filename = $_GET['filename'];
echo $home . $filename; ?>
It sends the header for "playlist.m4u" which is created on the fly at the echo line.
4. I set up my WinXP machine to play .m4u files with mplayer through the File Types actions with the following action:
"C:\Program Files\mplayer\mplayer.exe" -playlist "%1"
5. I visited my myserver/movies/ and clicked a file. When the browser asked how to handle the .m4u file a told it to open with the associated program and never ask again.
That's it! Now when I want to watch a movie I just pop open a browser and choose. I'm now working on enhancing the php and adding some css stylesheets to improve the look of the filechooser. It's so much nicer than having to type in long urls into mplayer or having to open folders in My Network places. Now I have all the flexibility of a webserver for my media library! If anyone wants a copy of the php script I use to list my files, just e-mail me at jnoble1 at emich dot edu
Later!