Noticed a side effect of the change in the code today. I've my box setup to wake up at 5am, update the EPG using XMLTV grabber then go back into standby. However the script is sending a restart to the app keeping it alive and hence delaying the standby for up to an hour. Log below:
15/04/2008 4:58:07.67 standby status is 0x00000012
15/04/2008 4:58:07.76 gbpvr_monitor woke from standby
15/04/2008 4:58:09.51 GBPVR restarted
15/04/2008 4:58:20.79 Ir.exe killed
15/04/2008 4:58:21.43 Ir.exe restarted
15/04/2008 5:06:49.95 GBPVR killed due to no active window
15/04/2008 5:06:49.98 GBPVR restarted
15/04/2008 5:13:23.54 GBPVR killed due to no active window
15/04/2008 5:13:23.59 GBPVR restarted
15/04/2008 5:16:52.82 GBPVR killed due to no active window
15/04/2008 5:16:52.89 GBPVR restarted
15/04/2008 5:21:55.62 GBPVR killed due to no active window
15/04/2008 5:21:55.65 GBPVR restarted
15/04/2008 5:39:34.48 GBPVR killed due to no active window
15/04/2008 5:39:34.59 GBPVR restarted
15/04/2008 5:54:36.79 GBPVR killed due to no active window
15/04/2008 5:54:36.85 GBPVR restarted
15/04/2008 6:09:32.81 standby status is 0x00000000
15/04/2008 6:09:33.01 standby status is 0x00000004
Any thoughts? The gaps between the timestamps seem pretty odd?
Couple of things just occured to me. It's checking 6 times for the "no active window" consistent with $IR_retry_count = 6 in the script. I've also got $Sleep_Interval = 360000 ie 6 mins vs your script using 2mins I think. But only the first couple of gaps seem to be 6 mins, then it gets wider and wider?!
15/04/2008 4:58:07.67 standby status is 0x00000012
15/04/2008 4:58:07.76 gbpvr_monitor woke from standby
15/04/2008 4:58:09.51 GBPVR restarted
15/04/2008 4:58:20.79 Ir.exe killed
15/04/2008 4:58:21.43 Ir.exe restarted
15/04/2008 5:06:49.95 GBPVR killed due to no active window
15/04/2008 5:06:49.98 GBPVR restarted
15/04/2008 5:13:23.54 GBPVR killed due to no active window
15/04/2008 5:13:23.59 GBPVR restarted
15/04/2008 5:16:52.82 GBPVR killed due to no active window
15/04/2008 5:16:52.89 GBPVR restarted
15/04/2008 5:21:55.62 GBPVR killed due to no active window
15/04/2008 5:21:55.65 GBPVR restarted
15/04/2008 5:39:34.48 GBPVR killed due to no active window
15/04/2008 5:39:34.59 GBPVR restarted
15/04/2008 5:54:36.79 GBPVR killed due to no active window
15/04/2008 5:54:36.85 GBPVR restarted
15/04/2008 6:09:32.81 standby status is 0x00000000
15/04/2008 6:09:33.01 standby status is 0x00000004
Any thoughts? The gaps between the timestamps seem pretty odd?
Couple of things just occured to me. It's checking 6 times for the "no active window" consistent with $IR_retry_count = 6 in the script. I've also got $Sleep_Interval = 360000 ie 6 mins vs your script using 2mins I think. But only the first couple of gaps seem to be 6 mins, then it gets wider and wider?!