[mythtv-users] Archive to DVD - time format error

Zig jzigpublic at gmail.com
Tue Nov 19 13:21:00 UTC 2013


On 11/19/2013 2:37 AM, John Pilkington wrote:
> On 19/11/13 06:34, Jay Ashworth wrote:
>> ----- Original Message -----
>>> From: "Mark E. Mallett" <mem at mv.mv.com>
>>
>>> <starttime>
>>> 2013-11-14T18:14:00-05:00
>>> </starttime>
>>
>> Is that actually a valid format?  I don't expect a colon in the 
>> TZoffset.
>>
>> [ looks ]
>>
>> I see that 8601 permits that in the ASCII representation, but is it 
>> possible
>> that the code parsing it is unhappy about it?
>>
>> Cheers,
>> -- jra
>>
>
> It's now clear that the TZoffset wasn't the problem. That was the 
> presence of (End-of-Line) etc characters.  This bit is working in 
> current tests - but the fix hasn't been committed yet.
>
> John P
Not exactly true.  Mark still needed to apply the TZoffset patch after 
fixing the EOL characters to get it all working. Mythtranscode does not 
seem to understand having a timezone offset appended to the command line.

And by the way, the currently committed TZoffset patch that was just 
pushed to master and fixes is still missing one of the corrections. The 
following one line patch still needs to be applied to the currently 
shipping mythburn.py to make it work:

______________________________________________
--- mythburn.py    2013-09-23 18:09:40.000000000 -0500
+++ mythburn.py.zig    2013-09-26 07:50:53.479406824 -0500
@@ -1426,7 +1426,7 @@
          data.description    = rec.description
          data.rating         = str(rec.stars)
          data.chanid         = rec.chanid
-        data.starttime      = rec.starttime.isoformat()
+        data.starttime      = rec.starttime.utcisoformat()

          cutlist = rec.markup.getcutlist()
          if len(cutlist):
______________________________________________
Ziggy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131119/344963c0/attachment.html>


More information about the mythtv-users mailing list