[mythtv-users] Myth can't change channels on my dct2000
Owen Mehegan
owen at nerdnetworks.org
Fri Jun 30 05:39:06 UTC 2006
OK, on a hunch I looked at the mythconverg database, and I figured
out where Myth is getting these whacky channel numbers:
mysql> select channum,freqid from channel where channum +---------+--------+
| channum | freqid |
+---------+--------+
| 9 | 187250 |
+---------+--------+
So, when I tell Myth to change to channel 9, it feeds channel 187250
to the channel changing app. Is something screwed up in my listings
feed? I'm getting it from Data Direct/Zap2It or whatever, in San
Francisco, CA. Or, is there some way I can tell Myth to use the
channum column instead of the freqid column when I give it channels
to change to? Not all of the channels are screwed up like this, but a
whole lot of them are. If I tell Myth to change to a channel that is
configured normally in the db, it is able to do so with no errors.
I'm SO CLOSE!!
--
owen at nerdnetworks.org (Owen B. Mehegan)
'Though this be madness, yet there is method in't.'
--William Shakespeare
On Jun 28, 2006, at 10:01 PM, Owen Mehegan wrote:
> I definitely need at least the -p /dev/ttyUSB0 because the default
> serial port is being used by something else. This is the error I
> see in the mythbackend.log:
>
> Invalid channel: 187250
> valid channels are 1 - 999
> Usage: /usr/local/bin/channel [options] [channel]
> -p, --port port serial port (default: /dev/ttyS0)
> -f, --force keep going after communication errors
> -o, --ok send OK after channel number
> -b, --blind send keys blindly and ignore
> returned data
> -n, --nopower never attempt to turn box on
> -t, --timeout scale scale all timeouts by this much
> (default 1.0)
> -q, --quiet suppress printing of channel on exit
> -v, --verbose be verbose (use twice for extra
> debugging)
> -h, --help this help
> -V, --version show program version and exit
>
>
> So something is messed up... where is it getting that crazy channel
> number? That was in an attempt to switch to channel 9.
>
> --
> owen at nerdnetworks.org (Owen B. Mehegan)
> 'Something is rotten in the state of Denmark.'
> --William Shakespeare
>
> On Jun 28, 2006, at 4:21 PM, Gabe Rubin wrote:
>
>> On 6/28/06, Owen Mehegan <owen at nerdnetworks.org> wrote:
>>> I have a DCT2224 cable box, and I've got the dct-channel app
>>> changing
>>> channels on it no problem from the command line. In mythtvsetup I
>>> added "/usr/local/bin/channel -v -p /dev/ttyUSB0" to the appropriate
>>> video source/input as the channel changing app, but Myth seems to
>>> not
>>> be using it. When I go to watch live TV and try to change channels,
>>> nothing happens on the cable box. I don't see any errors in the
>>> console output from mythfrontend. Any ideas what I could be doing
>>> wrong?
>>>
>> Try just "/usr/local/bin/channel", that is how I have mine set up.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060629/683ddc43/attachment.htm
More information about the mythtv-users
mailing list