The TV isn't just going to detect your NAS. You will need an app to run on your tv (ie Plex) and setup the NAS as a "server" (Plex doesn't recommend using the NAS as a server due to overhead). You can prob install Plex server on your computer, point the media files to your NAS, and install the Plex app on your tv if available.
You will need to look what media server apps are available on your TV.