Skinners can suspend and hibernate!
Just wanted to make it aware to skinners (and people wanting to tweak keymap.xml) that it is possible since beta1 to controll power management through actions.
The usefull commands are:
XBMC.Shutdown() – Will trigger your default behaviour (setup in settings -> system)
XBMC.Quit() – Will quit XBMC
XBMC.Powerdown() – Will shutdown the system
XBMC.Suspend() – will suspend the system
XBMC.Hibernate() – Will hibernate the system
So all the skinners out there, now go and make your skins suspend and hibernate compatible!
disclaimer:
On Xbox the XBMC.Shutdown() is not choosable and will always powerdown the system.
On Xbox the XBMC.Quit() will do the same as XBMC.Dashboard() and both work the same throughout the plattforms.
On Xbox neither of XBMC.Suspend() and XBMC.Hibernate() will work due to hardware limitations, although they are perfectly safe to use (just won’t happen anything).
On the roadmap for atlantis+1 I will hopefully add XBMC.CanSuspend() XBMC.CanHibernate() and XBMC.CanPowerdown() so skinners don’t have to know which plattform can do what. Also to make it safe because it’s not a certain thing that all computer IRL can hibernate as it relies on HDD Space available.
This is great Tobias!
You should post about this in the Skin Development Forum?:
http://xbmc.org/forum/forumdisplay.php?f=12
and the wiki as well, update list of uuilt in functions?
http://xbmc.org/wiki/?title=List_of_Built_In_Functions
Thank you very much for this feature :)
Very good ideas indeed.
Wiki is done and posted http://xbmc.org/forum/showthread.php?p=224129#post224129 in skin forum
Just hope all skinners will add this and help make XBMC next gen!
Quit or Power Down strings don’t yet exist in the xbmc strings.xml yet?
It appeals to skin the PM3.HD very to me, because the window programs does not appear in the shielded one begins them.