It seems that a lot of people reach for Plex or similar in this situation, but setting up Plex requires a separate computer to serve the files. If all you want to do is play videos on your local network, then Kodi might be a suitable option, since it can run directly on hardware like smart TVs without the need to set up a separate computer.