Frontend Loading Script

From MythTV Official Wiki
Revision as of 05:00, 24 April 2006 by Kkuphal (talk | contribs) (Categorized script)

Jump to: navigation, search

There are a few methods to load mythfrontend depending on your setup. This method uses a script that will continually reload mythfrontend if it ever crashes. While technically near impossible to guarantee that mythfrontend will stay running, it should rarely crash and it's more likely that someone will hit ESC too many times and we'll be left with an empty display on our big TV.


To avoid having to break out the keyboard and restart mythfrontend, here's a little script I use to restart it automatically:

# Automatically restart mythfrontend if it fails.

# Just for fun, lets start the myth transcode dameon, too.
sudo mtd -d

# Loop the call of mythfrontend.
while [ /bin/true ]
        sudo killall mythfrontend
        sudo mythfrontend
        sleep 2

Then, instead of starting Myth with 'mythfrontend', start it with the script above.

Other Options

Another option is to have mythfrontend load automatically upon boot, this method is described at Frontend Auto Login