UseDLNA Plugin to play Synology movies on LG TV

I can use DLNA Plugin to select LG TV as Media Renderer then discover my Synology and browse through my video from NAS to play it on LGTV. All configured within the Plugin. However, I want to use Luup to do the same to point the path of my movie on Synology to play on LG TV. Can anyone share Luup code and how can I translate the path to point my movie under Synology NAS? Thanks.

Sounds interesting, would like to do something similar with my Synology.