[mythtvnz] Now I'm using two sources...

Nick Rout mythtvnz@lists.linuxnut.co.nz
Tue, 3 Jul 2007 14:42:46 +1200 (NZST)


On Tue, July 3, 2007 2:23 pm, Steve Hodge wrote:
> On 7/3/07, Barry Clearwater <barryc@bcsystems.co.nz> wrote:

> In channel table:
> chanid =3D 1001 channum =3D 1 sourceid =3D 1 callsign =3D 'One' xmltvid=
 =3D
> 1031.dbv.guide
> chanid =3D 1002 channum =3D 2 sourceid =3D 1 callsign =3D '2' xmltvid =3D
> 1032.dbv.guide
> chanid =3D 2031 channum =3D 1 sourceid =3D 2 callsign =3D 'One' xmltvid=
 =3D
> 1031.dbv.guide
> chanid =3D 2032 channum =3D 2 sourceid =3D 2 callsign =3D '2' xmltvid =3D
> 1032.dbv.guide

I take it from this that you can have the same channum on two different
sources.

I hadn't realised that before.

>
> Get your listings.xml file. Run:
> mythfilldatabase --update --file 1 -1 listings.xml
> This will load the EPG data for channels 1001 and 1002. Then run:
> mythfilldatabase --update --file 2 -1 listings.xml
> This will load the EPG data for channels 2031 and 2032.


It took me a while to twig to that when I set up the dvb-s card. The "1"
or "2" parameter is not really intuitive and you forget what its for. A
better syntax for mythfilldatabase might have been:

mythfilldatabase --update --souceid 1 --days unlimited --file listings.xm=
l



--=20
Nick Rout