brifletch 1 Posted January 31, 2018 Posted January 31, 2018 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: 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.
Angelblue05 4132 Posted January 31, 2018 Posted January 31, 2018 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 1
brifletch 1 Posted January 31, 2018 Author Posted January 31, 2018 I'll update this evening from home, thanks for the quick response!
brifletch 1 Posted January 31, 2018 Author Posted January 31, 2018 (edited) 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 January 31, 2018 by brifletch 1
Angelblue05 4132 Posted February 2, 2018 Posted February 2, 2018 (edited) You are missing the slashes, smb://192.168.... is the proper syntax. Edited February 2, 2018 by Angelblue05 1
brifletch 1 Posted February 3, 2018 Author Posted February 3, 2018 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.
Recommended Posts