[mythtv] Number of channles in Program Guide does not obay it's setting when in Live TV mode. Possible fix?

Zdzislaw Gorlicki zdzisekg at comcast.net
Wed Dec 20 08:45:53 UTC 2006


just as the topic say, when I change the number of channels to be 
displayed in Program Guide from 5 to 6, the setting is not obeyed when 
in Live TV. Looking at the code in guidegrid.cpp, when I commented out 
lines 196 and 197, the problem is fixed. What is the purpose of these 
two lines of code?

Code:
194         int dNum = gContext->GetNumSetting("chanPerPage", 8);
195    
196         if (m_player && m_player->IsRunning() && allowsecondaryepg)
197             dNum = dNum * 2 / 3 + 1;
198    
199         desiredDisplayChans = DISPLAY_CHANS = dNum;

Thanks.


More information about the mythtv-dev mailing list