[mythtv-users] MythBackend will not idle with MythFrontend connected
Michael Watson
michael at thewatsonfamily.id.au
Sun Jan 29 23:17:30 UTC 2012
On 29/01/2012 2:46 PM, Mark Lord wrote:
> On 12-01-28 11:45 AM, Michael T. Dean wrote:
>> On 01/28/2012 10:11 AM, Mark Lord wrote:
>>> On 12-01-28 10:08 AM, Mark Lord wrote:
>>>> On 12-01-28 09:16 AM, Ray Kinsella wrote:
>>>>> Using mythtv .23 on mythubuntu.
>>>>> I have a problem where the Mythtbackend will not idle while the Frontend is
>>>>> connected.
>>>> That is exactly how it is supposed to work!
>>>> If a frontend is connected (running), then the backend won't shut down.
>>>> Otherwise it would be very difficult to watch anything. :)
>>> I suppose a better way for this to work might be to have mythfrontend
>>> "time out" after XX minutes of no activity, and disconnect from the
>>> backend to allow shutdown to happen. But still remain running,
>>> and auto-reconnect if any UI activity happens (eg. input received
>>> from keyboard / remote-control).
>>>
>>> MMmm... I might just patch my copy here to work that way.
>>> Seems logical enough.
>> Please talk with Stuart Morgan, first, as he's basically done this and
>> there are issues related to MythWelcome involved in making such a
>> change. These issues are why the (simple) change hasn't yet been pushed
>> to master.
> I think if mythfrontend were to behave like this (timeout, disconnect),
> then there would be no need for mythwelcome to exist at all.
>
> I don't use mythwelcome here anyway.
>
> Cheers
> _______________________________________________
>
Mythwelcome works well, unless you are using a SBE/FE, in this scenario
it will not allow the SBE to shutdown until the MBE becomes idle, even
if the SBE will not be required for recording for some time.
With automatic shutdown set for SBE, the MBE will shutdown the
SBE whilst frontend is running, I use a script for ServerHaltCommand
that checks if frontend is running and blocks the shutdown. Downside to
this is, that the MBE only tries once to shutdown a SBE
With MythWelcome, you need some way to automatically exit
Mythfrontend when it is idle. I have Xscreensaver enabled, and a
script that monitors how long Xscreensaver has been active, closing
mythfrontend when the timeout has been reached.
Regards,
Michael Watson
More information about the mythtv-users
mailing list