Custom suspend/shutdown script
#1
Hi, i have my own custom suspend script. How can I use it in XBMC when:

- clicking suspend from menu
- timeout/screensaver

thanx
Reply
#2
XBMC only signals system to do a suspend or shutdown, if you want to use your custom script you need to make the system we signal to use it. i.e. check UPower/DeviceKit.Power

On screensaver we only switch active window, there is no hook to run a specific script on that. We are contemplating adding a notification from json-rpc however which gives this information.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Custom suspend/shutdown script00