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> <
<a href="mailto:jasonbeck777@yahoo.com">jasonbeck777@yahoo.com</a>> 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. The database tables that need to be modified<br>are channel and dtv_multiplex. dtv_multiplex should
<br>be populated by the channel scan and the channel table<br>you will need to modify yourself. 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 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>"cable")</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
"Finish". 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. 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. You will<br>need this later on.<br><br>4.) exit mythtvsetup and run mythfilldatabase. 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 "I know what I'm doing" (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*** stop mythbackend.<br>6.) edit your channels.conf and remove your PSIP<br>values. 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> $ azap -r NBC<br>8.) in a second terminial run dvbscan -c<br> $ dvbscan -c<br><br>What you need is the serviceid. This is the number in
<br>the [000#] at the far left. Your provider will most<br>likely be using the same frequency for multiple<br>channels. So you may have more then one service per<br>freq. In this example your serviceid for NBC would be
<br>2.<br><br>Example:<br>dumping lists (1 services)<br>[0002]
(0x0002) 00: PCR == V 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]
(0x0001) 00: PCR == V V 0x0010 A 0x0011<br>
[0003]
(0x0003) 00: PCR == V V 0x0090 A 0x0091 (eng)<br>
[0002]
(0x0002) 00: PCR == V V 0x0050 A 0x0051 (eng)<br>
<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;">Now stop your dvbscan and azap tune.<br><br>9.) log into your database.<br> $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> mysql> select mplexid from dtv_multiplex where<br>frequency = '561000000';<br>+---------+<br>
| mplexid |<br>+---------+<br>| 25 |<br>+---------+<br>1 row in set (0.01 sec)<br><br>Write down the mplexid value. 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 two
frequencies I wasn't expecting and neither of the ones my manual
dvbscan found. Go Figure!<br>
<br>
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> 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> select mplexid from dtv_multiplex where frequency = '561000000';<br>
+---------+<br>
| mplexid |<br>
+---------+<br>
| 3 |<br>
+---------+<br>
<br>
mysql> select mplexid from dtv_multiplex where frequency = '567000000';<br>
+---------+<br>
| mplexid |<br>
+---------+<br>
| 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. You have<br>the freqency (561000000),mplexid(25),and the
<br>serviceid(2). 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> select channum from channel;<br>
+---------+<br>
| channum |<br>
+---------+<br>
| 0 |<br>
| 0 |<br>
| 0 |<br>
| 0 |<br>
| 704 |<br>
| 705 |<br>
| 707 |<br>
| 709 |<br>
| 85#0 |<br>
| 85#1 |<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;"> mysql> update channel set freqid="561000000" where<br>channum=707;
<br> mysql> update channel set mplexid="25" where<br>channum=707;<br> mysql> update channel set serviceid="2" where<br>channum=707;<br><br>You may want to do a quick check to make sure all
<br>looks good.<br><br> mysql> select * from channel where channum=707;<br> mysql> 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!!!!!! :) :) :)<br>
<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 "normal" 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> select chanid,channum,freqid,mplexid,serviceid,callsign,xmltvid from channel;<br>
+--------+---------+-----------+---------+-----------+----------+---------+<br>
| chanid | channum | freqid | mplexid | serviceid | callsign | xmltvid |<br>
+--------+---------+-----------+---------+-----------+----------+---------+<br>
| 1704 | 704 | 561000000
| 3
| 1 |
WRCDT | 19578 |<br>
| 1707 | 707 | 561000000
| 3
| 3 |
WJLADT | 19579 |<br>
| 1709 | 709 | 567000000
| 4
| 1 |
WUSADT | 19580 |<br>
| 1705 | 705 | 567000000
| 4
| 3 |
WTTGDT | 20367 |<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. I
<br>had wierd fastforward and rewind problems. In<br>mythtvsetup under capture cards-->dvb-->Advanced<br>settings I selected the "Use TS instead of PS" 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. 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. Let me know how it works<br>out for you...</blockquote><div><br>
Oh, it helped immensely! Thank you so much! 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 ;-) ... 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>