<div class="gmail_quote">On Thu, Jun 21, 2012 at 7:37 PM, 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So if all those rows with mplexid = NULL are not valid analogue<br>
channels, this command should delete them:<br>
<br>
delete from channel where chanid > 1035 and chanid <= 1053 and mplexid<br>
= NULL;<br></blockquote><div><br>Alternatively, if you'd prefer to keep them but not use them:<br>update channel set visible = 0 where chanid > 1035 and chanid <= 1053 and mplexid<br>
= NULL;<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If they are valid analogue channels, then this should give them lower<br>
priority than the DVB-T channels:<br>
<br>
update channel set recpriority = -1 where chanid > 1035 and chanid <=<br>
1053 and mplexid = NULL;<br></blockquote><div><br>If you do keep them you'll want to fix up the tuning data (freqid). <br></div><div><br>Cheers,<br>Steve<br></div></div>