I'm still having a problem with the tiny sound. I thought I could solve it by varying the sleep (the sleep 7) but this doesn't help as it doesn't tune until after the sleep command. Can someone look at my script and tell me what I need to change?
#Need this or box will miss channels
irsend --device=/dev/lircd1 SEND_ONCE COXSTB exit
for digit in $(echo $1 | sed -e 's/./& /g'); do
irsend --device=/dev/lircd1 SEND_ONCE COXSTB $digit
sleep 0.6 # note, you may have to tweak the interdigit delay up a bit, depending on your DISH receiver model
sleep 7; v4l2-ctl --set-audio-input 1 -d /dev/pvr150 > /dev/null 2>&1