Install mythtv

From LinuxIntro
Jump to: navigation, search

MythTV is a program to watch TV under Linux. Here is how to configure it with a Hauppauge PVR USB2 tuner and SUSE Linux

Contents

mysql

yast -i mysql
/etc/init.d/mysql start
mysql> create database mythconverg;
Query OK, 1 row affected (0.00 sec)
mysql> use mythconverg
Database changed
mysql> grant all privileges on mythconverg.* to mythtv;
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

Check that the user mythtv can log in to mysql:

mysql --user=mythtv --password=mythtv
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 21
Server version: 5.0.51a-Max SUSE MySQL RPM

Setup mythtv

  • mythtv-setup
    • General: keep settings as they are, set 0000 as PIN (completely useless). Set your TV format like PAL or NTSC. Set your frequency table like europe-west.
    • capture cards: make sure you choose MPEG-2 encoder card. Tell mythtv your video device, e.g. /dev/video0. Make sure in the end you see [ MPEG: /dev/video0 ]. Exit with ESCAPE.
    • Video sources: choose "no grabber". Call it jj.
    • Input connections: make sure [ MPEG : /dev/video0 ] (television) -> jj appears. Exit with ESCAPE
    • Channel editor -> Channel scanner -> europe-west (provided you are in western europe)
  • mythfillbackend
  • mythbackend

Call mythtv's backend so that it runs in the background:

mythbackend &
  • Start mythtv
mythfrontend

Reset mythtv

To reset mythtv, do:

rm -rf .mythtv
mysql --user=root
drop database mythtvconverg;

See also