Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Re: directv.pl channel_sd_hd issues solved

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


lhigger at att

Sep 5, 2010, 10:31 AM

Post #1 of 1 (126 views)
Permalink
Re: directv.pl channel_sd_hd issues solved

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
> <mailto:lhigger [at] att>> 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 <mailto:mythtv-users [at] mythtv>
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.