Difference between revisions of "Install mythtv"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Here is how to configure mythtv with a Hauppauge PVR USB2 and SUSE Linux
+
MythTV is a [[program]] to [[watch TV under Linux]]. Here is how to configure it with a Hauppauge PVR USB2 tuner and SUSE Linux
  
 
= mysql =
 
= mysql =
 
+
  [[yast]] -i [[mysql]]
  yast -i mysql
 
 
  /etc/init.d/mysql start
 
  /etc/init.d/mysql start
  
Line 22: Line 21:
  
 
= Setup mythtv =
 
= Setup mythtv =
 
 
* mythtv-setup
 
* 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.
 
** 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.
Line 35: Line 33:
 
* Start mythtv
 
* Start mythtv
 
  mythfrontend
 
  mythfrontend
 +
 +
= Reset mythtv =
 +
To reset mythtv, do:
 +
rm -rf .mythtv
 +
mysql --user=root
 +
drop database mythtvconverg;
  
 
= See also =
 
= See also =

Latest revision as of 17:07, 10 December 2011

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

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