Hi Guys,
Here is how I achieved this, it’s a bit long winded but it works.
Save the code below to a file named addon.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.revoshut"
name="Acer Revo Shutdown v1"
version="0.1"
provider-name="BigBas">
<requires>
<import addon="xbmc.python" version="1.0"/>
</requires>
<extension point="xbmc.python.script"
library="default.py" />
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary lang="en">Acer Revo PowerOff</summary>
<description lang="en">Enables You To Shutdown An Acer Revo Running Dharma 10.</description>
</extension>
</addon>
Save the next code below to a file named default.py
# Acer Revo Shutdown Script, BigBas 28-1-11
import os
os.system("poweroff") # shutdown command
Login to WinSCP and connect to your xbmc Revo, goto the directory home/xbmc/.xbmc/addons and create a folder in there called script.revoshut
Now copy the 2 files you made earlier into this directory, you can now disconnect WinSCP, make sure you reboot your REVO prior to the next step or the addon wont appear!
Now just add this to your menu, Settings – Skin Settings – Menu – Programs (click blue button enable) – Script 1 (label it Revo Shutdown and point the select script to Acer Revo Shutdown Script.
If all is well you should have a Shutdown button under the Programs menu, it’s a popout style menu.
Any issues let me know and i will try to help,
Good luck