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