Apparently there is a command line option that will do this "--play-and-exit"
http://stackoverflow.com/questions/1024 ... n-quit-vlc
If you're using a shortcut under a graphical desktop like Windows or Ubuntu or Mac, you may have to modify your shortcut to pass the parameter. I just tried it under windows with version 2.2.1 and it works. Of course, I'm assuming that by "shut itself off" you mean have the program exit and close itself.