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
)
Masternoob
Junior Member Posts: 19 Joined: Mar 2009 Reputation: 0 |
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 )
|
| find quote |
althekiller
Team-XBMC Developer Joined: May 2004 Reputation: 12 |
2009-03-20 20:50
Post: #2
Welcome to the forums.
There's currently no mechanism for running scripts at shutdown. Please fill out a feature request ticket on trac. Howto post your problem in a useful manner. #xbmc-linux on FreeNode XBMC online-manual, FAQ, search, forum rules, how to submit a bugreport. |
| find quote |
Waffa
Posting Freak Posts: 1,163 Joined: May 2008 Reputation: 7 Location: Netherlands |
2009-03-20 21:16
Post: #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. |
| find quote |
mikko70
Member Posts: 80 Joined: Mar 2007 Reputation: 0 |
2009-03-21 15:37
Post: #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 |
| find quote |