[mythtv-users] Mythbackend not doing auto-shutdown

Graeme Wilford gwilford at gmail.com
Tue Dec 19 19:34:58 UTC 2006


On 19/12/06, David Watkins <watkinshome at gmail.com> wrote:
> On 19/12/06, Phill Edwards <philledwards at gmail.com> wrote:
> > > I'm running MythTV 0.20 installed from ATrpm binary packages. I've
> > > noticed recently that mythbackend isn't going into auto-shutdown when
> > > it should be. It used to work and I don't know what's changed
> > > recently. If I restart the mythbackend service it immediately goes
> > > into auto-shutdown.
>
> The only thing that ever caused me problems is when mtd is left
> running (following ripping or transcoding I think).  Manually killing
> mtd caused the idle shutdown to be initiated.

I was having these problems:

1) In 0.19 and 0.20, the auto-shutdown doesn't kick-in if any
'potential' recordings rather than 'actual' recordings are scheduled
within idleWaitForRecordingTime minutes. Depending on the value you
use for this, how many recording rules you have and how much gets
picked up, you may not even notice.
2) In 0.20, there's a strange interaction between tvwish and
mythbackend where tvwish's connection status isn't removed after it
disconnects, ie. mythbackend still registers as having a frontend
connected and won't shutdown after tvwish has been run.

I've fixed (1) and have a patch for it. Although not the latest
version, the patch should be in the mailing list archives. For (2),
after adding gobs of extra debugging to the scheduler, I still
couldn't see what tvwish was doing differently to mythfrontend in
terms of connecting and disconnecting and have had to disable it for
now...

Cheers,
Wilf.
-- 
Me at google | MythTV blog: http://mezzanines.blogspot.com/


More information about the mythtv-users mailing list