[mythtv-users] change channel script and irsend errors on FC11

James Neff neffland at gmail.com
Tue Sep 8 21:45:00 UTC 2009


On Tue, Sep 8, 2009 at 9:16 AM, Mike Holden <mythtv at mikeholden.org> wrote:

> James Neff wrote:
> > Can someone please post their working (and without any problems)
> > channel change script?
>
> I simply used the one in the contrib area of MythTV. I had to change the
> gap
> timeout slightly longer, but otherwise worked as-is.
> --
> Mike Holden
>


I'm still struggling with this.

Channels do not change from myth.  No blinky light on my blaster.

I copied channel script from:
/usr/share/doc/mythtv-docs-0.21/contrib/change-channel-lirc.sh

Contents are:

#!/bin/sh

REMOTE_NAME=blaster
cmd="$1"

case $cmd in
    [0-9]*)
    for digit in $(echo $1 | sed -e 's/./& /g'); do
        irsend SEND_ONCE $REMOTE_NAME $digit
        sleep 0.8
        # If things work OK with sleep 1, try this for faster channel
changes:
        # sleep 0.3
    done
    ;;

    *)
        irsend SEND_ONCE $REMOTE_NAME $cmd
        ;;
esac




More information about the mythtv-users mailing list