[mythtv-users] Scheduled recordings dropping first digit of channel number

Robin Gilks g8ecj at gilks.org
Tue May 8 02:22:45 UTC 2007


> Frequently , a  scheduled recording, records the wrong channel.
> I have Dish network satellite with the JVC satellite receiver. The
> satellite receiver is controlled by an ir-blaster connected to a serial
> port.
>
> It looks like, at times, the first digit of a three digit channel number
> it dropped. For instance, the movie is on channel 139; only the "39" is
> received by the satellite receiver; there is no channel 39 - the next
> higher available channel is 43, channel 43 is what is recorded.
> Here is the channel change script I am using;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> #!/bin/sh
> REMOTE_NAME=dish
> for digit in $(echo $1 | sed -e 's/./& /g'); do
> irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME $digit
> sleep 0.4 # note, you may have to tweak the interdigit delay up a bit
> done
> irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME select
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> How can I correct this?

Check manually to see if you STB will accept a leading '0' character -
then if it does, change the script to output a '0' before each channel
number string... Makes no difference if it gets dropped then!!

-- 
Robin Gilks




More information about the mythtv-users mailing list