[mythtv-users] Feature Request: Force external channel changer to always change channel

Isaac Richards ijr at po.cwru.edu
Tue Jul 1 18:05:18 EDT 2003


On Tuesday 01 July 2003 04:31 pm, John Klimek wrote:
> I'm not sure how many people have this problem, but I use my satellite
> receiver to watch TV and then when I'm not home, MythTV records off of it
> (using my external channel changer [rca.pl]).
>
> The problem is that sometimes I will turn off my satellite receiver and it
> will be on channel 309 (for example).  However, MythTV thinks the receiver
> is still on channel 354 because that is what it last changed it to.
>
> Would it be possible to add a "Force external chanel changer to always
> change channel" option to the mythtv setup?

It's been doing this since June 23:

----------------------------------------------------------------------------
Changes committed by ijr on Mon Jun 23 17:03:41 2003

Modified Files:
   in mythtv/libs/libmythtv:
        channel.cpp channelbase.cpp programinfo.cpp 
Log Message:
Always switch channels if asked.
----------------------------------------------------------------------------

> As far as the code, I'm fairly sure that I found where the problem is...
> channel.cpp, line 376.  (inside of void Channel::SwitchToInput).
>
> The first statement,  if (newcapchannel == currentcapchannel)  return;

That's switching inputs on the capture card, not channels.  Removing that line 
would have absolutely no affect on it changing the channels or not.

Isaac


More information about the mythtv-users mailing list