Cheap good nas solution



Looking for something that works with Kodi out of box hopefully. 
Room for 5 or more HDDs. 
Samba seems to be headache from what i have noticed on my windows desktop so what is an alternative?