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

John Pilkington J.Pilk at tesco.net
Tue Nov 19 13:57:10 UTC 2013


On 19/11/13 13:21, Zig wrote:
>
> 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.

Agreed.  The bad xml/EoL format caused a failure /before/ mythtranscode 
was called.  With that corrected, the format passed to mythtranscode 
included the TZoffset that /it/ didn't understand.  Your patch, below, 
cured that.   I still don't know why Mark had the xml/EoL problem and 
you don't.
>
> 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
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>



More information about the mythtv-users mailing list