I recommend a Plex server. People here will yell jellyfin all day long but while it is good, there is shit that will make you tear your hair out. Plex will literally “just work”.
If your TV is a smart TV, you can install the Plex app and from that point on its mostly set and forget.