Thread Rating:
  • 0 Vote(s) - 0 Average
Run a Script at shutdown..
#1
Lightbulb 
i made a python script that shuts down my media server over LAN...

now i want that if i power off the xbox that the server also shuts down...
i need to run the script automaticly when i turn off the xbox...

can someone tell me how this works?



(sorry for my BAAAD english Confused )
Reply
#2
Welcome to the forums.
There's currently no mechanism for running scripts at shutdown. Please fill out a feature request ticket on trac.
Reply
#3
You can start your script with your remote.
<onclick>RunScript(script[,args]*)</onclick>

If you use a harmony remote, create a button with 2 commands.
Reply
#4
check this, what i added some time ago
it add button in pm3 , where you could select shutdown xbox or shutdown xbox+nas,
and there is script to shutdown lacie nas

if you change your own script rename it to ShutdownNAS or change script name in PM3
http://forum.xbmc.org/showpost.php?p=277...stcount=11
Reply



Run a Script at shutdown..00