forked from MediaBrowser/plugin.video.emby
-
-
Notifications
You must be signed in to change notification settings - Fork 79
Option 2 Substitute Paths on the PMS
shareonline edited this page Sep 26, 2018
·
13 revisions
This will work for every setup, as you will change to media locations Plex points to to network paths. You will not have to physically move your media files!
Be aware that all paths are potentially case-sensitive, even when using Windows.
Make sure that all paths are exactly spelled as you created them.
- Make tripple sure that all your media is accessible to Kodi
- Windows Server: Nothing special to consider
-
Linux/Mac Server:
- All Plex libraries of a certain kind (movies [="Other Videos"], TV shows, music) need to be accessible under the same network root path
- Simple example with ONE root path:
smb://myNas
:- Library My Movies (Movie library) is accessible under
smb://myNas/movies
- Library My Other Videos (Movie library) is accessible under
smb://myNas/videos
- Library Kids Movies (Movie library) is accessible under
smb://myNas/kids
- Library TV Shows (TV Shows library) is accessible under
smb://myNas/shows
- Library Music (Music library) is accessible under
smb://myNas/music
- Library My Movies (Movie library) is accessible under
- For each of your Plex libraries, note the new network path. Our example Plex library here:
-
Windows Server:
- Library My Movies is accessible under
\\myNas\movies
- Library My Movies is accessible under
-
Linux/Mac Server:
- Library My Movies (Movie library) is accessible under
smb://myNas/movies
- Library My Movies (Movie library) is accessible under
-
Windows Server:
- Unfortunately, Plex needs your network resources mounted on Linux and Mac:
- Windows Server: skip this step
-
Linux/Mac Server:
- Mount your SMB network resources above permanently. For Mac, Plex offers a guide. For Ubuntu, follow this tutorial.
- Mount all Plex libraries of a certain kind to the same path!
- In our example, simply mount
smb://myNas/
directly to e.g./media/myNas
and you're done
- Mount your SMB network resources above permanently. For Mac, Plex offers a guide. For Ubuntu, follow this tutorial.
- For each Plex library, start following the Moving Content to a new Location guide by Plex to the letter.
- Skip the step Copy Content to the New Location
- In step Edit Your Libraries, use the following new path for the library:
-
Windows Server:
\\myNas\movies
-
Linux/Mac Server:
/media/myNas/movies
-
Windows Server:
- Do this for every Plex library accordingly
-
In the PKC Settings under Sync Options, switch the Playback Mode to Native (Direct Paths)
-
Under Customize Paths, set the following options:
-
Windows Server:
- Enable Plex UNC paths...
- Disable Replace Plex paths...
-
Linux/Mac Server:
- Disable Plex UNC paths...
- Enable Replace Plex paths... and plug-in the original mount points to be replaced by the SMB paths. In our example:
-
Original Plex MOVIE path to replace:
/media/myNas/
(!!) -
Replace Plex MOVIE with:
smb://myNas/
(!!)
-
Original Plex MOVIE path to replace:
- Thus,
/media/myNas/<whatever>
will be turned intosmb://myNas/<whatever>
for ALL your libraries of a certain kind
-
Windows Server / Linux clients (Shield TV etc.):
- Double check your case sensitive paths everywhere
- For scenarios where libraries are located on different servers/endpoints, please follow This guide step 1-6 , to add credentials for each location.
-
-
Restart Kodi to enable the new settings!
-
Under Advanced, reset the Kodi databases with the red Partial or full reset of Database and PKC
-
Restart Kodi just to be on the safe side
You're done! If you messed up, Kodi playback will fail with an error message that is unfortunately unrelated to PKC.
Devs: croneter
- Screenshots
- Direct Paths Explained
- Set-up Direct Paths
- Direct Play
- Skins and Video Nodes
- Multiple users
- Multiple Plex Media Servers
- Manage additional Media without Plex
- Is PKC a hack
- FAQ
- Report a Bug
- How to uninstall PKC
- How to automatically delete playlists
- Update PKC Repository to receive automatic updates