Using TiVo Software 7.1a-2-2-240 on an SAS2.
1. tzoffset.tcl returns an error:
Code:
invalid attribute: DaylightSavingsPolicy
while executing
"dbobj $lconfig get DaylightSavingsPolicy"
invoked from within
"if {$::version3} {
set lconfig [db $db open /State/LocationConfig]
set setup [db $db open /State/ServiceConfig]
if { [string range $tivoswversi..."
Rest of error snipped.
Simple enough to fix - Changed DaylightSavingsPolicy to UseDaylightSavings.
2. After the above tweak, tzoffset.tcl is returning a strange value:
# <tzoffset>-77760000</tzoffset>
set info(tzoffset) -77760000
This was an oddity - but, I think it was probably happening on 4.0.1b as well (since the times were always skewed by a large amount, but I never really looked into why). The script is expecting a timezone offset in hours different from GMT. The value actually in the object dump is already in seconds.
Code:
LocationConfig 3237/10 {
AutoDetect = 3
IndexPath = /State/LocationConfig
PostalCode = 58701
TimeZoneOffset = -21600
UseDaylightSavings = 1
Version = 11
}
Didn't look into fixing this. Just corrected the value in tzoffset.txt that's generated when .tcl is run. As i understood it, if the file exists, it'll be used instead of running the tcl.