Autostart Picure or slideshow

I want to switch on my Raspi2 and have a picture, slideshow or video displayed without any further action needed (autostart)

Can you tell me how to do that please?

Danke

http://kodi.wiki/view/autoexec.py