Kodi Community Forum

Full Version: Myth-Backend Integration: Setting wakeup time on shutdown?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a set-top box running both XBMC-Live and Myth-Backend.

I power the box off when I'm not using it, using the shutdown option in XBMC.

When I do this, I want to force Myth-Backend to set the ACPI/BIOS wakeup time.

I have the scripts to do this and have integrated them in Myth-Backend, and when MythBackend determines it is idle and is safe to shut-itself down it will execute this script.

However, in most cases, it will not get chance to this as its shutdown will be forced by powering down from XBMC.

Surprisingly when you do this, MythBackend doesn't automatically update the wake-up time.

So is there anyway from the command line to force MythBackend to do this? I can then update the box shutdown steps to call this prior to shutting down mythbackend.

Mythbacked is in my rc.6 directory and I can see it being shutdown by init from the console. It just doesn't update the wake-up time.

Summary:
Mythbackend only sets the wakeup time when IT decides it is going to shutdown the box, not when something else decides it is going to shutdown the box.