LinHES Forums
http://forum.linhes.org/

myth_status.py calculations off by an hour
http://forum.linhes.org/viewtopic.php?f=21&t=24767
Page 1 of 1

Author:  knappster [ Sat Jun 16, 2018 11:51 am ]
Post subject:  myth_status.py calculations off by an hour

I'm currently running 8.5.1 testings repos, but I am pretty sure the problem existed earlier. When I login via ssh it shows the tuner status, upcoming recordings, etc and then the time until the next recording. This time is an hour below what it should be. Sometimes the time until the next recording is displayed as a negative value, even though nothing recorded recently and the next recording is within an hour. I noticed an earlier post where someone was having timezone issues after upgrading to R8, but this was reflected elsewhere in his issue. For me, I see the correct time in mythweb and when I type
Code:
date
into a shell. Is there some sort of DST issue with this script? I seem to remember seeing some myth_mtc log message about an upcoming recording that appeared to be wrong, too, so I am concerned that their could be some checks that are calculating incorrectly on my machine, which could lead to future problems.

Author:  brfransen [ Sun Jun 17, 2018 6:28 pm ]
Post subject:  Re: myth_status.py calculations off by an hour

Think I found the issue. It is with timezone and DST math in the script. Should have it fixed soon.

Author:  knappster [ Sat Jun 30, 2018 2:13 pm ]
Post subject:  Re: myth_status.py calculations off by an hour

I updated from the testing repo today and this appears to be resolved now.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/