Media Player Classic can do this it's very ugly software but you can set up a playlist and when last file plays you can set it to shutdown computer :)