[mythtv] backend idle shutdown even with connected frontends

Michael Beal 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?

Michael

--- 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
so
> 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
message?

Petr




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080825/3d18deac/attachment.htm 


More information about the mythtv-dev mailing list