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

Mark Perkins perkins1724 at hotmail.com
Fri Dec 16 20:29:24 UTC 2016


On 16 December 2016 11:06:32 PM Mark Perkins <perkins1724 at hotmail.com> 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/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.
>
>
>
> _______________________________________________

Sure,  but i am I intrigued that your listing provider (who was your 
listing provider?) is ending (and maybe starting) programs at 1sec before 
the hour. Do all your other programs end at xxxxxxxxxx5959 ie the ones not 
around the end of the year? Or xxxxxxxxxx2959 if ending on the half hour? 
Just curious.




More information about the mythtv-users mailing list