[mythtv-users] HDPVR can only record one show (any thoughts)
John P Poet
jppoet at gmail.com
Wed Dec 23 02:48:52 UTC 2009
On Tue, Dec 22, 2009 at 9:00 AM, Vern <spamvern at yahoo.com> wrote:
<snip>
> 5. modified directv.pl to add a 5 second delay after changing the channel
Personally, I wrapped directv.pl in a shell script. This makes it
easier to control two HD-PVRs independently, and allowes a
double-check that the correct channel was selected:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/bin/sh
if [ "X$1" = "X" ]; then
echo "Usage: $0 <channel number>"
echo
exit;
fi
/usr/local/bin/directv.pl box_type H20 port /dev/hdpvrChannel0 on
/usr/local/bin/directv.pl box_type H20 port /dev/hdpvrChannel0 get_channel
/usr/local/bin/directv.pl box_type H20 port /dev/hdpvrChannel0
channel_change_type command setup_channel $1
if [ "$?" -ne "0" ]; then
/usr/local/bin/directv.pl box_type H20 port /dev/hdpvrChannel0
channel_change_type command setup_channel $1
fi
sleep 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the mythtv-users
mailing list