? my.patch Index: change-channel-lirc.sh =================================================================== RCS file: /var/lib/mythcvs/mythtv/contrib/change-channel-lirc.sh,v retrieving revision 1.3 diff -u -r1.3 change-channel-lirc.sh --- change-channel-lirc.sh 12 Mar 2004 23:22:29 -0000 1.3 +++ change-channel-lirc.sh 26 Oct 2004 17:39:55 -0000 @@ -1,19 +1,25 @@ #!/bin/sh -REMOTE_NAME=gi-motorola-dct2000 +REMOTE_NAME=3100 cmd="$1" case $cmd in [0-9]*) for digit in $(echo $1 | sed -e 's/./& /g'); do - irsend SEND_ONCE $REMOTE_NAME $digit - sleep 1 - # If things work OK with sleep 1, try this for faster channel changes: - # sleep 0.3 + irsend SEND_START $REMOTE_NAME $digit + sleep 1 + + # The sleep 1 above and the sleep 0.2 below can be extended or + # shortened depending the sensitivity of your external tunerbox + + irsend SEND_STOP $REMOTE_NAME $digit + sleep 0.2 done ;; *) - irsend SEND_ONCE $REMOTE_NAME $cmd + irsend SEND_START $REMOTE_NAME $cmd + sleep 1 + irsend SEND_STOP $REMOTE_NAME $cmd ;; esac