[mythtv-users] mythfilldatabase: Ignoring unknown timestamp format: 20161231235960

Ian Campbell ijc at hellion.org.uk
Fri Dec 16 13:01:33 UTC 2016


On Fri, 2016-12-16 at 12:35 +0000, Mark Perkins wrote:
> On 16 December 2016 6:08:46 PM Ian Campbell <ijc at hellion.org.uk>
> wrote:
> 
> > 
> > Just a heads up since I'm getting a bunch of these from my daily
> > mythfilldatabase runs, looks like it is unhappy with the upcoming
> > leap
> > second. Seems like it might also prevent it from inserting all the
> > other data too and not just the one bad program.
> > 
> > The message appears to come from
> > https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythfi
> > lldatabase/xmltvparser.cpp#L170
> > so it seems to be a QDateTime issue.
> > 
> > http://doc.qt.io/qt-5/qdatetime.html says:
> > 
> >     Note: QDateTime does not account for leap seconds.
> > 
> > I worked around it by inserting
> >     | sed -e 's,"20161231235960 +0000","20161231235959 +0000",g'"
> > into my tv_grab wrapper script.
> > 
> > Ian.
> > 
> 
> Wouldn't the correct time be 20170101000000? I assume that's what the start 
> time of the subsequent program is assuming you are getting the incorrect 
> datetime value in endtime tags.

I couldn't muster up the enthusiasm to care about 1s either way and
this required less brain power and characters changed.

Ian.


More information about the mythtv-users mailing list