Powerdown System after play

Updated on **2011.Oct.12**

This is an alternative shutdown method. When video, music or playlist is playing than power menu displays a new button "Power off after play" pressing this button will shut down computer when playback ends. After above mentioned button is pressed "Cancel power off after play" button appears to be able to cancel shutdown.

@jmarshallnz & @topfs2 & @pieh: Better aletrantive to https://github.com/xbmc/xbmc/pull/237 because:

1. Is not included in the video player GUI (no button added there).
2. Powers off system on video, audio, even playlist end, not just on currently played video end.
3. If power down is not supported on a system new button won't even show up in shutdown menu.

**NOTE:** To easily access this feature press button that brings up "Shutdown Menu" ([S] on Keyboard) while playing something.

Updated on **2012.March.19**

@jmarshallnz: Moved bool from Settings to Application