- Remote desktop (terminal service) to the home server
- Open Control Pael | Administrative Tools | Internet Information Services (IIS) Manager
- Expand Internet Information Services | YourHomeServerName (local computer)
- Create the application pool
- Right click on the Application Pools folder and select New | Application Pool
- Provide an application pool name (ex. HDVideosAppPool) and leave the default selected
- Click OK. This application pool will allow the new website to run in its own memory space and not create conflicts with the remote acces site or any other site for that matter.
- Create the web site
- Right click on the Web Sites folder and select New | Web Site
- Enter a description of the web site (ex. HDVideos)
- Enter a TCP port of 8001 (Important security note – ensure your router does not have port 8001 open, otherwise anyone from the Internet will be able to access your videos)
- Under path, enter the UNC path of the location of your HD videos (ex. \\YourHomeServerName\Videos) and leave anonymous checked
- When prompted for permissions, select Read and Browse
- Click finish
- Configure the web site
- Right click on the site and select Properties
- Select the Web Site tab and ensure “Enable logging” is not checked (no need to log access of these files, which should slightly improve performance here)
- Select the HTTP Headers tab and then “Mime Types”
- Enter “*” for the extension and “application/octet-stream” for the Mime Type (of course, both NOT in quotes). This allows IIS to stream any type of video file you have.
- Select the Directory Security tab and click on the first Edit button
- Ensure only “Enable anonymous access is checked” – so that the NMT device can access this web site
- Click on the Home Directory tab and set the application pool to the one we just created
- Click OK
3. Install upnp2http
upnp2http is a UPNP wrapper for HTTP. It allows the web site to automatically appear as a menu item from the NMT’s home screen.
- Download and extract upnp2http to c:\upnp2http
- The upnp2http.conf is what upnp2http uses to inform your NMT device of what menu text to display and what link to go to once clicked. Erase all the contents of this file and enter the following (Modify to properly reflect your desired menu item text and the IP address of your home server):
YourMenuText = YourHomeServerIPAddress:8001 - Run the following command to install upnp2http
“c:\upnp2http\upnp2http.exe” -I - That’s it. upnp2http will now run as a Windows service and your NMT device should automatically display your new menu item.
4. Install MovieJukebox
MovieJukebox is a command line, java tool that can scan your video files, automatically lookup and download their information (ex. IMDB, TVDB), download image posters and movie trailers, and create a beautiful web page interface which easily allows you to find and access your video files. To install:
- Ensure you have java installed.
- Download and extract the latest version of MovieJukebox to c:\moviejukebox
- Download and extract the latest version of MediaInfo – Command Line to C:\MovieJukebox\mediainfo
- Edit C:\MovieJukebox\moviejukebox.properties
- Find and modify the “Apple Trailers plugin parameters” section to have MovieJukebox automatically download movie trailers (pretty cool – I originally suggested this to the MovieJukebox team and they finally implemented)
5. Setup the index job
Finally, you need to setup a job that will regularly index your movies (so you can simply add your video files to the share and later the job will kick in and index your new files). This will cause moviejukebox to download information and files and ultimatley create the associated web page interface. To setup the job:
- Create a text file called videos.xml, in the root share where your video files are stored, with the following content (Modify to properly reflect the IP address of your home server):
<?xml version=”1.0″ encoding=”utf-8″?>
<libraries>
<library>
<path>b:</path>
<nmtpath>http://YourHomeServerIPAddress:8001/</nmtpath>
</library>
</libraries> - Create a text file called Index.bat, in the root share where your video files are stored, with the following content (Modify to properly reflect the name of your home server videos share):
@ECHO OFF
NET USE B: \\YourHomeServerName\YourVideosShare
c:
cd c:\moviejukebox
CALL c:\moviejukebox\MovieJukebox “B:\videos.xml” -o “B:\Jukebox”
NET USE B: /D - Create a scheduled task (see instructions here) that will run index.bat on the scheduled of your choosing (I have mine run daily, 7AM). When creating the task, ensure you have it run under the Windws Home Server adinistrator account so the scheduled task can access the video files and create the web pages.
RELATED POSTS:





















































