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

Steve Hodge mythtvnz@lists.linuxnut.co.nz
Tue, 3 Jul 2007 14:23:42 +1200


------=_Part_128795_24840101.1183429422653
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/3/07, Barry Clearwater <barryc@bcsystems.co.nz> wrote:
>
>  Thanks Nick, I had listings.xml working on my other machine with just the
> pvr350 card,
> but as I said it isn't populating the program guide for some reason now
> that I have a purpose built machine with the skystar 2 in it as well.
> I get...
> Yet the xml ids are all loaded into the channels
>
> Unknown xmltv channel identifier: 1019.dvb.guide
> Skipping channel.
> Unknown xmltv channel identifier: 1020.dvb.guide
> Skipping channel.
> Unknown xmltv channel identifier: 1021.dvb.guide
> Skipping channel.
> Unknown xmltv channel identifier: 1022.dvb.guide
> Skipping channel.
>

What source are you loading the file against? In the mythfilldatabase line:
mythfilldatabase --update --file 1 -1 listings.xml
The first '1' says to load the file against channels defined for sourceid =
1. So it's not enough to have a channel with xmltvid = '1019.dvb.guide',
that channel also has to have the sourceid match what you specify in the
command line.

Here's a simple example setup:
Sourceid 1 is PVR150, sourceid 2 is DVB-S card. Just channels One and 2 (3,
C4, and MaoriTV should be setup the same way)...

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

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.

Cheers,
Steve

------=_Part_128795_24840101.1183429422653
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/3/07, <b class="gmail_sendername">Barry Clearwater</b> &lt;<a href="mailto:barryc@bcsystems.co.nz">barryc@bcsystems.co.nz</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  
  

<div>
Thanks Nick, I had listings.xml working on my other machine with just the pvr350 card, <br>
but as I said it isn&#39;t populating the program guide for some reason now that I have a purpose built machine with the skystar 2 in it as well.<br>
I get...<br>
Yet the xml ids are all loaded into the channels<br>
<br>
Unknown xmltv channel identifier: 1019.dvb.guide<br>
Skipping channel.<br>
Unknown xmltv channel identifier: 1020.dvb.guide<br>
Skipping channel.<br>
Unknown xmltv channel identifier: 1021.dvb.guide<br>
Skipping channel.<br>
Unknown xmltv channel identifier: 1022.dvb.guide<br>
Skipping channel.<br>
</div></blockquote></div><br>What source are you loading the file against? In the mythfilldatabase line:<br>mythfilldatabase --update --file 1 -1 listings.xml<br>The first &#39;1&#39; says to load the file against channels defined for sourceid = 1. So it&#39;s not enough to have a channel with xmltvid = &#39;
1019.dvb.guide&#39;, that channel also has to have the sourceid match what you specify in the command line.<br><br>Here&#39;s a simple example setup:<br>Sourceid 1 is PVR150, sourceid 2 is DVB-S card. Just channels One and 2 (3, C4, and MaoriTV should be setup the same way)...
<br><br>In channel table:<br>chanid = 1001 channum = 1 sourceid = 1 callsign = &#39;One&#39; xmltvid = 1031.dbv.guide<br>chanid = 1002 channum = 2 sourceid = 1 callsign = &#39;2&#39; xmltvid = 1032.dbv.guide<br>
chanid = 2031 channum = 1 sourceid = 2 callsign = &#39;One&#39; xmltvid = 1031.dbv.guide<br>
chanid = 2032 channum = 2 sourceid = 2 callsign = &#39;2&#39; xmltvid = 1032.dbv.guide<br><br>Get your listings.xml file. Run:<br>mythfilldatabase --update --file 1 -1 listings.xml<br>
This will load the EPG data for channels 1001 and 1002. Then run:<br>mythfilldatabase --update --file 2 -1 listings.xml<br>

This will load the EPG data for channels 2031 and 2032.<br>

<br>Cheers,<br>Steve<br>

------=_Part_128795_24840101.1183429422653--