[mythtv] EPG breaks at > 255 channels

Erik Arendse mythtv-dev@snowman.net
Fri, 22 Nov 2002 16:21:02 +0100


At 22-11-02 15:47, you wrote:
>Lets say that for example I'm watching channel 220, I press m and go to 
>240 and press m again. Works fine. Then I press m again go to 256 and 
>press m, It stays at channel 220 and apparently does nothing. It doesn't 
>show the channel info for the channel 220 nor 256, it does not try to run 
>my changechannel script (that controls the channels for DTV), it does nothing.
>
>Roberto

OK, you found a bigbadbug I think.

The EPG is called using a system() call, and WEXITSTATUS() is used to get 
the returned channelrow.
The exitcode of mythepg falls over at channel 256 and higher...

Isaac: can you confirm this is the case, if so, turn the systemcall into a 
direct call of the guidegrid?

I can't help any further because I don't have a TV card here and can only 
check the EPG, not channelswiching.

Erik