THANK YOU SO MUCH!!<br>
<br>
I'm making a few edits, just to clear up a few things I hit following these directions. Hopefully this will also help others.<br><br><div><span class="gmail_quote">On 9/16/05, <b class="gmail_sendername">Jason Beck</b> &lt;
<a href="mailto:jasonbeck777@yahoo.com">jasonbeck777@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>If your provider is not kind enough to send the PSIP
<br>info you will have to add the channels manually to the<br>database.<br><br>I'll try to explain how using you channels.conf as an<br>example.&nbsp;&nbsp;The database tables that need to be modified<br>are channel and dtv_multiplex.&nbsp;&nbsp;dtv_multiplex should
<br>be populated by the channel scan and the channel table<br>you will need to modify yourself.&nbsp;&nbsp;Below is an example<br>of how you would setup your NBC (assuming<br>ch#707)channel in Myth.<br><br><br>1.) go to zap2it and build your listing for your local
<br>HD broadcast channels.</blockquote><div><br>
And this is documented elsewhere, but I&nbsp; it's probably a good
place to note: uncheck all the channels you don't intend to receive. In
my case, there are only 4 HDTV channels I can receive from my cable
system.<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;">2.) assign that listing to your dvb 3k in mythtvsetup<br>3.) go into the channel editor (still in mythtvsetup)
<br>select your new listing and do a scan (select type<br>&quot;cable&quot;)</blockquote><div><br>
You need to stop mythbackend before step 3) above or else the scan can't get ahold of the card to do it's thing.<br>
<br>
Maybe it's just me, but I had to be sure to arrow-down and select
&quot;Finish&quot;. The first time through I just hit the Enter key and the
results of the scan didn't show up in the Channels window (so Cancel
was probably highlighted.)<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;">The scan will take some time.&nbsp;&nbsp;Mostly likely you won't<br>really get anything useful, but what this will do it
<br>populate the dtv_multiplex table in your db.&nbsp;&nbsp;You will<br>need this later on.<br><br>4.) exit mythtvsetup and run mythfilldatabase.&nbsp;&nbsp;This<br>will now provide you with your xmltvids to callsign<br>mappings.</blockquote>
<div><br>
mythtv-setup may complain on exit about the start channel not existing,
at this point, I chose &quot;I know what I'm doing&quot; (or something like that
;-) and exited.<br>
<br>
I'm not positive, but I think mythbackend should be running when you
run mythfilldatabase (maybe it doesn't matter, and if that's the case,
someone can correct me.) I started mythbackend back up before running
mythfilldatabase.<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;">At this point you still will not be able to tune<br>anything yet so don't try.<br>
<br>5.) ***Important***&nbsp;&nbsp;stop mythbackend.<br>6.) edit your channels.conf and remove your PSIP<br>values.&nbsp;&nbsp;You don't need them for Myth. So your file<br>will look like this.<br><br>NBC:561000000:QAM_256:0:0<br>ABC:561000000:QAM_256:0:0
<br>CBS:567000000:QAM_256:0:0<br>FOX:567000000:QAM_256:0:0<br><br>7.) go ahead and fire up azap and tune a channel.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$ azap -r NBC<br>8.) in a second terminial run dvbscan -c<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$ dvbscan -c<br><br>What you need is the serviceid.&nbsp;&nbsp;This is the number in
<br>the [000#] at the far left.&nbsp;&nbsp;Your provider will most<br>likely be using the same frequency for multiple<br>channels.&nbsp;&nbsp;So you may have more then one service per<br>freq.&nbsp;&nbsp;In this example your serviceid for NBC would be
<br>2.<br><br>Example:<br>dumping lists (1 services)<br>[0002]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(0x0002) 00: PCR == V&nbsp;&nbsp; V<br>0x0010 A 0x0011 (eng)</blockquote><div><br>
In my go at it, here's what dvbscan -c found for one azap tuned channel:<br>
<br>
dumping lists (3 services)<br>
[0001]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(0x0001) 00: PCR == V&nbsp;&nbsp; V 0x0010 A 0x0011<br>
[0003]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(0x0003) 00: PCR == V&nbsp;&nbsp; V 0x0090 A 0x0091 (eng)<br>
[0002]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(0x0002) 00: PCR == V&nbsp;&nbsp; V 0x0050 A 0x0051 (eng)<br>
<br>
&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Now stop your dvbscan and azap tune.<br><br>9.) log into your database.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$mysql -u root -p mythconverg
<br><br>To tune the 3k you will need to find the mplexid for<br>you known frequency.<br><br>10.) finding the mplexid<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt; select mplexid from dtv_multiplex where<br>frequency = '561000000';<br>+---------+<br>
| mplexid |<br>+---------+<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;25 |<br>+---------+<br>1 row in set (0.01 sec)<br><br>Write down the mplexid value.&nbsp;&nbsp;For example sake we<br>will say it was 25.</blockquote><div><br>
Hmmm. I got this far, only to find the DVB QAM scan found&nbsp; two
frequencies I wasn't expecting and neither of the ones my manual
dvbscan found. Go Figure!<br>
<br>
&nbsp;select frequency from dtv_multiplex;<br>
+-----------+<br>
| frequency |<br>
+-----------+<br>
| 717000000 |<br>
| 579000000 |<br>
+-----------+<br>
<br>
</div>I went back into mythtv-setup, to channel editor, and chose to
import (my already edited) channels.conf file. BTW, I am running the
MythTV CVS version I got earlier today. I don't think 18.1 let you
import a channels.conf though the mythtv-setup app.<br>
<br>
This seemed to work. Back in the database:<br>
<br>
mysql&gt; select frequency from dtv_multiplex;<br>
+-----------+<br>
| frequency |<br>
+-----------+<br>
| 717000000 |<br>
| 579000000 |<br>
| 561000000 |<br>
| 567000000 |<br>
+-----------+<br>
<br>
561 and 567 MHz are the channels I was expecting to find.<br>
<br>
mysql&gt; select mplexid from dtv_multiplex where frequency = '561000000';<br>
+---------+<br>
| mplexid |<br>
+---------+<br>
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 |<br>
+---------+<br>
<br>
mysql&gt; select mplexid from dtv_multiplex where frequency = '567000000';<br>
+---------+<br>
| mplexid |<br>
+---------+<br>
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 |<br>
+---------+<br>
<br>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">11.) Now you are ready to setup the channel.&nbsp;&nbsp;You have<br>the freqency (561000000),mplexid(25),and the
<br>serviceid(2).&nbsp;&nbsp;Assuming that you now have a channel<br>707 from the previous mythfilldatabase above.</blockquote><div><br>
Confirmed the mythfilldatabase gave me the channels I wanted:<br>
<br>
mysql&gt; select channum from channel;<br>
+---------+<br>
| channum |<br>
+---------+<br>
| 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 704&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 705&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 707&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 709&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| 85#0&nbsp;&nbsp;&nbsp; |<br>
| 85#1&nbsp;&nbsp;&nbsp; |<br>
+---------+<br>
<br>
There are some duds in there, but also the ones I want (in the 700 range). Hopefully I can delete the rest later.<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;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt; update channel set freqid=&quot;561000000&quot; where<br>channum=707;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt; update channel set mplexid=&quot;25&quot; where<br>channum=707;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt; update channel set serviceid=&quot;2&quot; where<br>channum=707;<br><br>You may want to do a quick check to make sure all
<br>looks good.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt; select * from channel where channum=707;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt; quit<br><br>12.) Start mythbackend</blockquote><div><br>
After this step, I went back into mythtv-setup before proceeding and
set my start channel to 704, since that should be a valid channel now.<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;">13.) Start up the frontend and test.</blockquote><div><br>
<br>
I CAN'T BELIEVE IT!!! IT WORKS!!!!!!&nbsp;&nbsp;&nbsp; :)&nbsp; :)&nbsp; :)<br>
&nbsp;<br>
</div><br>
I went back to add the other three channels. Killed mythbackend so I
could tune with azap and dvbscan -c. repeated the step 11 sequence for
my other 3 QAM channels. My other three channels ended up being:<br>
<br>
freq,mplexid,serviceid<br>
561000000,3,3 <br>
567000000,4,1<br>
567000000,4,3<br>
<br>
I don't know if this is &quot;normal&quot; or unique to my cable system
(Adelphia) but the dvbscan -c found a serviceid of 2 inbetween 1 and 3
on both frequencies but it wouldn't tune / Myth reported it was
encrypted. Using serviceids 1 and 3 did the trick.<br>
<br>
<br>
In the end, this is what the relevant stuff looks like in my channel table in MySQL:<br>
<br>
mysql&gt; select chanid,channum,freqid,mplexid,serviceid,callsign,xmltvid from channel;<br>
+--------+---------+-----------+---------+-----------+----------+---------+<br>
| chanid | channum | freqid&nbsp;&nbsp;&nbsp; | mplexid | serviceid | callsign | xmltvid |<br>
+--------+---------+-----------+---------+-----------+----------+---------+<br>
|&nbsp;&nbsp; 1704 | 704&nbsp;&nbsp;&nbsp;&nbsp; | 561000000
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 |
WRCDT&nbsp;&nbsp;&nbsp; | 19578&nbsp;&nbsp; |<br>
|&nbsp;&nbsp; 1707 | 707&nbsp;&nbsp;&nbsp;&nbsp; | 561000000
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 |
WJLADT&nbsp;&nbsp; | 19579&nbsp;&nbsp; |<br>
|&nbsp;&nbsp; 1709 | 709&nbsp;&nbsp;&nbsp;&nbsp; | 567000000
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 |
WUSADT&nbsp;&nbsp; | 19580&nbsp;&nbsp; |<br>
|&nbsp;&nbsp; 1705 | 705&nbsp;&nbsp;&nbsp;&nbsp; | 567000000
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 |
WTTGDT&nbsp;&nbsp; | 20367&nbsp;&nbsp; |<br>
+--------+---------+-----------+---------+-----------+----------+---------+<br>
<br>
<br>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-- A couple of things I ran across later with the 3k.<br>By default the 3k will be set to record in PS mode.&nbsp;&nbsp;I
<br>had wierd fastforward and rewind problems.&nbsp;&nbsp;In<br>mythtvsetup under capture cards--&gt;dvb--&gt;Advanced<br>settings I selected the &quot;Use TS instead of PS&quot; option<br>and the ffw and rew problems went away.</blockquote>
<br>
Hmm, I remember seeing that setting, but in the CVS version I am
running (maybe .19.2)... it doesn't appear there in the advanced
section. On the other hand, I am not seeing FF or RWD problems in
limited use, maybe it has been defaulted to your preferred setting.<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I hope this helps.&nbsp;&nbsp;I just went through this about a<br>week ago and it was not easy to find all of the info.
<br>Alot for trial and error.&nbsp;&nbsp;Let me know how it works<br>out for you...</blockquote><div><br>
Oh, it helped immensely! Thank you so much!&nbsp; I hope my feedback helps you or someone else in a similar situation.<br>
</div><br></div>The only problem left (well, I'm sure I will find
more&nbsp; ;-)&nbsp; ... the audio is great in my first two channels
(704 and 705) however, there is no audio in 707 or 709. I can't figure
out what the pattern is there since 704 uses service id 1 and 705 uses
service id 3 and they both use different frequencies; so the audio
problem doesn't seem to be localized to the either the frequency or the
service id.<br>