use /etc/adjtime to determine wheter your BIOS time is UTC (man hwclock), or add a switch to local_conf.py, i.e.:
if (config.BIOS_TIME = 'utc') wakeup = time.gmtime(wakeup) else: wakeup = time.localtime(wakeup) or if os.system(`grep -i utc /etc/adjtime > /dev/null 2>&1`): wakeup = time.localtime(wakeup) else: wakeup = time.gmtime(wakeup) and all the above is of course untested :-) ...juerg > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Henrik Farre > Sent: Wednesday, November 16, 2005 3:25 AM > To: [email protected] > Subject: Re: [Freevo-users] wakeupshutdown.py "bug", system > is UTC, BIOS isone hour earlier > > lør, 12 11 2005 kl. 22:54 +0100, skrev Henrik Farre: > > > wakeup_time = start_time - config.TV_RECORD_PADDING - > > config.BOOTTIME_PADDING - 1 > > A fellow Freevo user pointed out to me that the value is in > seconds, so it should be - 3600 and not -1 :) > > -- > Mvh. / Kind regards > Henrik Farre - http://www.rockhopper.dk > ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
