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

Mark Perkins perkins1724 at hotmail.com
Fri Dec 16 12:35:51 UTC 2016


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/mythfilldatabase/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.





More information about the mythtv-users mailing list