[mythtv-users] Serial Perl Script - Channel Change Verification

mian mythtv at mian.net.au
Mon Feb 2 18:28:42 EST 2004


maybe something like

power_on();

my($trys) = 0;
while ($trys++ < 2 && get_channel() != $channel)
{
  set_channel($channel);
  # maybe a small delay/sleep here so it doesn't retry IMMEDIATELY
}

>
> - First turn on the receiver power - power_on
> - Next check the current channel against the channel submitted
>    | - if the channels are different then proceed, else exit
>
> - Then change the channel like normal
>
> - After that check the current channel against the channel submitted
>    | - if the channels are different then start over but do not repeat
> this
> step more than once
>



More information about the mythtv-users mailing list