|
|
APPENDIX
4.
Media Location Entries! |
|
This is one area where alot of people have problems.
First of all, .. the question is .. Where are your movie files located? an
Internal Hard Drive? A USB hard drive? A SMB Netwrok Share? or an NFS
Network Share?
Suppose you have an internal hard drive installed in your PCH.
After you have formatted the hard drive in the PCH, ... it makes a
folder called "Video", which is where you want to copy your movie files to.
Next, the internal hard drive of the PCH. ... has to be "seen" on your network
and "Mapped" in as a drive letter....ie, .. you browse (ie, .. network
connections) over to the PCH, .. then Right Click on the PCH, and Click on
MAP NETWORK DRIVE, .. and then assign a drive letter to the PCH, ... say
X: ... so now you have a location to copy your movie files to,
... which is X:\video. And this is
the same for all storage locations that you can setup.
Which is what you enter into the PC Location #1 box, followed by a trailing
backslash ie, ... X:\Video\
But what about entering the second entry, the NMT
location? |
|
If you Click on the SOURCE button of your Remote, .. you'll see a screen like
below: |
 |
|
Here, you can see that I have three locations for movies in my system.
| 1. an internal hard drive |
called HARD_DISK |
| 2. an NFS Network Share |
called QNAP::Qmultimedia |
| 3. a SMB Network Share |
called ALLEN:G DRIVE |
Next, remember that the PCH runs Linux, and NOT Windows, ... so it doesn't know
what X:\Video means. Instead , the movie file location is made up of 5 parts ....
PART 1:
file:///opt/sybhttpd/localhost.drives/ is
used to describe a drive location. For simplicity. let's call this the Linux preamble. It must ALWAYS be present when we want to call out a file in
this NMT system.
PART 2:
Next, we have the Device Type. Choices here are:
| DEVICE TYPE: |
A-100, A110
w/ latest
firmware |
A110, or A100
w/ firmware
before 8/22/08 |
| Internal Hard Drive |
HARD_DISK/
|
HARD_DISK/
|
| USB Hard Drive |
USB_DRIVE_A-1/ |
USB_DRIVE_A-1/ |
| SMB Network Share |
NETWORK_SHARE/ |
[SMB]
(followed by spacebar) |
| NFS Network Share |
NETWORK_SHARE/ |
[NFS]
(followed by spacebar) |
If you have an A100, A110, B110 with latest firmware,
then use the middle column. If you have an A110, B110 (firmware before 9/22), ... or an A110 with firmware before 8/22/08 then use the right column.
There is a change you will
have to make if you have the
C200....
When exporting ... over on
the NMT Location Variables
page, ...
If you have an internal hard
drive installed in the C200
....
OLD: (A100/110)
file:///opt/sybhttpd/localhost.drives/HARD_DISK/
NEW (C200)
Replace HARD_DISK with
either SATA_DISK,
SATA_DISK_A, or SATA_DISK_B
Whichever the case may be.
Do NOT use sata_disk .....
ie LINUX demands exact
case!!! Ie ... SATA_DISK ,
etc....
soooooo, if you have
the new C200, anywhere on
these pages you're told to
enter HARD_DISK ... you
would instead enter
SATA_DISK, SATA_DISK_A or
SATA_DISK_B
|
PART 3: Next, we have the ShareName, which is only used if "c" was selected in
Part 2. Otherwise, leave Part 3 blank. The ShareName is always seen on the
SOURCE
Screen of the NMT. (as shown above) so, ... for my case, .. Part 3 is QNAP::Qmultimedia
for NFS
and ALLEN:G DRIVE for SMB.
PART 4: Next, we have the Folder name. ie, ...
Video/
PART 5: Lastly, we have the Filename., ie, ...
The.Godfather..avi
so. simply put all the parts together, ... and we have the correct answer!!!
sooooooooooo, .... what would I enter for the NMT
Location box of the Media Location Variable tab...
|
A100
or A110 ... Internal Hard Drive with movies in the
Video folder: |
|
PART 1: |
PART 2: |
PART 3: |
PART 4: |
PART 5: |
|
file:///opt/sybhttpd/localhost.drives/
|
HARD_DISK/
|
(skip)
|
Video/
|
filename
|
|
ANSWER: (A100 or A110) |
|
file:///opt/sybhttpd/localhost.drives/HARD_DISK/Video/filename
|
So what about a SMB share?
So what about a NFS share?
|
A100,A110,B110
(latest firmware)
NFS, Hard Drive on a QNAP
NAS with movies in folder named Video2:
|
|
PART 1: |
PART 2: |
PART 3: |
PART 4: |
PART 5: |
|
file:///opt/sybhttpd/localhost.drives/
|
NETWORK_SHARE/
|
QNAP::Qmultimedia/
|
Video2/
|
filename
|
|
ANSWER: |
|
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/QNAP::Qmultimedia/Video2/filename
NOTE: to find
"YOUR" correct entry for PART3, just press the SOURCE
button on your remote! |
Also, do not use "passwords" with your network
shares, .. ie get rid of them, ie, use simple file sharing.
To provide some EXTRA help with entering the correct values
for the NMT variables, I've added a LOCATOR button to this window - which will find the
possible values for Part1,Part2 and Part3!! for your setup. You'll need to know the IP Address of your NMT.
(On the NMT Click on SETUP, then Click NETWORK and you'll see the ip address. Now, .. back to the export!
|
 |
The program will now look for your NMT and then find all the
possible Media Locations. Now , just copy and paste whichever entry you want into the NMT
Locations box on the export page. You'll still need to add PART 4 to this, .. but being able to
Copy/Paste should prevent typos, etc... :) |
|
What if you have 2 movie folders on the same hard
drive? Here's what GSBAKER had to say on the Networked Media Tank forums
The answer to what is entered for the NMT Location
depends somewhat on what was entered for the PC Location
variable. For example, in my set up I have the
following:
a. Movies located on a network shared PC (named
GANDALF) running Windows XP in a folder off the root
directory called MOVIES (Each movie is in a separate
folder within this MOVIES directory). At the same time I
have my TV shows in a different folder off the root
directory - called TV. Using Windows filesharing (SMB) I
have "shared" the root directory with a sharename
PCHmedia.
b. From the computer running MovieCollector - I
have mapped to this shared drive as M:\ (so M:\ shows
all files and directories off the GANDALF root
directory, including the folder called MOVIES)
c. From the PCH I have browsed to this network
share and named it "GANDALF"
Therefore, for me:
Part 1 =
file:///opt/sybhttpd/localhost.drives/
Part 2
=
NETWORK_SHARE/ Part 3 = GANDALF/
Part 4 = MOVIES/
(for movie files) OR TV/ for TV shows
Part 5 =
moviedirectory/moviename
With this setup: - if I set my PC Media Location variable to M:\MOVIES\ then my NMT Media Location variable would be
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/GANDALF/MOVIES/
(i.e. part 4 but no part 5)
however this would only provide me access to the
Movies and NOT the TV shows
- therefore I set my PC Media Location variable to
M:\ and my NMT Media
Location variable to
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/GANDALF/
(i.e. NO part 4 or part 5)
The way I look at it - the PC Media Location variable is
the amount the XSL template "strips off" the Windows
based path name provided by MoC. The NMT Media Location
variable puts back "exactly the same information" but in
Linux - and as seen by the PCH. Therefore, it seems to
me that what is necessary in Part 4 depends on what you
have specified in the PC Media Location. In my case
since I want access to both the MOVIES directory and the
TV directory - I only have the XSL templates strip off
the Windows path to the root (M:\) and therefore only
need to specify parts 1, 2 and 3 in the NMT Media
Location variable. |
|
| |
|
|
|
|
---- PLEASE
DONATE --- |
|
Although
all of my hobby software is free, the time and effort that has gone into this
endeavor has been fairly heavy. I estimate more than a thousand hours have gone
into development, answering emails, webpage maintenance and finding servers
willing to host it all!
So, I am now asking for donations from anyone who is willing to help. I am not
going to ask for a specific amount as I appreciate that people have differing
financial resources, just whatever you feel that you value the software. If you
do Donate I guarantee to personally answer via email any questions that you
have.
I want to be clear - the software is FREE and if you feel you should not (or
cannot) donate or have any reason why you would rather not donate - that's
perfectly fine. However, a $? general donation will go a long way to helping
keep my software available for as long as possible. So go ahead and download my
software - use it all you like. If you feel you got $? worth of use out of any
of it and wish to contribute please press the Donate button.
Comments? by all means email me at
aks@iglou.com
. Should you have questions about setting up your Popcorn Hour, please visit the
USER APPS section of
http://www.networkedmediatank.com/forumdisplay.php?fid=34
and ask your questions there. I do this part-time, ... so I'm not able to answer
tech questions via email, but I will respond and answer any/all questions about
the Movie Jukebox on the NMT forums.
If you DONATE, ...then I'm more than
happy to answer questions via email, and I'll provide my phone number for tech
support a well.
|
|