Log in

View Full Version : Mpc-Hc IIS Web Interface


bjd
21st January 2011, 13:35
If anyone is interested, I built a small web interface that runs on XP or Vista/Win7 's IIS web server. The interface mimics Windows Media player and allows the user to navigate media folders and add the entire folder contents to the playlist by creating a m3u file dynamically.

This is really an album player, that is useful if you want to to take advantage of ffdshow audio/WASPAI and play albums assuming you have an organised media file structure on your pc (there is no database or anything behind it).

It is based on the native mpc-hc web interface, I just took the files and adapted it so it was easier to navigate and play music, but it can also be used for video media too especially if used across a local home network to control a media server.

There are no further plans to develop as it does what I need it to do, just thought it might be useful to share.

Overview
========
Only to be used on a properly firewalled internal network - NOT ON AN INTERNET FACING MACHINE

Allows for the viewing and playback of music/media files via a web interface
Default support for Mp3/Wma Meta tags.
Flac/Ogg/Aac Meta support under Vista/Win7 requires the install of taglibhandler-v0.3.exe (http://sourceforge.net/projects/taglibhandler/)
No support for Flac/Ogg/Aac Meta under XP.

Basic Instructions
==================
1. Install IIS with .asp support on the host computer and drop files into the default c:\inetpub\wwwroot folder
2. Point the Mpc-Hc webserver to the same folder by using the browse feature (View -> Options -> Web Interface)
3. The default Mpc-Hc webserver port of 13579 is fine for this project (but can be changed if necessary)
4. Ensure the Mpc-Hc Title Bar displays the full path (View -> Options -> Player)
5. Ensure the file /includes/tmp.m3u has write access file permission by the Webserver user (normally IIS_USR or IIS_USRS) for the playlist function to work properly.
6. Check the configuration settings.
7. Launch http://127.0.0.1 in your browser and check you can nagivate and play files

Notes
=====
The Webserver looks for the system image file "folder.jpg" in every folder which it assumes is a thumbnail. It will also look for a large file called cover.jpg which can by any size.
Based on the original webserver included with Mpc-Hc but with album/folder playlist function and enhanced interface
If using a WASAPI or Kernel streaming audio renderer, the volume controls should not function.
Just designed as a lightweight web interface, there are no plans to develop further.

ChangeLog
========
v0.3 10th March 2010
Improved Browser Compatibility
Integration of JQuery for speed and user experience

v0.2
Couple of Fixes/Tweaks

v0.1
Initial Release

Latest Version
--------------
http://rapidshare.com/files/451864884/www-mpc-hc-v0.3.zip

bjd
10th March 2011, 12:32
I have updated this media player with a new interface and integrated JQuery for better browser compatibility. The web interface runs on IIS using .asp and allows media playlist functionality. This is useful if your media server is connected to your audio system and you want to control it via another pc or smartphone on a Wi-Fi Network.

Screenshot Download Link:
http://rapidshare.com/files/451865752/web-interface-screenshot.png