[mythtv] backend idle shutdown even with connected frontends
mlbeal2003 at yahoo.com
Mon Aug 25 23:35:36 UTC 2008
Just thinking out loud but it seems to me the backend needs to stay running. How else is an upcoming recording going to happen?
--- On Mon, 8/25/08, Petr Stehlík <pstehlik at sophics.cz> wrote:
From: Petr Stehlík <pstehlik at sophics.cz>
Subject: Re: [mythtv] backend idle shutdown even with connected frontends
To: "Development of mythtv" <mythtv-dev at mythtv.org>
Date: Monday, August 25, 2008, 8:03 AM
Maatt píše v Po 25. 08. 2008 v 04:10 -0700:
> I think i see what you're saying. However, I'm suspending to ram
> there is no reason to shutdown the frontend (backend and frontend all
> on one machine).
> I've got a working patch -- it doen't reset the timeout on remote
> presses in the GUI but its good enough for me.
What I am saying is that the backend can see when no frontend is
connected so instead of extending the backend with detection of idle
frontends you can simply _disconnect_ the idle frontends.
I have found a working solution in the user mailing list that simply
makes use of xscreensaver -watch. I have slightly extended it and it's
working real nicely.
I realize that quitting mythfrontend to MythWelcome screen before the
suspend to ram might be an unnecessary step for you so perhaps you could
reuse the xscreensaver -watch idea for sending the ALLOW_SHUTDOWN
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-dev