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

Ian Campbell ijc at hellion.org.uk
Fri Dec 16 07:38:16 UTC 2016


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.


More information about the mythtv-users mailing list