You may be past this already, but I'll document what I did in getting MPD set up on Windows 7. This will probably be overkill if you've ever used mpd before, but since I hadn't, this is what I would have found helpful:
Download / unzip the windows binaries (I'm using
Edit mpd.conf - here's a sample (with the comments removed):
d:\music\mpd\playlists must exist.
Start the mpd server by running from the command line:
mpd mpd.conf. Note that you apprently have to specify the configuration file, or it won't work. It will probably complain about the database not being found, but will go ahead and create a new one.
Use mpc to check if it's working:
mpc listall to get a list of all the files scanned by MPD
mpc add <file> to add a file to the current playlist (use the same path output by
mpc play to start playing
ctrl-c on the mpd console to stop it.
If that all works, you can get mpc to start on computer startup using scheduled tasks, so you don't need to log in for it to run:
task scheduler (just type it in the Windows start search bar)
- Create a task
Run whether the user is logged on or not
- Add a trigger. Begin the task at startup. Add a delay if you want.
- Add an action. Program/script = "mpd", add arguments: "mpd.conf", start in "c:\program files..." (wherever you extracted mpd.exe to).
- Close and save the task, and supply credentials for it to run under.
- You can run the action now and mpd will load up in the background, and again every time you boot up your computer.
You won't see it in Task Manager, unless you click "Show processes from all users" even if it's running under your username.
Install IIS (or some other webserver), using
Turn windows features on or off, make sure to include CGI under IIS > WWW Services > App Development Features.
Download phpMpReloaded, and point IIS at it.
Open up port 80 on your windows firewall.
Obviously different clients / webservers can be used, but this is roughly what I have running. Combined with a set of wireless speakers, this lets me run music through the whole house, controllable by any device with access to my WIFI network.