How can I play a movie automaticly after the kodi started?

How can I modify the code to realize play a movie automaticly after the kodi started?
Just like write a samba path(smb://192.168.1.1/a.mp4) in the kodi’s source code,then the a.mp4 can be played automaticly after the kodi started?
Thank you very much!