The KODI app works brilliantly on XBOX One, even better if you have an Amazon Alexa as KODI becomes voice controlled!
Once the KODI App is installed on your XBOX One and your LAN / SAMBA shares have been added as media sources there is one further step you will need to take before SMB will work and connect you to your shares or library.
Navigate to Add-Ons > Virtual File Systems and Enable SMB support (libsmb2)