[mythtv-users] directv.pl channel_sd_hd issues solved
les
lhigger at att.net
Sun Sep 5 17:31:24 UTC 2010
well here is what i got to work... i have two myth boxes and both run
usb-->serial<---usb and directv.pl 1.9.
one for some reason needed an extra exit command while the other for
some reason works without it..
must be some weard stuff.. the driect tv boxs are H21's.
i also added some extra lines so i could see what was happening when i
ran it from the command line to test with.. i just left them in the
script. i wanted to make sure what i was looking at.. lol
#!/bin/sh
if ["$1" = "X"];then
echo "Usage: $0 <channel number>"
echo
exit 1
fi
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 on
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose get_channel
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose get_signal
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose
channel_change_type command setup_channel $1
if [ "$?" -ne "0" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose
channel_change_type command setup_channel $1
fi
if [ "$1" = "356" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key ch_up
fi
if [ "$1" = "202" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key ch_up
fi
if [ "$1" = "265" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key ch_up
fi
if [ "$1" = "276" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 key ch_up
fi
if [ "$1" = "269" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 key ch_up
fi
if [ "$1" = "284" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key ch_up
fi
if [ "$1" = "247" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key ch_up
fi
if [ "$1" = "247" ]; then
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key exit
/usr/local/bin/dtv19.9.pl box_type H20 port /dev/ttyUSB1 verbose key ch_up
fi
Bob Gamble wrote:
> I may have originated the change to this script for the problem you're
> experiencing. Before I had HD, I noticed the signal strength was much
> lower on HD channels (something like <60). I emailed the creator of
> the script...his page is at http://www.pdp8.net/directv/directv.shtml.
>
> I would run the directv.pl <http://directv.pl> get_signal on both the
> hd and the non-hd channels. At the time, I did notice the strength
> was much weaker on the hd channel because I did not have hd. After
> the gentleman modified the script for this problem, I tested it and
> adjusted the signal strength value to a level I knew would fail on hd
> channels. At that point things worked great.
>
> As for the 2 before channel 356, I believe this says you are using
> your second tuner card, or something to that effect. It is normal.
>
> I hope this helps.
>
> On Thu, Sep 2, 2010 at 10:11 AM, les <lhigger at att.net
> <mailto:lhigger at att.net>> wrote:
>
> the myth tv log shows
>
> Finished recording Countdown With Keith Olbermann: channel 2356
>
> should be 356 where does the 2 come from .. this might be the
> problem why ch_up is not working ?
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org <mailto: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
>
More information about the mythtv-users
mailing list