[mythtv-users] Issue: User jobs, mythlink, and Timezone

Michael mythtv at blandford.net
Mon Dec 14 20:58:19 UTC 2015


Hello,

Fedora 23 on x86_64 + mythtv 0.27.5-2  from rpmfusion

I am trying to set up a myth user job to run mythlink when an individual 
recording is complete.  However, I am having an issue that appears to be 
timezone related.

In the job, I pass the chanid and the starttime values.

For example, I recorded the Robot Chicken Christmas Special.

What was passed to the user job was: 9296 for chanid and 20151213215800 
for the starttime.  When mythlink.pl runs, it does a sql query for a 
show that was recorded on that chanid and starttime and fails to find 
anything and no links are created.

Looking in the database for this recording, I see that actual start time 
is 2015-12-14 04:58:00.  This is a difference of 7 hours.  I happen to 
live in UTC -7.  So it looks like a timezone issue.

If I run my user job again by hand, but modify it to pass the starttime 
+ 7 hours, then mythlink runs and finds the show and the appropriate 
link is created.

I am not sure how to fix this.  Any suggestions?

Michael





More information about the mythtv-users mailing list