Originally Posted by
Warren Toomey (from OzTivo)
Date: Wed, 9 Jun 2004 21:43:51 +1000
From: Warren Toomey <wkt@tuhs.org>
Subject: [oztivo] Solution found to recent guide problems
To: Wktivoguide Owner <oztivo@minnie.tuhs.org>
All, I believe I have found a solution to the problem of missing
TV guide data on the TiVos. Right now, everybody doing a Daily Call
to the Emulator on minnie should have guide data up to Monday 14th
June. If you don't, please tell me your TiVo's unique number and
I'll fix it so that your next Daily Call will get all the data.
For those people interested in the cause of the problem, read on.
Here's how the Emulator on minnie works. Your TiVo connects to the
Emulator, tells it what "headends" the TiVo has, and asks for new
guide slices. The Emulator looks up the last time that your TiVo
connected, and sends the TiVo a list of slices newer than the
previous connection.
Now, because the TiVo software is brain-dead when it comes to
timezones, all ozTiVos actually run as if they were in the GMT
timezone; we have to do some magic around the daylight saving
changeovers, but that's not relevant here.
What is relevant is that your TiVo sends in the time of the current
connection as the number of seconds since Jan 1, 1970. But, because
the TiVo is set up to be in the GMT timezone, this number is actually
8 to 10 hours _ahead_ of the real time on that TiVo.
Aside: Here's an example. Right now my TiVo is saying 9:30pm
Wed 9th June 2004. So is my wall clock. But remember that
the TiVo thinks its in England, and right now it's only
11:30am there (ignoring daylight saving). When it is _really_
9:30pm in England, it will be 7:30am Thu 10th June here!
So, when the TiVo connects to the Emulator, the Emulator actually
records that the connection was 8 to 10 hours in the future. So,
if your TiVo happens to do a Daily Call in the 8 to 10 hours before
the new slices become available, then a) it won't get them as they
don't exist yet and b) will be recorded as connecting in after the
slices became available, so the TiVo must already have them!
The solution is for the Emulator to completely ignore the timestamp
that the TiVo sends in, and simply record the actual connection
time. When the TiVo phones home next time, the last connection is
correctly retrieved, and any new guide slices since then can be
downloaded. I've made this change to the Emulator on minnie, and
hopefully this will fix the problem.
While diagnosing the problem, I counted the number of TiVo unique
ids and timestamps currently known by the Emulator. At present 286
different TiVos are making Daily Calls to the Emulator on minnie.
That's an impressive number!
Cheers all,
Warren
Bookmarks