[mythtv] RFE: Allowing backend to trigger S3 sleep while frontend is connected and idle

Stuart Morgan stuart at tase.co.uk
Tue Sep 27 08:34:48 UTC 2011


On Tuesday 27 Sep 2011 08:12:37 Petr Stehlik wrote:
> > Just to make sure:
> > Currently, is there an API in mythbackend to tell it 'please write your
> > next wakeup time to the RTC clock and shut the machine down if you
> > aren't busy with backend jobs right now' ?
> 
> That's what mythshutdown does.

It's mythbackend (the scheduler) which writes to the RTC when it determines 
that it's allowed to shutdown.

Mythshutdown allows writing a time to the database which the backend will use 
but it's a little crude since it's duplicating the backend code to determine 
this time.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list