Stephen,<br><br>Thanks very much, this is just what I needed. I inserted many of the other channels from your channel table directly into my channel table and ran setup (but maybe mythfilldatabase might have done it) and Robert's your uncle, I can play the channels...<br>
<br>Now my channel table looks this;<br><br>+--------+---------+--------+----------+------------------+------------------+--------------------------+---------+-----------+<br>| chanid | channum | freqid | sourceid | callsign | name | xmltvid | mplexid | serviceid |<br>
+--------+---------+--------+----------+------------------+------------------+--------------------------+---------+-----------+<br>| 1001 | 1 | 43 | 1 | TV ONE | TV ONE | | 1 | 1200 | <br>
| 1002 | 2 | 43 | 1 | TV2 | TV2 | | 1 | 1201 | <br>| 1003 | 3 | 45 | 1 | TV3 | TV3 | | 4 | 1300 | <br>
| 1004 | 4 | 45 | 1 | C4 | C4 | <a href="http://c4.freeviewnz.tv" target="_blank">c4.freeviewnz.tv</a> | 4 | 1301 | <br>| 1005 | 5 | 53 | 1 | Maori Television | Maori Television | <a href="http://maori-tv.freeviewnz.tv" target="_blank">maori-tv.freeviewnz.tv</a> | 5 | 1400 | <br>
| 1006 | 6 | 43 | 1 | TVNZ 6 | TVNZ 6 | <a href="http://tvnz6.freeviewnz.tv" target="_blank">tvnz6.freeviewnz.tv</a> | 1 | 1202 | <br>| 1007 | 7 | 43 | 1 | TVNZ 7 | TVNZ 7 | <a href="http://tvnz7.freeviewnz.tv" target="_blank">tvnz7.freeviewnz.tv</a> | 1 | 1203 | <br>
| 1008 | 8 | 45 | 1 | TV3 PLUS1 | TV3 PLUS1 | <a href="http://tv3-plus1.freeviewnz.tv" target="_blank">tv3-plus1.freeviewnz.tv</a> | 4 | 1302 | <br>| 1010 | 10 | 53 | 1 | PRIME | PRIME | <a href="http://prime.freeviewnz.tv" target="_blank">prime.freeviewnz.tv</a> | 5 | 1404 | <br>
| 1022 | 22 | 53 | 1 | Parliament TV | Parliament TV | <a href="http://parliament.freeviewnz.tv" target="_blank">parliament.freeviewnz.tv</a> | 5 | 1401 | <br>| 1028 | 28 | 53 | 1 | ChineseTV | ChineseTV | <a href="http://ctv8.freeviewnz.tv" target="_blank">ctv8.freeviewnz.tv</a> | 5 | 1403 | <br>
| 1100 | 100 | 53 | 1 | Freeview | HD | Freeview | HD | | 5 | 1406 | <br>+--------+---------+--------+----------+------------------+------------------+--------------------------+---------+-----------+<br>
<br>Of course, I get no channel information, unlike the auto-tuned channels, and I still don't know why scanning failed.<br><br>There are other problems, but I should probably start new threads for them after I have had a go at working them out myself...<br>
<br>Thanks again.<br><br>Brendan<br><br><div class="gmail_quote">On 9 March 2010 15:47, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>On Tue, 9 Mar 2010 15:11:54 +1300, you wrote:<br>
<br>
>Stephen,<br>
><br>
>Hmmm... This is the result of the query;<br>
><br>
>+---------+----------+-------------+-----------+-----------+<br>
>| mplexid | sourceid | transportid | networkid | frequency |<br>
>+---------+----------+-------------+-----------+-----------+<br>
>| 1 | 1 | 28 | 8746 | 650000000 |<br>
>| 5 | 1 | 33 | 8746 | 730000000 |<br>
>| 4 | 1 | 29 | 8746 | 666000000 |<br>
>+---------+----------+-------------+-----------+-----------+<br>
><br>
>It seems I have all 3.<br>
><br>
>Actually I have been hacking in the interim and have created a nz-MtCargill<br>
>file in /usr/share/dvb/dvb-t/ from the Waiatarua one (which was the only NZ<br>
>file there) using values I found on the net. Since then I have got channel<br>
>100, the HD demo channel.<br>
><br>
>When I do a channel scan, I get 3 distinct groups of channel locks; one at<br>
>ch 43 (4 probable channels but only TV1 and TV2 appear), one at ch 45 (3<br>
>probable channels but only TV3 appears) and one at ch 53 (11 probable<br>
>channels but only the HD demo channel appears).<br>
><br>
>I also adjusted the timeouts for playback channel locking in the card setup<br>
>section (doubled from 1 sec to 2) and the tuning lock (increased from 2 secs<br>
>to 5 secs). This improved the reliability of at least the channel<br>
>scanning...<br>
><br>
>Apparently, some people have a channels.txt file which I have failed to find<br>
>on my system. I have seen examples, but none that I would guess would work<br>
>in Dunedin, even if I knew where to put it or how to import it...<br>
><br>
>Thanks for your help so far.<br>
><br>
>Brendan<br>
<br>
</div></div>OK, that looks valid. I am guessing that you have tried tuning more<br>
than once, which might be why the mplexid values are not 1, 2 and 3.<br>
Your mplexid values seem to be:<br>
1 = TVNZ multiplex<br>
4 = CanWest multiplex<br>
5 = Kordia multiplex<br>
<br>
Here is an SQL query to see what your channel table looks like:<br>
<br>
select<br>
chanid,channum,freqid,sourceid,callsign,name,xmltvid,mplexid,serviceid<br>
from channel order by chanid;<br>
<br>
(Again, all one line). Here is the result of that query on my channel<br>
table, except I have deleted all my Sky channels to just leave the<br>
DVB-T ones:<br>
<br>
+--------+---------+--------+----------+-------------------+-----------------------+---------------------------------+---------+-----------+<br>
| chanid | channum | freqid | sourceid | callsign | name | xmltvid | mplexid | serviceid |<br>
+--------+---------+--------+----------+-------------------+-----------------------+---------------------------------+---------+-----------+<br>
| 1001 | 1 | 48 | 1 | TV ONE | TV ONE | <a href="http://tv1.freeviewnz.tv" target="_blank">tv1.freeviewnz.tv</a> | 1 | 1200 |<br>
| 1002 | 2 | 48 | 1 | TV2 | TV2 | <a href="http://tv2.freeviewnz.tv" target="_blank">tv2.freeviewnz.tv</a> | 1 | 1201 |<br>
| 1003 | 3 | 50 | 1 | TV3 | TV3 | <a href="http://tv3.freeviewnz.tv" target="_blank">tv3.freeviewnz.tv</a> | 2 | 1300 |<br>
| 1004 | 4 | 50 | 1 | C4 | C4 | <a href="http://c4.freeviewnz.tv" target="_blank">c4.freeviewnz.tv</a> | 2 | 1301 |<br>
| 1005 | 5 | 59 | 1 | Maori Television | Maori Television | <a href="http://maori-tv.freeviewnz.tv" target="_blank">maori-tv.freeviewnz.tv</a> | 3 | 1400 |<br>
| 1006 | 6 | 48 | 1 | TVNZ 6 | TVNZ 6 | <a href="http://tvnz6.freeviewnz.tv" target="_blank">tvnz6.freeviewnz.tv</a> | 1 | 1202 |<br>
| 1007 | 7 | 48 | 1 | TVNZ 7 | TVNZ 7 | <a href="http://tvnz7.freeviewnz.tv" target="_blank">tvnz7.freeviewnz.tv</a> | 1 | 1203 |<br>
| 1008 | 8 | 50 | 1 | TV3 PLUS1 | TV3 PLUS1 | <a href="http://tv3-plus1.freeviewnz.tv" target="_blank">tv3-plus1.freeviewnz.tv</a> | 2 | 1302 |<br>
| 1010 | 10 | 59 | 1 | PRIME | PRIME | <a href="http://prime.freeviewnz.tv" target="_blank">prime.freeviewnz.tv</a> | 3 | 1404 |<br>
| 1022 | 22 | 59 | 1 | Parliament TV | Parliament TV | <a href="http://parliament.freeviewnz.tv" target="_blank">parliament.freeviewnz.tv</a> | 3 | 1401 |<br>
| 1028 | 28 | 59 | 1 | ChineseTV | ChineseTV | <a href="http://ctv8.freeviewnz.tv" target="_blank">ctv8.freeviewnz.tv</a> | 3 | 1403 |<br>
| 1050 | 50 | 59 | 1 | Radio NZ National | Radio NZ National | <a href="http://rnz-national.freeviewnz.tv" target="_blank">rnz-national.freeviewnz.tv</a> | 3 | 2000 |<br>
| 1051 | 51 | 59 | 1 | Radio NZ Concert | Radio NZ Concert | <a href="http://rnz-concert.freeviewnz.tv" target="_blank">rnz-concert.freeviewnz.tv</a> | 3 | 2001 |<br>
| 1071 | 71 | 59 | 1 | BaseFM | BaseFM | <a href="http://base-fm.freeviewnz.tv" target="_blank">base-fm.freeviewnz.tv</a> | 3 | 2002 |<br>
| 1100 | 100 | 59 | 1 | Freeview | HD | Freeview | HD | | 3 | 1406 |<br>
| 1242 | 242 | 59 | 1 | Test Channel | Test Channel | | 3 | 1402 |<br>
| 1245 | 245 | 59 | 1 | Reserved 6KSD | Reserved 6KSD | | 3 | 1405 |<br>
| 1700 | 700 | 48 | 1 | Zinwell SSU | Zinwell SSU | | 1 | 1250 |<br>
<br>
In this table, the mplexid tells MythTV which of the multiplexes in<br>
the dvb_multiplex table to use. The serviceid tells it which of the<br>
data streams on that multiplex is the channel that is wanted. The<br>
freqid is the channel number of the multiplex. Frequencies and<br>
channel numbers are directly convertible one to the other, so the<br>
freqid value should match the frequency value in the corresponding<br>
dvb_multiplex table row. The channum is the channel number that you<br>
use on your remote to select that channel. The chanid is an internal<br>
identifier used to look up tables in the database. It is also what<br>
appears on the front of the filenames for each recording. I manually<br>
adjusted my channel table to make sure that the chanid and channum<br>
values matched - I have them as 1000 + chanid for the DVB-T channels<br>
and 2000 + chanid for the Sky channels.<br>
<br>
You might like to take a look at this thread in our archives:<br>
<br>
<a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/417104#417104" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/417104#417104</a><br>
<br>
to see a bit more about how everything works.<br>
<br>
Once you post your channel table data, it should be possible for me to<br>
make a script similar to the channum.sh one in that thread to create a<br>
valid DVB-T only channel table for you.<br>
<br>
It would be nice to know what is going wrong with your tuning process<br>
though. It should have found all the channels on the multiplexes.<br>
Once it has a multiplex tuned, there is no reason I can see for it to<br>
only find a few of the channels on that multiplex.<br>
<div><div></div><div><br>
_______________________________________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz" target="_blank">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
</div></div></blockquote></div><br>