[mythtv] MythTV Multirec Branch...

Simon Levitt maillists at whattf.com
Fri Jul 13 21:54:02 UTC 2007


On Friday 13 July 2007 12:18:07 Simon Levitt wrote:
> Actually I was wrong, the backend isn't triggering auto shutdown any more
> after the end of a recording.
>
> My assumption is that it is the EIT scanner thats keeping it going
> (mythwelcome just reports the MythTV as Idle), feasible?
>
I've found what's keeping my machine alive after finishing a scheduled 
recording.

I ended up putting the following at the end of TVRec::IsBusy():

    if (busy_input->inputid) {
        VERBOSE(VB_IMPORTANT, LOC + "IsBusy: STILL BUSY!!!");
        VERBOSE(VB_IMPORTANT, LOC + QString("IsBusy: 
busy_input %1").arg(busy_input->inputid));
    }

Then right at the end of the only current scheduled recording the following 
happened (it ended at 10pm) I got the following in the logs:

2007-07-13 21:59:59.999 TVRec(1): IsBusy: STILL BUSY!!!
2007-07-13 21:59:59.999 TVRec(1): IsBusy: busy_input 1
2007-07-13 22:00:01.217 TVRec(2): IsBusy: STILL BUSY!!!
2007-07-13 22:00:01.217 TVRec(2): IsBusy: busy_input 2
... etc ...

Don't quite understand what is going on in the code, I have the -v all logs 
over the transition if that'll help someone...

Any ideas?

Thanks,

Simon.,


More information about the mythtv-dev mailing list