Jump to content

Quick question about path substitution


Recommended Posts

Jack Burton
Posted

I want to give it a go, just wondering about paths. So in the "From" example (Example: D:\Movies (on the server)), it's pretty straight forward. My question is regarding the "To" example (Example: \\MyServer\Movies (a path clients can access)). Is the "MyServer" line a default, or do I have to find my specific path? In my folder sharing properties, I have a network path of \\NameOfPC\y for one drive. Is this what I use?

 
Thanx for taking the time  ;) 
swhitmore
Posted (edited)

For a UNC path, after the \\ is the computer name or IP address followed by a \ and then the shared folder.

Edited by swhitmore
Jack Burton
Posted

Perfect thanx, I'll give it a try

Posted

It will depend on your environment.  You need to enter whatever path would be accessible to the client device.

swhitmore
Posted

If you need an example, mine looks like this:

577db6fa12a9b_Capture.png

  • Like 1
Jack Burton
Posted

If you need an example, mine looks like this:

577db6fa12a9b_Capture.png

I feel like I'm missing something simple. In your path \\SERVER\Videos, where did you get "SERVER" from? Is it just a default or is it a specific title you've specified somewhere? There's no drive letters in the substituted path so I guess I'm not understanding how the link is made. I've got 3 drives, each with a TV folder and a movie folder. Aside from the drive letters, the paths are the same on the drives (Z:\Media\Movies\Movies, Y:\Media\TV\TV, etc). I think I get that the path substitution basically points different folders to one and pulls them together, is that right? So for each movie folder, would I do all 3 movie folders on drives Z, Y, and X to the same substitution?

Happy2Play
Posted

I feel like I'm missing something simple. In your path \\SERVER\Videos, where did you get "SERVER" from? Is it just a default or is it a specific title you've specified somewhere? There's no drive letters in the substituted path so I guess I'm not understanding how the link is made. I've got 3 drives, each with a TV folder and a movie folder. Aside from the drive letters, the paths are the same on the drives (Z:\Media\Movies\Movies, Y:\Media\TV\TV, etc). I think I get that the path substitution basically points different folders to one and pulls them together, is that right? So for each movie folder, would I do all 3 movie folders on drives Z, Y, and X to the same substitution?

 

Does the wiki answer your question Path Substitution?

swhitmore
Posted (edited)

SERVER is my computer name that I gave to my computer in Windows. The folder I'm substituting TO is a shared folder in windows that uses a UNC path
 

I think I get that the path substitution basically points different folders to one and pulls them together, is that right? So for each movie folder, would I do all 3 movie folders on drives Z, Y, and X to the same substitution?


Path substitution doesn't group folder. It changes the path that a client uses to access the file you're trying to play. You use this when your client is a different machine than your server, and needs a shared network path to access the files.

 

If you just want to group the drives together in 1 library, you can to this just by adding multiple folders in the library setup.

Edited by swhitmore
  • Like 1
Jack Burton
Posted

Great, thanx for the help, I think I've got it. The "MyServer", "SERVER" stuff threw me off since  it sounds generic, like a default name. Like I said before, I have 3 drives with a TV and Movie folder in each (Movies 1 on Z:, Movies 2 on Y:, and Movies 3 on X:, etc). Basically the paths go Z:\Media\Movies\Movies 1, Y:\Media\Movies\Movies 2, etc. I originally only had the drives themselves shared, so I shared the Movie and TV folders individually, and in properties have a network path as \\Servername\Movies 1 for my Z drive movies folder. So now I need to do 6 path substitutions right? 1 for each Movie and TV folder? Sorry if I'm being a pain, just having trouble grasping this for some reason

Posted

The path substitution is nothing more than a string replacement so you only need as many as you would to create the proper names.

 

For instance, if you had:

 

Z:\Media\Movies

Z:\Media\TV

 

Then a single path subsitution of "Z:\Media" -> "\\server\media" would handle both of those.

  • Like 1
Jack Burton
Posted

The path substitution is nothing more than a string replacement so you only need as many as you would to create the proper names.

 

For instance, if you had:

 

Z:\Media\Movies

Z:\Media\TV

 

Then a single path subsitution of "Z:\Media" -> "\\server\media" would handle both of those.

Great, think I got it. Thanx a lot

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...