Talk:Network Share
From NMTWiki
Ok, I finally figured how to get YAMJ to work with multiple hard drives that are mounted in a remote computer. The problems I was having was due to the limited ability to mount only one share at a time.
On the PC,
YAMJ files are located in C:\popcornhour - index.htm is located in C:\popcornhour and the remainder of the files are located in C:\popcornhour\jukebox
Movies are located in both Y:\ & Z:\
NMT can only see one share at a time so when the YAMJ index.htm which resided in C:\popcornhour was loaded, it worked fine moving through the menus until the play button was selected and then the NMT basically would do nothing becuase the link would point to another share for drive Y: or drive Z: (both drives were shared)and the NMT couldn't switch the share in this manner.
Ok, here is how to make this setup work....
You need to make all files in C:\popcornhour and Y:\ and Z:\ appear as a single folder/share even thought they are on three differnet physical drives. To do this, download Winbolic Link (free, search for it). On the left pane, select C:\popcornhour and on the right pane, select y: and enter a name for the link (something like "DriveY" for example) and then hit button below to CREATE NTFS JUNCTION (must be using NTFS, if not, convert disk to NTFS). Repeat the same steps for Z: - Now when you use explorer and select C:\popcornhour and drill down, DriveY and DriveZ will appear as subfolders of C:\popcornhour and all folders under DriveY and DriveZ will be visible under their respective folders. Now you have only ONE logical share that the NMT needs to know about. My share for C:\popcornhour is named "popcornhour". IMPORTANT - You need to also share drive Y: and Drive Z: - if you do not do this, you will only be able to browse/access the folder structure on the local PC where you created the junction points and not from any remote computer or NMT - You can confirm the ability to completely navigate the shares by using another PC and pointing to the PC with the popcornhour share. Just open explorer and type \\machine\pocornhour where machine = the name of the computer with the popcornhour share - hit enter and drill down through the folders and if this all works then you can add the popcornhour share to the NMT (you do not need to add shares for DriveY or DriveZ to the NMT).
To configure the library files for YAMJ, I recommend downloading the YAMJ GUI configurator (YAMJ GUI Config v0.43.exe). When it asks for the directory for location of movie directory, use \\machine\popcornhour - if you use c:\popcornhour it will complain. Select the option "on a Network Path on the NMT" (this assumes you have already added the popcornhour share to the NMT becuase the GUI is going to want the IP address of the NMT so that it can check the NMT to see what shares are available. To the right, there will be a list of shares on the NMT - select the share for popcornhour. NMT path will be filled in automatically (DO NOT mess with it). Select the directory where you want the jukebox to be stored - in this case, use c:\popcornhour. Click the "add" button and then the "save" button and save your YAMJ library file where you want. It will create a file by the name of My_Library.xml as the default. Make sure YAMJ is set to use this library file or rename it to the name that you are using for the library file. Run YAMJ
Now you should be done. From the NMT, select source and browse the share for popcornhour. The index.htm will be loaded and then you should now be able to drill through the menus and hit the play button and it should work. The Windows PC is now going to effectively present one single share to the outside world (\\machine\popcornhour)with DriveY & DriveZ being viewed as subfolders to \\machine\popcornhour - You can add more drives as necessary. I know I probably left out a lot of little details but I figure if you have gotten this far, you know the basics about adding shares on the NMT and at least something about configuring YAMJ. I hope that this helps someone because I got my NMT (200) from the first batch and it has taken until now to get it set up and working the way I want - many hours trying differnt things - hint, I almost solved it a while back and gave up. The one thing that I was missing was this (IMPORTANT - You need to also share drive Y: and Drive Z:). The NMT couldn't get to the shared subfolders so it just wouldn't play any movies when using the play button from the HTML. It was a big help to use the laptop to remotely access the \\machine\popcornhour share to confirm that access to all subfolders could be achieved from a remote computer - the NMT doesn't really let you know that it can't access them, it just does nothing other than a very fast message that you will miss if you blink. Folder names and drive letters can be whatever you want - these just happen to be what I used and you don't need to start from Y:\ or Z:\ - just mke sure that for any junction points that you create with Winbolic that the source folders are also shared.
Good luck.
