Installing and configuring MythTV
Install Mythbuntu repos
apt-add-repository ppa:mythbuntu/0.26
sudo vi /etc/apt/sources.list.d/mythbuntu-0_26-quantal.list
deb http://ppa.launchpad.net/mythbuntu/0.26/ubuntu quantal main
deb-src http://ppa.launchpad.net/mythbuntu/0.26/ubuntu quantal main
sudo apt-get update
sudo apt-get dist-upgrade
If you want to change the MythTV version
sudo dpkg-reconfigure mythbuntu-repos
sudo apt-get update
sudo apt-get dist-upgrade
Reference: Mythbuntu repositories
Or add the control center
sudo apt-get install -y mythbuntu-control-centre
and enable the repos from there
Update the mythtv-status to point to the correct host
By default the host to contact is set to localhost. Change it to the MythTV server.
sudo vi /etc/default/mythtv-status
...
HOST=myth
...
MythVideo
Configuring jamu
Create a jamu.conf file
cp /usr/share/mythtv/mythvideo/scripts/jamu-example.conf ~/.mythtv/jamu.conf
Edit /home/rob/.mythtv/config.xml to point to the correct database.
Setup the storage groups for the following items:
Type: Fan art - SG-YES - Directory: (/mnt/myth/mythtv/Fanart)
Type: Video - SG-YES - Directory: (/mnt/library/tv)
Type: Cover art - SG-YES - Directory: (/mnt/myth/mythtv/Coverart)
Type: Banners - SG-YES - Directory: (/mnt/myth/mythtv/Banners)
Import the videos
Interactive Session
Start the interactive “learning”:
/usr/share/mythtv/mythvideo/scripts/jamu.py -l en -C ~/.mythtv/jamu.conf -MRV
Now do the Mass update:
/usr/share/mythtv/mythvideo/scripts/jamu.py -l en -C ~/.mythtv/jamu.conf -MV
Simulation (Dry Run)
If you want to test first you can now try a dry-run (doesn’t not download images, etc)
/usr/share/mythtv/mythvideo/scripts/jamu.py -l en -C ~/.mythtv/jamu.conf -sMV > /tmp/jamu.log
tail -f /tmp/jamu.log
Restart Interactive Session
/usr/local/share/mythtv/mythvideo/scripts/jamu.py -l en -C "/home/user/.mythtv/jamu.conf" -MIV
Myth Status applet for GNOME
Run the custom installation file
cd /mnt/apps/myth/mythstatus
./install.sh
You will need to logout/login before you can “add to panel”
References
MythTV Jamu
Mythstatus GNOME applet
Debugging MythTV
Edit the startup script for MythTV backend
sudo vi /etc/init/mythtv-backend.conf
...
LANG=$LANG /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log --user mythtv -v record,file,extra
...
You can see the list of options here