[mythtv-users] Preventing MythTV from Exiting
James C. Dastrup
jc at dastrup.com
Tue Jun 13 14:27:36 UTC 2006
>>> I'm building a dedicated PC for MythTV. Everything is working fine and
>>> MythTV is really a great piece of software.
>>>
>>> What I can't figure out is how to prevent MythTV from exiting. Once a
>>> user exits, the only way to get back in is to dig up the keyboard and
>>> restart the front end. I was able to get it to restart automatically
>>> but I would rather prevent it from exiting in the first place. If this
>>> is in the documentation, I haven't found it yet.
>>>
>
>I combined many of the above, for my setup - firstly, I patched Myth to
>allow for a SHUTDOWN key, which is different to the EXIT key. Pressing
>the power button on the remote, from any menu, will give the "Do you
>want to quit" screen, whilst pressing the exit button from the root menu
>will not. Next, I patched that screen to remove the "Exit" option - I
>only have the option to return to Myth, or shut down the box. Finally, I
>have a cron job set up to re-run Mythfrontend if it fails, within 60
>seconds.
>
Just start mythfrontend from a script and put it in a loop, as described
here: http://www.mythtv.org/wiki/index.php/Frontend_Loading_Script
No need to restart X, wait 60 seconds, worry about people hitting the
wrong keys, etc. With this method, Myth will restart in 1 second if it
ever exits.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4338 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060613/4411b3b7/attachment.bin
More information about the mythtv-users
mailing list