[mythtv-users] Smoothing out the channel change script

Michael T. Dean mtdean at thirdcontact.com
Tue Nov 14 04:11:13 UTC 2006


On 11/13/2006 11:00 PM, Viitasaari wrote:
> On Mon, 2006-11-13 at 19:36 -0800, Brad DerManouelian wrote:
>   
>> On Nov 13, 2006, at 7:01 PM, Viitasaari wrote:
>>> Anyone have any ideas on how to smooth out the change channel script?
>>>
>>> It doesn't work very nicely.
>> Which channel change script?
Re-read this next question...
>>  How does it not work very nicely? 
>>     
Again, re-read the previous question...
>> Did 
>> you really expect someone to be able to answer that question based on  
>> the message you posted?
> My apologies:
>
> #!/bin/sh
> REMOTE_NAME=301/501/3100/5100/58xx/59xx
> for digit in $(echo $1 | sed -e 's/./& /g'); do
> irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME $digit
> sleep 0.4 # note, you may have to tweak the interdigit delay up a bit
> done
> irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME select

Now you're half-way there... 

Mike


More information about the mythtv-users mailing list