[mythtv-users] Mythwelcome not shutting down after DailyWakeupEndPeriod1
Bryan Bennetts
bbennetts at blueyonder.co.uk
Fri Sep 22 10:56:16 UTC 2006
Hey all,
I have MythFillEnabled set and the min and max hours set to the wee hours of
the morning. If my combined FE-BE machine is left on overnight the fill runs
fine.
Since I have a combined FE-BE I use mythwelcome and I have tried setting the
start and end periods so the machine will wake up and for the database fill
and then shutdown, however the shut down does not seem to be working - the
machine just sits there with a 'Mythtv is Idle' status.
when outside of the wakeup period mythshutdown -v all -s returns :
2006-09-22 11:46:49.113 Mythshutdown: --status
2006-09-22 11:46:49.147 MSqlQuery: SELECT data FROM settings WHERE value =
'MythShutdownLock' AND hostname IS NULL;
2006-09-22 11:46:49.148 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupStartPeriod1' AND hostname IS NULL;
2006-09-22 11:46:49.149 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupEndPeriod1' AND hostname IS NULL;
2006-09-22 11:46:49.149 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupStartPeriod2' AND hostname IS NULL;
2006-09-22 11:46:49.150 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupEndPeriod2' AND hostname IS NULL;
2006-09-22 11:46:49.151 Mythshutdown: --status returned: 0
and idleTimeoutSecs is set to 15, which implies from the test in
updateStatusMessage() line 635 :
<snip>
if (m_statusList.count() == 0)
{
if (m_bWillShutdown && m_secondsToShutdown != -1)
<snip>
that m_secondsToShutdown == -1, because a SHUTDOWN_COUNTDOWN is not being
received. Now , in my log I have the worrying line :
2006-09-22 10:40:51.188 Seem to be woken up by USER
Which makes me think that mythtv thinks its been envoked by a user and so will
not automagically shutdown (I think I've seen some code implying it blocks
this on user startup).
Mythtv version is Gentoo 0.20_p11244
Any ideas?
Thanks in advance,
Bryan.
More information about the mythtv-users
mailing list