Next Previous Contents


11. Running mythtvsetup

Make sure that the DVICO driver is loaded, that user 'mythtv' is allowed to access /dev/dvb/adapter0/* and that generally everything is ready. While logged in as 'mythtv' with KDE as your window manager open up a command prompt and type in:

$ mythtvsetup

When asked if you would like to clear all capture card settings and all program/channel settings answer 'yes'. The graphical setup program will start and take over the whole screen. Now is a great time to play with your remote and to feel good about having managed to make it work. I will quickly go through my setup, only noting where i make changes from the defaults. I will go through each menu in turn.

Note: use the left/right arrows to change settings in the drop-boxes, type answers into text boxes.

11.1 General

11.2 Capture cards

11.3 Video sources

Unfortunately d1.com.au is not always reliable so I'm investigating other sources of programming data which may be better.

11.4 Input connections

11.5 Channel Editor

Using the information from the channels.conf file we generated at section , and the channel/network names that tv_grab_au gives us, lets configure the channels for MythTV. We also need some information from tv_grab_au, and the easiest way to do this is to copy the newly created D1.com.au service configuration and run tv_grab_au from the command line.

Use tv_grab_au to create a list of channels

$ mkdir ~.xmltv
$ ln -s ~/.mythtv/d1.com.au.xmltv ~/.xmltv/tv_grab_au.conf
$ tv_grab_au --list-channels

Now pick from the regions. In my case:

$ tv_grab_au --list-channels --loc VICReg

Pick a service, in my case:

$ tv_grab_au --list-channels --loc VICReg --srv free

This produces the following output:

tv_grab_au - (version 0.6 - release 2004-07-19)
using config filename /home/mythtv/.xmltv/tv_grab_au.conf
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
grabing channels: ##################################################
<tv source-info-url="http://www.d1.com.au/" source-info-name="D1 Australia" source-data-url="http://www.d1.com.au/d1xmltv.asmx/GetChannels?provider=free&amp;region=VICReg" generator-info-name="XMLTV - tv_grab_au v0.6" generator-info-url="http://www.onlinetractorparts.com.au/rohbags/">
<channel id="free.VICReg.10.d1.com.au">
<display-name lang="en">Network TEN</display-name>
<icon src="http://d1.com.au/icons/10.png" />
</channel>
<channel id="free.VICReg.2.d1.com.au">
<display-name lang="en">ABC Victoria</display-name>
<icon src="http://d1.com.au/icons/abc.png" />
</channel>
<channel id="free.VICReg.Prime.d1.com.au">
<display-name lang="en">Prime Television</display-name>
<icon src="http://d1.com.au/icons/prime.png" />
</channel>
<channel id="free.VICReg.SBS.d1.com.au">
<display-name lang="en">SBS</display-name>
<icon src="http://d1.com.au/icons/sbs.png" />
</channel>
<channel id="free.VICReg.WIN.d1.com.au">
<display-name lang="en">WIN Television</display-name>
<icon src="http://d1.com.au/icons/win.png" />
</channel>
<channel id="free.VICReg.WinSA.d1.com.au">
<display-name lang="en">WIN Television SA</display-name>
<icon src="http://d1.com.au/icons/win.png" />
</channel>
</tv>

We use this output to determine the XMLTV ID of each channel for mythtv.

configure the channels

Now change back to mythtvsetup and from the main menu select Channel Editor. Use the information from the tv_grab_au output to fill in the details for your channels. Here is an example for channel 10:

Channel Options - DVB page using the information from your channels.conf file enter data as follows:

Note: Only the frequency, bandwidth, video pid and audio pid are required for the DVICO FusionHDTV card, as it is capable of autodetecting everything else.

Now select (New Channel) and enter the next channel. Remember that after the first page you only need to set the Frequency, Bandwidth, Video and Audio PIDs. The DVICO FusionHDTV DVB-T card can work out the other parameters. Repeat until finished. Here is a table of the required channel information that I currently use: (table not working automatically – lyx linuxdoc doesn't like exporting tables grrr.)

Channel Name

Network TEN

ABC Victoria

SBS

WIN

Channel Number

10

2

28

9

Callsign

TEN

ABC

SBS

WIN

Video Source

d1.com.au

d1.com.au

d1.com.au

d1.com.au

XMLTV ID

free.VICReg.10.d1.com.au

free.VICReg.2.d1.com.au

free.VICReg.SBS.d1.com.au

free.VICReg.WIN.d1.com.au

Frequency

606500000

627500000

543500000

585500000

Bandwidth

7MHz

7MHz

7MHz

7MHz

Video

257

2308

161

33

Audio

258

2309

81

36

Press Esc to return to main menu, then Esc, Yes, to leave mythtvsetup. Run mythfilldatabase to populate the database:

$ mythfilldatabase

Next Previous Contents