<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
&gt; I'm so frustrated at this point I'd really like to hear from some
people exactly how they've managed the feat of mapping digital cable
channels to the guide info.
<div><br>
</div>
Matt, <br>
&nbsp; I'm not sure I can help much, but I'll try.<br>
<br>
<blockquote
 cite="mid:7a6963500905130134u18aad4bfvcd700b9353a1d76a@mail.gmail.com"
 type="cite">
  <div>I have a lineup setup in schedules direct. From that I can
generate a report that shows the mapping between XMLid and call sign.
However I don't know if a particular call sign maps to 83#2 or 2-1 and
I have several very similar call signs.<br>
  <div><span class="Apple-style-span"
 style="border-collapse: collapse; font-family: Helvetica; font-size: 16px;"><span
 class="Apple-style-span" style="border-collapse: separate;">
  <table
 style="border: 1px solid rgb(102, 102, 102); margin: auto auto auto 0.5em; border-collapse: collapse;"
 border="1">
    <tbody>
      <tr>
        <th
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; font-weight: bold; text-align: left ! important; font-size: 80%; white-space: nowrap;">Channel</th>
        <th
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; font-weight: bold; text-align: left ! important; font-size: 80%; white-space: nowrap;">XMLid</th>
        <th
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; font-weight: bold; text-align: left ! important; font-size: 80%; white-space: nowrap;">Call
Sign</th>
        <th
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; font-weight: bold; text-align: left ! important; font-size: 80%; white-space: nowrap;">Name</th>
      </tr>
    </tbody>
  </table>
  <table
 style="border: 1px solid rgb(102, 102, 102); margin: auto auto auto 0.5em; border-collapse: collapse;"
 border="1">
    <tbody>
      <tr>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">2</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">10760</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVU</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVU</td>
      </tr>
    </tbody>
  </table>
  </span></span><span class="Apple-style-span"
 style="font-family: Helvetica; font-size: 16px;">
  <table
 style="border: 1px solid rgb(102, 102, 102); margin: auto auto auto 0.5em; border-collapse: collapse;"
 border="1">
    <tbody>
      <tr>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">188</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">50439</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVUDT2</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVUDT2
(KTVU-DT2)</td>
      </tr>
      <tr>
      </tr>
    </tbody>
  </table>
  <table
 style="border: 1px solid rgb(102, 102, 102); margin: auto auto auto 0.5em; border-collapse: collapse;"
 border="1">
    <tbody>
      <tr>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">622</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">50439</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVUDT2</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVUDT2
(KTVU-DT2)</td>
      </tr>
      <tr>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">702</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">19571</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVUDT</td>
        <td
 style="border: 1px solid rgb(102, 102, 102); padding: 0px 0.5em; background-color: rgb(221, 221, 238); white-space: nowrap;">KTVUDT
(KTVU-DT)</td>
      </tr>
      <tr>
      </tr>
    </tbody>
  </table>
  <br>
  </span></div>
  </div>
</blockquote>
This is the cable channel number lineup.&nbsp; From it, I know the XMLID for
the Call Sign.&nbsp; To get the lineup, go to another site, like TV Guide.&nbsp; <br>
<br>
There I see KTVU (analog) is channel 2, agreeing with the Schedules
Direct lineup. Likewise, 702 is KTVUD (digital).&nbsp; 188 and 688 are LATV
(why there are two, I'm not sure, unless one is a SD and the other an
HD version of the same channel).<br>
<br>
<blockquote
 cite="mid:7a6963500905130134u18aad4bfvcd700b9353a1d76a@mail.gmail.com"
 type="cite">
  <div>Question 1): can I get the show listings directly from my
lineup? For example is Scrubs on XMLid 10760 or is it "Videos por
favor"?&nbsp; </div>
  <div><br>
  </div>
  <div>I tried looking at comcast's listings but they only tell me
virtual channel number, call signs(that don't appear correct in all
cases) and the list of shows. So it doesn't help me map channel 2-1 to
an XMLid.</div>
</blockquote>
Comcast likely simply receives the KTVU digital signal and sends it
right back out over cable (8vsb to QAM256 converted, of course), which
means that the station ID sent byt KTVU is also passed on.&nbsp; So even
though the cable signal is coming in on probably channel 79.1 or 79.4,
the channel your TV will call it (and the DVB utilities) 2.1 which is
the primary digital channel named 2, because their branding began when
it was analog channel 2.<br>
<br>
<blockquote
 cite="mid:7a6963500905130134u18aad4bfvcd700b9353a1d76a@mail.gmail.com"
 type="cite">
  <div>Next I tried dlou99's program to scan for QAM256 channels (<a
 moz-do-not-send="true"
 href="http://www.avsforum.com/avs-vb/showthread.php?t=793017&amp;page=330">http://www.avsforum.com/avs-vb/showthread.php?t=793017&amp;page=330</a>).
This gives me 10 lineups that look like:<br>
  <br>
VC CARRIER PROGRAM MODNUM NAME<br>
============================================<br>
2 79 1 4 KTVU<br>
  <br>
But after scanning for channels I have a few channels such as 2-1 and
some like 79#1. I figure that 79#1 would match the carrier=79 program=1
in the example above but I have no idea how to deal with 2-1 since my
output from scte65scan does not list any carrier=2 program=1.<br>
  </div>
</blockquote>
See above why you would see 2.1 when there really isn't a channel 2
program 1.&nbsp; The 2.1 is simply a name that the broadcaster sends out,
and most TV's will recognize that name and map it, so that when you
press 2.1 on your remote, you get that channel, even though it is
physically some other channel like 79#1 or something.&nbsp; So here's one
way to get the mapping done.<br>
<br>
2.1 should be KTVUDT.&nbsp; You know that because it is broadcast number for
the digital station.&nbsp; It doesn't matter what the "real" channel is.&nbsp; If
you want to keep the cable numbers, rather than the broadcast numbers,
(which I recommend you do) then you can go to LiveTV, tune to 2.1 on
your frontend, press E and change the channel number to 702 to match
the Schedules Direct number, and fill in the XMLid and call letters and
name (I tend to put the network followed by SD or HD, where known).<br>
<br>
Knowing how Comcast numbers things, I could guess that 188 is LATV in
SD, or KTVUDT2 in SD.&nbsp; Again, in LiveTV, tune until you find LATV.&nbsp;
This can be time consuming.&nbsp; Based on the output of dlou99's program,
though, I can make a pretty good guess that you'll find it on 79.1.&nbsp;
But this is where the tedium sets in.&nbsp; <br>
<br>
Keeping on, I'd guess LATV in HD is 622.&nbsp; That's really all you need
for that channel.<br>
<br>
Rather that try to go that way, however, I found it much easier to work
from the video back out.&nbsp; I would go into LiveTV, tune to the first
unmapped channel (for me it was 18#1) and watch long enough to see
either a network logo or what the program was, then look at TV Guide to
see what number that network/program was on, then look at Schedules
Direct to see what the XMLid for that channel was, then press E and
fill in all of the blanks, then channel up and do it all over again.&nbsp;
It took quite a while, but worked.<br>
<br>
Jeff.<br>
<br>
<br>
<br>
<blockquote
 cite="mid:7a6963500905130134u18aad4bfvcd700b9353a1d76a@mail.gmail.com"
 type="cite">
  <div> dlou99 said:<br>
&gt; you can tweak the output of my program to set the <br>
&gt; channel's freqid to the virtual channel from the map. <br>
  <br>
  <br>
2a) which option is that "-f 1 -n 3" ? I've been playing with this but
don't think I've found an output option that gives freqid but I'm not
sure I'd recognize it unless the heading was "freqid".<br>
  <div><span class="Apple-style-span"
 style="font-family: Helvetica; font-size: 16px;"><span
 class="Apple-style-span" style="font-family: arial; font-size: 13px;">&gt;
I believe mythfilldatabase can match channels based on freqid, <br>
&gt; so that means you don't need to mess with xmltvid any more.&nbsp;</span></span></div>
  <div><br>
  </div>
  <div><span class="Apple-style-span"
 style="font-family: Helvetica; font-size: 16px;"><span
 class="Apple-style-span" style="font-family: arial; font-size: 13px;">2b)
that would be great but I still don't know which of the 10 VCT_ID's to
follow. How do you determine what matches?<br>
  <br>
  </span></span></div>
  <div><span class="Apple-style-span"
 style="font-family: Helvetica; font-size: 16px;"><span
 class="Apple-style-span" style="font-family: arial; font-size: 13px;">I
would be infinite grateful if someone can help me resolve this. I've
wasted so much time already trying to get this working that WAF is
slipping dangerously low. If I don't get it setup before comcast stops
analog broadcast (next week!) we are going to start losing most of our
shows and WAF will plummet to dangerous levels. ;)<br>
  <br>
  </span></span></div>
  <div><span class="Apple-style-span"
 style="font-family: Helvetica; font-size: 16px;"><span
 class="Apple-style-span" style="font-family: arial; font-size: 13px;">thanks
in advance!<br>
Matt<br>
  </span></span></div>
  </div>
</blockquote>
<br>
--<br>
I haven't smoked for 2 years, 8 months and 3 weeks, saving $4,502.45
and not smoking 30,016.36 cigarettes.
</body>
</html>