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 #237 because:
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
Shutdown computer after current video (or play-list) has been played
+1 for having this included
I think I say the same as in the last PR, it does essentially the same as idle power down does. With the exception that you can have that disabled and press this to get that behavior temporarily.
That being said, I think it could be a valid interaction but I don't think it fits in core (c++) of xbmc.
As far as I can tell you should be able to create this with a python service addon and let the skins which wants it depend on that addon?
IMO all use cases can be achieved using a sleep timer which several skins automatically implement. I can't see any other use case for powering off after playback - the only case that makes sense if you're playing stuff while going to sleep or whatever, in which case Sleep already achieves it.
Sorry for posing on a closed pull, but please see http://forum.xbmc.org/showthread.php?tid=150458