[mythtv] SetChannel before watching LiveTV or recording

Markus Scholz macdanger at web.de
Fri May 9 15:36:39 EDT 2003


Hi all,

I posted it some days ago and Ben Rucksch helped me out a bit (subject:
mythtv forgets to tune in the right channel before recording or livetv).

I changed the channel.cpp like that:

bool Channel::SetChannelByString(const QString &chan)
{
    if (!isopen)
        Open();
    if (!isopen)
        return false;

//    if (curchannelname == chan)
//        return true;

    int finetune = 0;
.
.
.

but this helped only for scheduled recordings. Where must i change
code to do the same thing for LiveTV and manual recording window?

I need mythtv to tune in the current channel every time it uses the
device because externel programs (like nxtvepg) change the channels
without the notice of mythtv. Isaac supposed to change the channels
back, but nxtvepg is a daemon and cycles the channels all the time to
collect epg-data. It releases the device immediately when mythtv grabs
it... but with another channel tuned in as mythtv expects it.

greets markus



More information about the mythtv-dev mailing list