<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Unfortunately, I am not at home to get the settings from the backend but I can get the<br>database entries:<br><br>| idleTimeoutSecs | 600 | <br>| idleWaitForRecordingTime | 20 |<br>| StartupSecsBeforeRecording | 300 | <br>| WakeupTimeFormat | time_t | <br>| SetWakeuptimeCommand | /usr/local/bin/nvram-wakeup -C /etc/nvram-wakeup.conf -w 0 -l -s $time | <br>| ServerHaltCommand | /usr/local/bin/mythtv_shutdown |<br>| preSDWUCheckCommand | mythshutdown -v all --check |<br><br>Below are the database entries for mythwelcome:<br><br>| MythShutdownNvramCmd | /usr/local/bin/nvram-wakeup -C /etc/nvram-wakeup.conf -l -w 0 -s $time |<br>| MythShutdownWakeupTimeFmt | time_t |<br>| MythShutdownNvramRestartCmd | /usr/local/bin/grub-set-reboot | <br>| MythShutdownReboot | /sbin/reboot |<br>| MythShutdownPowerOff | /sbin/poweroff |<br>| MythShutdownXTermCmd | gnome-terminal | <br>| MythWelcomeStartFECmd | /usr/bin/mythfrontend | <br><br>----- Original Message -----<br>From: "Roy Lofthouse" <lofty69@gmail.com><br>To: "Discussion about mythtv" <mythtv-users@mythtv.org><br>Sent: Wednesday, October 7, 2009 1:18:00 PM GMT -08:00 US/Canada Pacific<br>Subject: Re: [mythtv-users] Mythwelcome always starts the frontend<br><br>2009/10/7 <voidtrance@comcast.net>:<br>> It looks like mythshutdown thinks that the box was started manually:<br>><br>> 2009-10-07 12:05:04.477 Using runtime prefix = /usr<br>> 2009-10-07 12:05:04.477 Empty LocalHostName.<br>> 2009-10-07 12:05:04.477 Using localhost value of mythtv.voidtrance.net<br>> 2009-10-07 12:05:04.478 MCP::DefaultUPnP() - No default UPnP backend<br>> 2009-10-07 12:05:04.490 New DB connection, total: 1<br>> 2009-10-07 12:05:04.496 Connected to database 'mythconverg' at host:<br>> localhost<br>> 2009-10-07 12:05:04.497 Closing DB connection named 'DBManager0'<br>> 2009-10-07 12:05:04.497 Clearing Settings Cache.<br>> 2009-10-07 12:05:04.497 Enabling Settings Cache.<br>> 2009-10-07 12:05:04.497 Clearing Settings Cache.<br>> 2009-10-07 12:05:04.497 Mythshutdown: --startup<br>> 2009-10-07 12:05:04.497 Connected to database 'mythconverg' at host:<br>> localhost<br>> 2009-10-07 12:05:04.498 MSqlQuery: SELECT data FROM settings WHERE value =<br>> 'MythshutdownWakeupTime' AND hostname IS NULL;<br>> 2009-10-07 12:05:04.499 looks like we were started manually1<br>> 2009-10-07 12:05:04.499 Mythshutdown: --startup returned: 1<br>><br>> It looks like mythshutdown (or the backend) never actually insert any values<br>> in the MythshutdownWakeupTime row in<br>> the settings table.<br>> I thought I had configured my backend and mythwelcome correctly for the<br>> autoshutdown and wakeup (and it sees so<br>> because it does wakeup when it should) but something must be wrong.<br>><br>><br>> ----- Original Message -----<br>> From: "Roy Lofthouse" <lofty69@gmail.com><br>> To: "Discussion about mythtv" <mythtv-users@mythtv.org><br>> Sent: Wednesday, October 7, 2009 12:02:07 PM GMT -08:00 US/Canada Pacific<br>> Subject: Re: [mythtv-users] Mythwelcome always starts the frontend<br>><br>> 2009/10/7 <voidtrance@comcast.net>:<br>>> Yes, it is. However, according to the little help text that shows up when<br>>> the option is highlighted,<br>>> mythwelcome should only start the frontend if it determines that the<br>>> machine<br>>> was started manually<br>>> (and not because there is a recording about to start).<br>>> The problem is that it always thinks that it has been started manually.<br>>><br>>><br>>> ----- Original Message -----<br>>> From: "Roy Lofthouse" <lofty69@gmail.com><br>>> To: "Discussion about mythtv" <mythtv-users@mythtv.org><br>>> Sent: Wednesday, October 7, 2009 10:44:35 AM GMT -08:00 US/Canada Pacific<br>>> Subject: Re: [mythtv-users] Mythwelcome always starts the frontend<br>>><br>>> 2009/10/7 <voidtrance@comcast.net>:<br>>>> I have noticed that no matter whether my myth box has been started<br>>>> manually<br>>>> or automatically, mythwelcome<br>>>> always starts the frontend. Of course, this prevents the autoshutdown<br>>>> from<br>>>> executing once the recording is done<br>>>> so I am hoping that someone can help me solve my problem.<br>>>><br>>>> I have configured my backend to not wait for a connection before<br>>>> autoshutdown because I want it to be able to<br>>>> wake-up in the middle of the night (for example), record my show, and<br>>>> then<br>>>> shutdown again. I have also configured<br>>>> mythwelcome to start the frontend automatically when it determines that<br>>>> the<br>>>> machine has not been woken up<br>>>> for a recording.<br>>>> Unfortunately, mythwelcome always thinks that the machine has been<br>>>> manually<br>>>> started.<br>>>><br>>>> Is there any advice that anyone can give me? Thank you.<br>>>><br>>>> -- Mitko<br>>>><br>>>> _______________________________________________<br>>>> mythtv-users mailing list<br>>>> mythtv-users@mythtv.org<br>>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br>>>><br>>>><br>>><br>>> There's an option in mythfrontend settings (Menu or Info button) to<br>>> auto start frontend.. is that checked?<br>>> _______________________________________________<br>>> mythtv-users mailing list<br>>> mythtv-users@mythtv.org<br>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br>>><br>>> _______________________________________________<br>>> mythtv-users mailing list<br>>> mythtv-users@mythtv.org<br>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br>>><br>>><br>><br>> sorry you did say that in your original post..<br>><br>> never noticed the text before.. I have mine unchecked on my server,<br>> try unchecking it and then running mythshutdown -p -v all on your<br>> client and see what value it is returning (never actually ran this on<br>> a frontend only so not sure if it will work)..<br>> _______________________________________________<br>> mythtv-users mailing list<br>> mythtv-users@mythtv.org<br>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br>><br>> _______________________________________________<br>> mythtv-users mailing list<br>> mythtv-users@mythtv.org<br>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br>><br>><br><br>Sounds odd, can you post the settings from your backend and<br>mythwelcome and I'll compare it with mine.<br>_______________________________________________<br>mythtv-users mailing list<br>mythtv-users@mythtv.org<br>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br></div></body></html>