mythbox:~$ sudo vim /usr/local/bin/restartmyth.sh
## Automatically restart mythfrontend if it fails.
## Loop the call of mythfrontend.
while [ /bin/true ]
mythfrontend -v playback >> /tmp/mythfrontend.log
mythbox:~$ sudo chmod 755 /usr/local/bin/restartmyth.sh
First enable Automatic login from the gnome Settings panel.
Schedule the script to start after login (using gnome)
mythbox:~$ vim .config/autostart/restartmythtv.desktop
Comment=Restart mythtfrontend when it crashes
Restart the computer
Note: this blog was previously written for XBOX media centre (XBMC). It has been replaced by Kodi since a long time. Please read kodi instead of xbmc below.
In 2010 I wrote:
I recently tried XBMC on one of my mytfrontends. I must say, I was impressed by the user interface.
To run xbmc besides mythfrontend I had to do some tweaking to this mythbuntu frontend. To install, first add these lines to /etc/apt/sources.list
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu jaunty main
Kodi can nowadays be found in the stable repository of Debian.
# vim /usr/share/mythtv/themes/MythCenter-wide/osd.xml
<fontdef name=”medium” face=”Droid Sans”>
The progress bar will show up on top of the screen. This will keep the subtitles visible when pausing and unpausing recordings.