User:Mythtified
From MythTV
Using Myth 0.20 in Fredericton, New Brunswick - Canada.
Fedora Core 6 - custom kernel 2.6.20.3
[edit]
Useful links
- QAM Layout - My channels.conf
- HD-3000 DMA Sound - Modified my kernel for HD-3000 DMA sound for analog tuner.
[edit]
Channel change script modification
My DCT2524 will pause for a moment when changing channels if I don't provide 3 digits. Entering "008" changes the channel much quicker than just entering "8". I modified the script from the contrib directory slightly to always enter 3 digits. My box seems to work best with a delay of about 0.3 seconds between each number being sent (via IR blaster). Here is my script:
#!/bin/sh
REMOTE_NAME=DCT2524
cmd="$1"
SLEEPTIME=0.3
case $cmd in
[0-9]*)
# Enter some zeros first if needed - send 3 digits total
nums=`echo $cmd | wc -c`
if [ $nums -le 3 ]; then
irsend SEND_ONCE $REMOTE_NAME 0
sleep $SLEEPTIME
fi
if [ $nums -le 2 ]; then
irsend SEND_ONCE $REMOTE_NAME 0
sleep $SLEEPTIME
fi
for digit in $(echo $1 | sed -e 's/./& /g'); do
irsend SEND_ONCE $REMOTE_NAME $digit
sleep $SLEEPTIME
done
;;
*)
irsend SEND_ONCE $REMOTE_NAME $cmd
;;
esac
