[mythtv-users] Joy and pain (Daryl McDonald)

Daryl McDonald darylangela at gmail.com
Wed Feb 19 00:28:41 UTC 2014


On Tue, Feb 18, 2014 at 5:43 PM, Daryl McDonald <darylangela at gmail.com> wrote:
> On Tue, Feb 18, 2014 at 5:12 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:
>>
>> Hoi Daryl
>>> Hoi HIka, Before we get into new udev rules, I think the
>>> "change-channel.sh" is not working, the first part of it is because
>>> the stb powered on when I rebooted, but an attempt to watch one of the
>>> stb's channels live got no signal or channel lock. When I check the
>>> box on standard TV it is still on Discovery, where I tuned it
>>> manually, instead of TVO where the script tunes it "normally".
>>> Daryl
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>>
>> Look at the first line changed...
>>
>>> REMOTE_NAME=DCT700
>>> cmd="$1"
>> ## Change this to match your Lirc socket file
>> lirc_socket="/var/run/lirc/lircdSerial"
>>
>>> /usr/local/bin/check_stb 1>/dev/null 2>/dev/null || :
>>> sleep 2
>>
>>> case $cmd in
>>>     [0-9]*)
>>>     for digit in $(echo $1 | sed -e 's/./& /g'); do
>>>        # irsend -d /dev/lircd SEND_ONCE $REMOTE_NAME $digit
>> #>         irsend -d /var/run/lirc/lircdSerial SEND_ONCE_NAME $digit <<<1
>>          irsend -d ${lirc_socket} SEND_ONCE_NAME $digit
>>>         sleep 0.2
>>>         # If things work OK with sleep 1, try this for faster channel changes:
>>>         # sleep 0.3
>>>     done
>>>        # irsend -d /dev/lircd SEND_ONCE $REMOTE_NAME OK
>> #>          irsend -d /var/run/lirc/lircdSerial SEND_ONCE $REMOTE_NAME OK<<<2
>>           irsend -d ${lirc_socket} SEND_ONCE $REMOTE_NAME OK
>>> sleep 1
>>>         #irsend -d /dev/lircd SEND_ONCE $REMOTE_NAME EXIT
>> #>          irsend -d /var/run/lirc/lircdSerial SEND_ONCE $REMOTE_NAME EXIT<<<3
>>           irsend -d ${lirc_socket} SEND_ONCE $REMOTE_NAME EXIT
>>>     ;;
>>
>>>     *)
>>>         #irsend SEND_ONCE $REMOTE_NAME $cmd
>> #>         irsend -d /var/run/lirc/lircdSerial SEND_ONCE $REMOTE_NAME $cmd<<<4
>>          irsend -d ${lirc_socket} SEND_ONCE $REMOTE_NAME $cmd
>>>         ;;
>>> esac
>>
>>
>>
>> Tot mails,
>>   Hika                            mailto:hikavdh at gmail.com
>>
>> "Zonder hoop kun je niet leven
>> Zonder leven is er geen hoop
>> Het eeuwige dilemma
>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>
>> De lerende Mens
>> --
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.o
>
> I did add "$REMOTE" to your suggestion earlier.

Pardon me, the last message was trimmed and i failed to notice until
now. I just went in and made the change, which answered the question I
had. Your patience and persistence is greatly appreciated and I
actually think I'm learning a thing or two along the way. I'm
recording at the moment but next chance I'll put the path to the
"change-channel.sh"  into the BE and run another test.    Daryl


More information about the mythtv-users mailing list