Issue with path substitution

If you’re concerned about network performance (and especially if you’re resigned to using path substitution anyway) you might want to look into using OS-level mounts by means of fstab or autofs.

Once the remote share is mounting correctly, you then set up the Kodi source as being in “root file system” - the remote folder behaves like a local one.