Well personally I am always suggesting to use Kernel Based mounts (e.g. autofs). But for Kodi to add shares check this post