[mythtv] Re:Problem changing channels .. (solution & suggestion)

James Sleeman bitsy_boffin at cyberdude.com
Tue Feb 18 22:11:37 EST 2003


source wrote:

>James,
>I think I've found the problem, in the constructor in channel.cpp the default 
>value for curchannelname is a zero length string which stops channeldown/up 
>getting the current channel number and being able to inc/decrement from it. 
>Using the MythEPG to change channel sets a value for curchannlename and 
>everything works from then on until the backend is restarted.
>
>If you try hardcoding a value for this in Channel::Channel() ie the name field 
>from table channel corrosponding to your default channel number and recompile 
>it should be ok. If this works for you as well I will look into supplying a 
>patch.
>  
>
Seems to fix it (so far), yes, I didn't have the energy to decipher the 
source to see why, but I'll take your word for it :-)



More information about the mythtv-dev mailing list