[mythtv-commits] Ticket #11758: mythtranscode can not recognice time relative to GMT
MythTV
noreply at mythtv.org
Fri Sep 27 10:17:58 UTC 2013
#11758: mythtranscode can not recognice time relative to GMT
----------------------------------+--------------------------
Reporter: olavjuhl@… | Owner: wagnerrp
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: 0.26.2
Component: Plugin - MythArchive | Version: 0.26
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------
Comment (by John Pilkington <J.Pilk@…>):
Cherry picked from http://www.gossamer-
threads.com/lists/mythtv/users/554104#554104
Thanks John, I tried the patch and got the exact same error and logs as
before the patch. After reviewing the patch, it looks like it might fix
the case where projectX is being used but not mythtranscode. I don't know
anything about projectX so I can't verify that.
I do not really understand perl very well, but looking at the patch gave
me some ideas, and after hacking around a bit I came up with this patch
(attached) that works in my situation of using mythtranscode on a TV
recording. It only changes one line. It works when applied after
Raymond's patch and it also works (in my case) when it is the only patch
applied to the stock mythburn.py.
Thanks,
Ziggy
--- 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):
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11758#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list