[mythtv-users] Schedule offset

Harry Orenstein ho_9 at hotmail.com
Wed Apr 14 11:45:53 EDT 2004


>From: David Hoelzer <dhoelzer at cyber-defense.org>
>Reply-To: Discussion about mythtv <mythtv-users at mythtv.org>
>To: mythtv-users at mythtv.org
>Subject: [mythtv-users] Schedule offset
>Date: Wed, 14 Apr 2004 09:57:09 -0400
>
>Well, I posted this to Dev, but I think that was the wrong place, so let's 
>try here...
>
>I recently began actively using Myth, so that may give you some context.  
>Everything at this point is functioning perfectly (excellent work guys) 
>except for the schedule.  It is being pulled in using tv_grab_na_dd by 
>mythfilldatabase, but the times seem to be shifted by four hours (programs 
>claim that they start 4 hours later than actually scheduled).  I've tried 
>adjusting the schedule offset value in the database to no avail.  This has 
>included:
>
>Stopping and restarting everything after making the change
>Nuking the database and starting from scratch with the database
>Checking out the newest CVS, nuking the database and starting from scratch 
>(several times).
>
>None of these had any noticeable affect on the problem, so I resorted to 
>just setting the system clock ahead four hours.  This is, of course, not 
>the most preferable solution, but it works. ;)
>
>Before I start digging around trying to fix this, I thought I'd ask if 
>anyone has experienced this problem and could point me at where I've gone 
>wrong.
>
>Thanks!
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

tv_grab_na_dd gets listings in GMT.  I assume by the difference
you indicated that you are EDT.  To correct this you need to
add the line "timezone: -0400" to your config file for XMLTV
(should be located in ~/.mythtv).  Of course, this will only work
for the next 6 months or so when the offset will change to
"timezone: -0500". (the timezone setting assumes you have
the latest na_dd grabber, since it is a recent feature change).

I think XMLTV in general is due to switch to GMT for all grabbers
at some point and the na_dd grabber is just telegraphing this
change.  I haven't been checking the MythDev list lately.  Has
anyone discussed storing times internally as GMT and converting
to local time for display within Myth?  This may solve some problems
with the grabber using GMT since 8pm-Midnight gets cutoff and
I have noticed that those 4 hours may be dropped from the
schedule if  I don't update daily.

HTH!!


-- Harry O.

_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN 
Premium! 
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/



More information about the mythtv-users mailing list