[mythtv-users] Channel Script Timeout
Jeff
junk_inbox at verizon.net
Tue Mar 24 16:35:41 UTC 2009
>
> >> I have a Dish/Expressvu 4100 Sat box and I use extra commands to
> ensure
> >> that I don't get stuck in menus.
> >>
> >> At the top I call a "cancel" to get out of any guide left on the screen
> >> Then I call "guide" to get out of any non-subscribed channels entered
> >> by
> >> accident
> >> Next is the standard channel change script
> >> After entering the channels, I press "select" twice to get out of the
> >> guide
> >>
> >> The delay that seems to work best in between each command and between
> >> digits is 0.7. With this delay I don't have enough time before Myth
> >> times
> >> out on the channel script. I was considering using a background script
> >> to
> >> overcome this, but I don't think the channel entry part can exist in the
> >> background script.
> >>
> >> Can anybody offer some advice?
>
Scott,
I run Dish network receivers on my backend, here's my script that I use.
I don't have any issues with channel changes with either LiveTV (which i
virtually never use except testing tuners or channel change scripts btw), or
Recordings:
[mythtv at mythbackend ~]$ cat /mythtv/scripts/ChanChangeDISH_6.sh
#!/bin/sh
REMOTE_NAME=DISH_6 # Define my remote name here
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME pointer_up
sleep 0.5
for digit in $(echo $1 | sed -e 's/./& /g'); do # Accept input from MythTV
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME $digit # Send the output
to Lirc
sleep 0.2 # note, you may have to tweak the interdigit delay up a bit #
Wait for next digit
done # got last digit from MythTV
# Add a select to speed up channel changing.
sleep 0.1
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME select
# Get the Dish OSD off the screen, it annoys me and I don't want it on my
recordings.
sleep 0.2
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME cancel
PS: Hide the Dish/E* remotes - MythTV should be the only one ever
controlling your Sat receiver... Alex's suggestion about the signal timeout
is a good idea too - I haven't hit that, but it may help you.
J-e-f-f-A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090324/e48b9bc3/attachment.htm>
More information about the mythtv-users
mailing list