Autostart mythtv (using restartscript)

mythbox:~$ sudo vim /usr/local/bin/

## Automatically restart mythfrontend if it fails.
## Loop the call of mythfrontend.

while [ /bin/true ]
        killall mythfrontend
        killall mythlogserver
        killall mythlcdserver
        mythfrontend -v playback >> /tmp/mythfrontend.log
sleep 2

mythbox:~$ sudo chmod 755 /usr/local/bin/

First enable Automatic login from the gnome Settings panel.
Schedule the script to start after login (using gnome)

mythbox:~$ vim .config/autostart/restartmythtv.desktop

[Desktop Entry]
GenericName=Restart mythfrontend
Comment=Restart mythtfrontend when it crashes

Restart the computer

Kodi and Mythtv

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 jaunty main
deb-src jaunty main

Kodi can nowadays be found in the stable repository of Debian.

Continue reading

Mythtv – Adjust progress bar

# vim /usr/share/mythtv/themes/MythCenter-wide/osd.xml

Find “osd_status”

<window name=”osd_status”>
<fontdef name=”medium” face=”Droid Sans”>

And change:




Restart mythfrontend

The progress bar will show up on top of the screen. This will keep the subtitles visible when pausing and unpausing recordings.