Jump to content

Advanced Settings Path Substitution to fstab mounts


brifletch

Recommended Posts

brifletch

I'm using Emby for Kodi on several systems, all of which are working well.  However, in order to minimise/eliminate buffering for high-bitrate 4K files on my main system I was advised to choose fstab mounts over smb.  I've successfully created the local fstab mounts and I also came across the following topic, in which it was suggested to use <pathsubstitution> to force Kodi to play media from the fstab system mounts:

 

https://emby.media/community/index.php?/topic/50901-possible-to-use-system-mounts-fstab/

 

The <pathsubstitution> syntax has been added to advancedsettings.xml and I believe the substitutions are active, as System Info > Filesystem is showing the following:

 

26f7118a8d2a4bb4770a823c0a96b4e66f44e92f

 

Yet, when I connected to the Kodi device via SSH and ran tail -f .kodi/temp/kodi.log all references to the files being played refer to the smb source, and not the fstab mount point. 

 

I was under the impression that I wouldn't need to reset the local Emby database, and that the <pathsubstitution> would just work.  Am I missing something?  Any help/suggestions would be appreciated.  

Link to comment
Share on other sites

Angelblue05

Path substitution is case sensitive. Otherwise provide your emby paths, vs the path substitution you setup so we can confirm that it's properly set.

 

 

Sent from my iPhone using Tapatalk

  • Like 1
Link to comment
Share on other sites

brifletch

Hey there, 

 

Here's my advancedsettings for pathsubstitution:

<pathsubstitution>
                <substitute>
                        <from>smb:192.168.2.95/MEDIAVAULT/MOVIES/</from>
                        <to>/mnt/Movies_fstab/</to>
                </substitute>
                <substitute>
                        <from>smb://192.168.2.95/MEDIAVAULT/UHD MOVIES/</from>
                        <to>/mnt/UHD_Movies_fstab/</to>
                </substitute>
                <substitute>
                        <from>smb:192.168.2.95/MEDIAVAULT/TV SHOWS/</from>
                        <to>/mnt/TV_Shows_fstab/</to>
                </substitute>
                <substitute>
                        <from>smb:192.168.2.95/MEDIAVAULT/UHD_TV SHOWS/</from>
                        <to>/mnt/UHD_TV_Shows_fstab/</to>
                </substitute>
                <substitute>
                        <from>smb:192.168.2.95/MEDIAVAULT/3D/</from>
                        <to>/mnt/3D_fstab/</to>
                </substitute>
</pathsubstitution>

And, from Emby Server the paths and (Optional) Shared network folder for each

 

\\192.168.2.95\mediavault\UHD MOVIES
\\192.168.2.95\MEDIAVAULT\UHD MOVIES


\\192.168.2.95\mediavault\3D
\\192.168.2.95\MEDIAVAULT\3D


\\192.168.2.95\mediavault\MOVIES
\\192.168.2.95\MEDIAVAULT\MOVIES


\\192.168.2.95\mediavault\UHD TV Shows
\\192.168.2.95\MEDIAVAULT\UHD TV Shows


\\192.168.2.95\mediavault\TV Shows
\\192.168.2.95\MEDIAVAULT\TV Shows

 

Plus a couple of examples of filepaths from Emby Server:

\\192.168.2.95\MEDIAVAULT\TV Shows\Friends\Season 10\friends.s10e15.720p.mkv
\\192.168.2.95\MEDIAVAULT\UHD MOVIES\Billy Lynn's Long Halftime Walk\Billy.Lynns.Long.Halftime.Walk.2160p.UHD.mkv
\\192.168.2.95\MEDIAVAULT\MOVIES\Hans Zimmer Live in Prague\Hans.Zimmer.Live.in.Prague.2017.1080p.mkv
Edited by brifletch
  • Like 1
Link to comment
Share on other sites

Angelblue05

You are missing the slashes, smb://192.168....

is the proper syntax.

Edited by Angelblue05
  • Like 1
Link to comment
Share on other sites

brifletch

Good spot ... I'll add them in.  However, I do have the slashes present in the UHD MOVIES source, and one of the files I checked the other night was UHD, playing from the smb source, not fstab.  

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...