How can i automatic play videos from my Windows Upnp server?

I have a dlna (upnp) server on my windows machine with some clips, there is a way that i can automatize kodi to play all the videos on the boot? Or some thing like this?

We believe this is a Kodi issue or a specific Kodi function and as such you should look at addressing the issue there. We are unable to resolve your issue. If you do believe that this is an OSMC specific issue, please let us know.

Alternatively, use the forum search. This question has been asked a dozen times.

An script could do this.

Thank you, Sam!
Do you know wherever I can find information on how to create a selfexec script like this?

Search on kodi wiki site, kodi forums, or here.