<br>
<div class="gmail_quote">On Thu, Dec 4, 2008 at 6:19 PM, R. G. Newbury <span dir="ltr">&lt;<a href="mailto:newbury@mandamus.org">newbury@mandamus.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">matt lutz wrote:<br>&gt; On Thu, Dec 4, 2008 at 3:44 PM, R. G. Newbury &lt;<a href="mailto:newbury@mandamus.org">newbury@mandamus.org</a>&gt; wrote:<br>&gt;<br>&gt;&gt; &nbsp;matt lutz wrote:<br>&gt;&gt;&gt; All,<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; I&#39;ve recently switched from DirecTV/OTA to digital cable. &nbsp;I have a<br>&gt;&gt;&gt; HDHomeRun that I wanted to tune the ATSC channels with. &nbsp;I&#39;ve<br>&gt;&gt; successfully<br>&gt;&gt;&gt; set up the new listings, the HDHR, and scanned for the channels. &nbsp;I get<br>
&gt;&gt; the<br>&gt;&gt;&gt; local networks in HD, and some other odd news channels, but I don&#39;t get a<br>&gt;&gt;&gt; decent amount of the available content. &nbsp;I&#39;ve been able to map all of the<br>&gt;&gt;&gt; channels it does find to the proper channel # and xmltv ID, but the big<br>
&gt;&gt;&gt; problem is the missing channels.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; If I use the HDHR windows app, I get all of them. &nbsp;here is my listings<br>&gt;&gt; page:<br>&gt;&gt;&gt;<br>&gt;&gt; <a href="http://www.silicondust.com/hdhomerun/lineupui?Cmd=LocationProgramsWeb&amp;Country=US&amp;Postcode=22302" target="_blank">http://www.silicondust.com/hdhomerun/lineupui?Cmd=LocationProgramsWeb&amp;Country=US&amp;Postcode=22302</a><br>
&gt;&gt;&gt; Mythtv doesn&#39;t find anything with a &#39;program&#39; number of over 100 for some<br>&gt;&gt;&gt; reason. &nbsp;I&#39;ve searched all over the place on how to add new channels to<br>&gt;&gt; the<br>&gt;&gt;&gt; database, and I&#39;ve done what I think should be correct, but myth can&#39;t<br>
&gt;&gt; get a<br>&gt;&gt;&gt; good channel lock on the new channel I add to the db.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Like I said, I know the HDHR can tune the channel, because I can get it<br>&gt;&gt; on<br>&gt;&gt;&gt; my windows laptop using the HDHR software. &nbsp;Does anyone have any ideas on<br>
&gt;&gt;&gt; what could be wrong in my myth setup?<br>&gt;&gt; It&#39;s not clear what you are actually adding to the db. What you need to<br>&gt;&gt; add are: a) the frequency to dtv_multiplex and b) the channel info to<br>
&gt;&gt; the channel table.<br>&gt;&gt; The *number* which &#39;everyone&#39; uses for a channel now means basically<br>&gt;&gt; nothing. And there actually are NO channel frequencies with a number<br>&gt;&gt; over 100: those are just for convenience.<br>
&gt;&gt;<br>&gt;&gt; There is page here:<br>&gt;&gt;<br>&gt;&gt; <a href="http://www.mythtv.org/wiki/index.php/Adding_Digital_Cable_Channels_(For_ATSC/QAM_Tuner_Cards_--_USA/Canada)" target="_blank">http://www.mythtv.org/wiki/index.php/Adding_Digital_Cable_Channels_(For_ATSC/QAM_Tuner_Cards_--_USA/Canada)</a><br>
&gt;&gt;<br>&gt;&gt; which discusses this in some detail,<br>&gt;&gt;<br>&gt;&gt; If your hdhr can see it, then it can produce output which you can use to<br>&gt;&gt; &nbsp;set up your database. You really want to install the dvb-apps package<br>
&gt;&gt; to &nbsp;start with. It&#39;s in Fedora &#39;Everything&#39; but available elsewhere of<br>&gt;&gt; course. Among other things it provides files listing frequencies and<br>&gt;&gt; channel numbers:<br>&gt;&gt; /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB<br>
&gt;&gt; /usr/share/dvb-apps/atsc/us-Cable-Standard-center-frequencies-QAM256<br>&gt;&gt;<br>&gt;&gt; Since these are ATSC OTA channels, you would use the first page and the<br>&gt;&gt; azap program to scan for channels. Or you could just create entries in<br>
&gt;&gt; dtv_multiplex with numbers and frequencies.<br>&gt;&gt; THEN you have to find the digital streams, and set up the PID and other<br>&gt;&gt; info in the channels table. The wiki page describes this, and how to<br>
&gt;&gt; test using azap and mplayer.<br>&gt;&gt;<br>&gt;&gt; I suspect that you are trying to push into the database, the number<br>&gt;&gt; which you would use in casual talk to describe a station, when its<br>&gt;&gt; actual channel and PID are quite different due to the digital shift. The<br>
&gt;&gt; 3 networks in Buffalo used to be &#39;2,4 and 7&#39; and they still call<br>&gt;&gt; themselves that, but those are NOT the tuning frequency channels they use.<br>&gt;&gt;<br>&gt;&gt; Finally, if you can tune some unknown channel in mythtv, and recognize<br>
&gt;&gt; it by its content against the guide you can use the on-screen editor to<br>&gt;&gt; set the Name (WABC-DT) and XMLTVID, to match you Schedules Direct<br>&gt;&gt; lineup. (But note: the xlmtvid is the definitive identifier at the<br>
&gt;&gt; SchedulesDirect end, but a tv station (or cable provider) and (and they<br>&gt;&gt; do) change the frequency and/or PID of the digital stream whenever they<br>&gt;&gt; damn well please!<br>&gt;&gt;<br>&gt;&gt; Geoff<br>
&gt;&gt;<br>&gt;&gt;<br>&gt; Geoff,<br>&gt;<br>&gt; Thanks for the reply. &nbsp;Sorry - I misspoke when I said &#39;ATSC&#39;, I really meant<br>&gt; qam256. &nbsp;I do know the feqid and muliplex ID. &nbsp;referenceing the hdhomerun<br>
&gt; listings data, I&#39;m trying to tune feqid 91, multiplex 108. &nbsp;These are the<br>&gt; fields that I&#39;ve entered into a new row in the database. &nbsp;via mythtv, I<br>&gt; can&#39;t get a lock on it. &nbsp;That goes for any channel that has a multiplex id<br>
&gt; of over 100. &nbsp;I&#39;m not sure if that&#39;s just a coincidence or not...<br>&gt;<br>&gt; I should also add that I&#39;m running mythbuntu 8.04 w/ mythtv 0.21, and I&#39;m<br>&gt; trying to tune Comcast digital cable.<br>
<br></div></div>OK. If your dtv_multiplex table has 108 entries, it has some duplicates:<br>There are not than many actual frequencies...85 or 87 IIRC.<br><br>Run Mythtv-setup &nbsp;and delete ALL tuners on the second page to get back<br>
to zero. And use mysql if necessary to delete all entries in the<br>dtv_multiplex table.<br><br>Install dvb-apps and use azap and mplayer (its in the readme and the<br>wiki) to scan your channels. You can also use the hdhr. For the hdhr you<br>
&nbsp;can directly tune the unit with something like:<br><br>&nbsp;hdhomerun_config 1010ea43 set /tuner0/channelmap us-bcast<br>&nbsp; hdhomerun_config 1010ea43 set /tuner0/channel 8vsb:$1<br>&nbsp; hdhomerun_config 1010ea43 set /tuner0/program $2<br>
&nbsp; wxvlc udp://@<br><br>In your case it will be the cable channel-map and qam256 not 8vsb. This<br>is part of a script I wrote and $1 is the channel by frequency number in<br>the list, and $2 is the program PID. If you have vlc (wxvlc) installed<br>
you can watch tv with this.<br><br>When you have a good list, use mythtv-setup to do a scan. Then adjust<br>the information in light of what the hdhr has found. You need only<br>ensure that the channel table has the correct dtv_multiplex frequency<br>
reference, and the correct PID (plus a couple of other settings,<br>discussed on the wiki page). &nbsp;The name and XMLTVID must match what<br>SchedulesDirect uses for that channel per your setup at SD.<br>
<div>
<div></div>
<div class="Wj3C7c"><br>Geoff<br><br><br></div></div></blockquote>
<div>&nbsp;</div>
<div>Geoff,</div>
<div>&nbsp;</div>
<div>Again, thank you for the help.&nbsp; I was able to tune my missing channel in Myth, but maybe there&#39;s something wrong that needs to be fixed?&nbsp; What I was trying to do was tune the following channel:</div>
<div>&nbsp;</div>
<div>freq - qam256:627000000</div>
<div>prog - 108</div>
<div>&nbsp;</div>
<div>I didn&#39;t realize that the multiplexID in the channel table needed to correspond to the frequency in the dtv_mutliplex table.&nbsp; It makes sense now, but there is a decent amount of conflicting information out there.</div>

<div>&nbsp;</div>
<div>At any rate, I now believe I can manually map all of the channels that are available by cross-referencing the hdhomerun data with the dtv_multiplex&nbsp; table to get a good listing.&nbsp; I guess I&#39;m still a little confused as to why the channel scan didn&#39;t turn up any of these SD channels.&nbsp; perhaps I am missing something....</div>

<div>&nbsp;</div>
<div>anyway - thanks for the help.&nbsp; You pointed me in the right direction.</div>
<div>&nbsp;</div>
<div>Matt</div>
<div>&nbsp;</div>
<div>&nbsp;</div></div>