<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>&gt; Have you looked at scte65scan ?<br>
&gt;<br>
&gt; It will scan using the HDHR.<br>
<br>
</div>btw, to compile scte65scan with recent silicondust<br>
library sources, you will need to apply some patches<br>
to the scte65scan Makefile that I posted to the<br>
silicondust forums when someone else tried to build<br>
scte65scan and asked for assistance there.  The<br>
patches have been provided upstream, but I do not<br>
think they have gotten integrated yet.  Search the<br>
silicondust forum for scte65scan.<br><br></blockquote><div><br></div></div><div>I have looked at it, and tried it in the past with mixed results.  While I believe I could use it to some degree, again it seems more complicated than I need.</div>


<div><br></div><div>Essentially, I could probably just use a bash script and the HDHR Config program.. just start tuning channels and recording the physical channel and multiplex of each unencrypted channel.  Then, perform DB queries against the channel table to update the channel number and xmlid where the channel and multiplex match.</div>


<div><br></div><div>Maybe I&#39;ll take some time this weekend to test my bash script-fu.</div></div>
</blockquote></div><br><div><br></div><div>So it&#39;s been a couple of weeks, but I finally got around to writing the script that I had envisioned.  The script actually tunes each defined channel on the Prime, determines the QAM channel number and program (multiplex), and searches the channel table for a corresponding HDHR channel.  If it finds it, it simply copies all the channel &quot;metadata&quot; from the Prime channel.</div>

<div><br></div><div>It works really well for first time setup of a QAM HDHR when you have a working Prime in place.  Additionally it can be used to keep your channels up to date; though you may need to run a scan first to pick up any changes to the available clear QAM channel list.</div>

<div><br></div><div>I went ahead and posted it on the Wiki:  <a href="http://www.mythtv.org/wiki/Prime2qam">http://www.mythtv.org/wiki/Prime2qam</a>  I would love to get some feedback.</div><div><br></div><div>Please note, this is my first ever attempt to write something in Python.  (It certainly will not be my last... what a great language!) Please feel free to critique my style and approach, I typically learn by doing, and if not corrected early on I&#39;m likely to develop bad habits.</div>

<div><br></div><div>There is a &quot;preview&quot; option if you wish to test the script without actually writing the changes to your DB.  It simply outputs the SQL that it would use to update the table instead of making the change.</div>