Mailing List Archive

EPG breaks at > 255 channels
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
Re: EPG breaks at > 255 channels [ In reply to ]
On Friday 22 November 2002 10:21 am, Erik Arendse wrote:
> 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.

Already fixed this last night.

Isaac