« More WiRNS UpdatesPersonal ReplayGuide Lives! »

Need to get back on local time....


  01:38:16 am, by The Dreamer   , 495 words  
Categories: ReplayTV, Software

Need to get back on local time....

....for getting to sleep, I think. :yawn:

I've been trying, but it is hard to go to bed when I'm not tired...and then I somehow manage to get busy that I forget that I should.

Today, it was yet another Zap2it related code change....this time in WiRNS. To tweak the GuideUpdateTimer scheduling to use suggestedTime, in a better fashion.

The old code, just has HH:mm for when to do an update...and the quick change was to hack this portion out of suggestedTime and set the next update time to this.

The problem is that if it does an update at say: "2006-02-14 13:34:30" and after 'acknowledge'ng the 'download' it suggests "2006-02-15 18:09:08"...WiRNS would just take the "18:09" and try to update this this time rolls around....less than 5 hours after the last update :!:

I know Zap2it returns Zulu time, but I made an adjustment, yesterday, to convert this to local time. I also made a change so that it gets both blockedTime and suggestedTime from the response to 'acknowledge', but blockedTime isn't being used anywhere...though if it was, it would probably be applied as a constraint to using the manual guide update.

So without making too extensive of a change to the code...I added a check that if what GuideUpdateTime thinks should be the next update time is on the same day as the last update, then it should really be looking for that time the day after the last update.

Pages: 1·

No feedback yet

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop


There are 18 years 8 months 26 days 4 hours 20 minutes and 22 seconds until the end of time.
And, it has been 6 years 4 months 1 day 9 hours 42 minutes and 34 seconds since The Doctor saved us all from the end of the World!


April 2019
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          


  XML Feeds

Who's Online?

  • Guest Users: 0
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by b2evolution free blog software

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime