Thanks Mike.<br><br>On 9/5/07, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 09/04/2007 08:52 PM, Nedim Cholich wrote:<br>&gt; I was lucky to have tone of digital channels on my cable (QAM) when I moved<br>&gt; so I got the HDHomeRun recently to complement the pvr500 I already had in<br>&gt; the system. For the last couple of days I was going through the ordeal of
<br>&gt; mapping channels to their real numbers/names.<br>&gt;<br>&gt; Back when I had hd2000 I remember digital channels showing up correctly in<br>&gt; FE. Like, 4 WNBC comes before 4.1 WNBCHD etc. Now I have channels sorted
<br>&gt; seemingly in random order. The SD channels are sorted fine, but digital<br>&gt; channels are all over the place. I triple checked my ordering preferences<br>&gt; and for the life of me I can&#39;t figure out what logic FE is using to sort the
<br>&gt; channels. I tried numbering digital channels like 4.1 and 4#1.<br>&gt;<br><br>What do you have specified for &quot;Channel ordering&quot; in the frontend<br>settings?&nbsp;&nbsp;Options are &quot;channel number&quot; and &quot;channel name&quot;.
</blockquote><div><br>Channel number. I guess the problem is that channel number is not really a number but alphanumeric so 102#2 comes before 21, for example, which is not how it should be.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
See, also,<br><a href="http://www.gossamer-threads.com/lists/mythtv/users/283568#283568">http://www.gossamer-threads.com/lists/mythtv/users/283568#283568</a> and<br><a href="http://www.gossamer-threads.com/lists/mythtv/users/283790#283790">
http://www.gossamer-threads.com/lists/mythtv/users/283790#283790</a><br></blockquote><div><br>I saw these two, but there doesn&#39;t seem to be any conclusion. Some of the ideas thrown there sound good though. <br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; The only thing that worked properly was giving digital channel the same<br>&gt; number but different call letters, 
i.e. 4 WNBC, 4 WNBCHD and different<br>&gt; xmltvid. Then they showed up together. Is there any problem with having<br>&gt; different channels have the same channum?<br><br>If they are different channels, then really they should have different
<br>channel numbers.&nbsp;&nbsp;The purpose of the channel number is to allow you to<br>tell Myth which channel to tune when watching LiveTV.&nbsp;&nbsp;If you have 2<br>channel 4&#39;s, Myth doesn&#39;t &quot;know&quot; which one to tune, so you end up going
<br>to the &quot;closest&quot; one.<br><br>If you change the callsigns so they are different, you&#39;re telling Myth<br>you want to treat the channels as different channels--i.e. you want to<br>be able to specify that a recording should happen on one or the other
<br>channel, allowing you to record a show in high def or in standard def.<br>So, in following, they should really have different channel numbers.<br><br>If, however, they both have the same callsign, then you can specify the
<br>same channel number.&nbsp;&nbsp;Using the same callsign says Myth should treat the<br>channels as the same (i.e. &quot;this channel&quot; rules apply to either).&nbsp;&nbsp;Using<br>the same callsign /and/ same channel number says that only one &quot;channel&quot;
<br>should be listed in the EPG (since they are identical--though if content<br>is different, Myth (SVN trunk) will notice and show you both--but IIRC,<br>0.20 isn&#39;t quite as good at that).<br><br>Note, however, that Myth will generally work regardless of how you set
<br>channel numbers and callsigns.&nbsp;&nbsp;That said, there will be &quot;issues&quot; with<br>some configurations, as you describe below.</blockquote><div><br>I realized all this. Same channel number for different channels was not behaving correctly in both frontend and mythweb.
<br><br>At the end I came up with the following scheme. Number all the channels using DD.D pattern. So my analogue channels would be 02.0, 03.0, 45.0 etc. My digital channels would be 02.1, 04.1, 04.3 etc. And the callsigns for the digital channels are different as in WNBC (analogue) and WNBCDT (digital). This way both frontend and mythweb sort channels properly. The true duplicates between analogue and digital source would have the same number and callsign so that backend can have more options when recording. The idea of having four recording sources is slowly sinking in and it&#39;s awesome :-)
<br><br>Am I going too far? How are other people dealing with this?<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;&nbsp;&nbsp;Is there any other way of doing
<br>&gt; this? To make things worse Mythweb is behaving differently and using this<br>&gt; scheme makes digital channels disappear in the listing (they are still there<br>&gt; in the channel lineup). I guess Mythweb only uses channel numbers and since
<br>&gt; there are duplicates, it removes the new channels.<br>&gt;<br>&gt; Is the problem coming from the fact that channum in the db is varchar and<br>&gt; not a number, so &#39;order by&#39; doesn&#39;t work as expected
<br>&gt;<br><br>First post linked above.<br><br>Mike</blockquote><div><br>Thanks again.<br>&nbsp;</div><br></div><br>