PDA

View Full Version : Fun with Tivo Timezones



hawkscorpion
02-09-2004, 05:50 PM
Have been reading on Google and it seems this community has been able to overcome some timezone issues so I'll pose a question. I live in Canada on the east coast. Tivo does not support my timezone. (specifically GMT -3.5hr ) Is there a way to add my timezone to my S1 Phillips Tivo? I'm able to get guide data on my box already, however it's always 1.5 hrs off the mark.

Does your OzTivo image have any tools onboard that will let me manipulate the Tivo's timezone beyond what Tivo Inc coded into the software themselves? It seems to me that there must be some place where the GMT offsets are stored for adjusting the guide data.

elarbee
02-09-2004, 10:25 PM
this is probably better answered by one of the oztivo developers ( im just a leach who enjoys the fruits of their labour :p )

but...

i believe the australian oztivo image doesn't utilise timezones. ours are all set to GMT.

here's the how-to on setting time on a tivo with an oztivo image..
http://minnie.tuhs.org/twiki/bin/view/Hintsortips/SettingTiVoTime

and here's another related how-to
http://minnie.tuhs.org/twiki/bin/view/FAQ/TivoTimeOutByOneHour

i don't know if they'll help you but i hope you find a fix :)

tenty
03-09-2004, 09:18 PM
Ive given up on trying to keep the forum to a "i need help" and "I'm running to your location to help you" kinda forum.

In answer to your question, the time is stored in GMT. The time is then converted, the conventional Linux way, to the timezone which matches where you tell the software you come from. This means, picked up from the TZ or timezone directory and should account for daylight savings etc.

The timezone file then can calcuate what the offset should be, are we in daylight savings or not, and what the date is due to the offsets. Hope this information helps. Don't ask me where the timezone info is stored.

... Google is your friend...

elarbee
03-09-2004, 10:47 PM
Ive given up on trying to keep the forum to a "i need help" and "I'm running to your location to help you" kinda forum.

lol - hang on hawkscorpion im running to your location to help you, i'll be wearing a suit and carrying a breifcase :eek:

hawkscorpion
04-09-2004, 11:31 PM
My apologies for posting in the wrong board. Thought there may have been a few other Canadian Tivo hackers in here. Elarbee.. I hope you can swim, We're both on islands ;)

I'm specifically looking for a way to manipulate the guide offset (The tivo calculates it as seconds from GMT but I don't know how to change it) From what I've read, on the ozTivo image it's stored as an environment variable (TZ to be exact) Am I correct in this assumption? I've tried setting the TZ variable on my standard Tivo image (hacked for bash of course) to -12600 (or -3.5hrs GMT) but it didn't yield anything on my Tivo. I'm thinking that it's probably going to end up being easier for me to mess with my slice files before I put them on the TiVo. I would love to avoid that howerver as it makes my nightly updates difficult.

Cheers.
Tyler

tenty
05-09-2004, 08:34 AM
doing a quick google for "tivo timezone" revealed this link to this information (http://javier.rodriguez.org.mx/tivo/):



To change your TiVo's timezone and date/time follow these steps:

1. Get timezoneadj30.tcl. I don't have access to tivo_canada's archive, so I had to write my own timezoneadj30.tcl.
2. Edit it and change the timezone. It seems that 0=GMT,3=EST
3. Run ./timezoneadj30.tcl

# ./timezoneadj30.tcl

4. Set the clock using settime, e.g.

# settime 20031123025900
# settime -rtc

5. I noticed that if you set the time back, the IR blaster stops working. I'm not proud of my solution.

# reboot


Hope this one helps somewhat as I haven't got a "play" TiVo to test it out on. Just the one production one!
edit (5/9/04): I found a discussion on an old thread: http://forums.oztivo.net/showthread.php?t=57 but I don't see a resolution to it, maybe an idea to follow it up?