[mythtv] backend idle shutdown even with connected frontends

Petr Stehlík pstehlik at sophics.cz
Mon Aug 25 12:03:08 UTC 2008


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




More information about the mythtv-dev mailing list