SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-03-2004, 08:39 PM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
Guide download time?

It seems by default that my installation of SageTV downloads guide info from Zap2It at 5:55PM every day. It's annoying, because it causes the cpu load to go to 100% (soon to be upgraded), and I get freezes and once a lock-up. Can I set the download to occur early morning (3 AM?) while SageTV sleeps and I'm not watching anything?
Thanks,
Rob
Reply With Quote
  #2  
Old 06-03-2004, 08:54 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
I don't know if you can change the time directly, but there is a way to do this indirectly. You can manually force a guide update by going to SETUP, then to Channel setup. Enable a channel then disable it and exit out of Channel Setup, this will immediately cause the guide data to update.

Give it a few seconds and you will be able to see in System Information that the last update was at the time you enable/disabled the channel and that the next update will be 24 hours from that time.

So my suggestion is that if that if no one else can provide another solution, is to do this. It's simple, you just have to manually invoke the update at the time you'd like updates to occur daily. : )
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess
Reply With Quote
  #3  
Old 06-03-2004, 08:59 PM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
It's as easy as that? If I force a download at 3 AM, the future downloads will be at the same time? Looks like I stay up late tonite!
Thanks,
Rob
Reply With Quote
  #4  
Old 06-03-2004, 09:06 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
Yeah, it's easy as that to force an update....kinda trixy. Since you forced the update, Sage won't do the next automatic update for another 24hour from that point.

I hope there will be a way in Studio to quickly refresh the guide. I often times like to refresh the guide data when my scheduled recordings don't look right....I just like to verify the epg data is correct.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess

Last edited by Alex0230; 06-03-2004 at 09:08 PM.
Reply With Quote
  #5  
Old 06-03-2004, 09:08 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
There is some good info in the FAQ, such as: an answer to this very question.

However, this helps bring up an interesting point: my server properties file contains the following line:

epg_data_sources/80388/last_run=1086317254204

I haven't looked into it, but maybe someone knows how to decode that time value. Then, _perhaps_ you could set the last guide update to any time you want after exiting SageTV, so you won't _have_ to stay up until 3 AM!

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #6  
Old 06-03-2004, 09:31 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
This looks like epoch time (the number of seconds from Jan 1 1970)....but in milliseconds. Good suggestion Andy...here's what you could do. Take your current "expanded" time....and add to it.

My "expanded" update time right now is roughly 8:24PM, so if I want to take past 3am, I would add 7 hours.

That's 420 minutes....which is 25200 seconds...which is 25200000 milliseconds. So if I add 25200000 to expanded_until...this will set it to go for 3:24am instead of 8:24PM.

Current Sage.Properties:
epg_data_sources/12805/expanded_until=1086405826978
epg_data_sources/12805/last_run=1086319426978

Adjusted Sage.Properties:
epg_data_sources/12805/expanded_until=1086431026978
epg_data_sources/12805/last_run=1086319426978 [stayed the same]

Sure enough, this is what I did and verified that my next EPG update was for 1 day and 7 hours. : )

Reminder: You have to do this when sage is closed because you can't adjust your properties file when sage it open. : )

EDIT
I changed my wording above...where I had, "extended", I meant to say "expanded"....I apologize if this confused anyone.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess

Last edited by Alex0230; 06-03-2004 at 10:04 PM.
Reply With Quote
  #7  
Old 06-03-2004, 09:50 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
Quote:
Originally posted by Alex0230
This looks like epoch time (the number of seconds from Jan 1 1970)....but in milliseconds. Good suggestion Andy...here's what you could do. Take your current "extended" time....and add to it.
My reaction: both (duh) and (lol). I knew it was in milliseconds, but I can't figure out _why_ it didn't dawn on me to simply add to the value!! Oh well... thanks for the reminder.

Off to play with some values before I make further comments...

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #8  
Old 06-03-2004, 10:03 PM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
I did the properties edit, I must have added wrong, next update is around 7:30AM Saturday, which is fine with me as I don't get up that early!
Thanks for the tip.
Rob
Reply With Quote
  #9  
Old 06-03-2004, 10:07 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
Well you can always subtract (4 * 60 * 60 * 1000). I added wrong my first go around with it too...I ended up 3 hours short. : ) An interface to play with this looks like something that will definitely be Studio-able since it is Sage.Properties.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess

Last edited by Alex0230; 06-03-2004 at 10:11 PM.
Reply With Quote
  #10  
Old 06-03-2004, 10:51 PM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
I can live with 7:30AM download, I realized my error - I did a disable/enable on a channel at about 11:00, guide updated. Then I changed the epoch time by 8 1/2 hours. So I added 8 1/2 hours to the NEW update time, instead of the old time of 5:55PM. Now that I know how to change it, I'll do it if the updates interfere with watching TV.
Thanks to all for the info!
Rob
Reply With Quote
  #11  
Old 06-03-2004, 11:05 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
After playing around with it for a little while, I got some strange results... and I'm glad Alex0230 pointed out that he changed expanded_until instead of last_run, since I was originally thinking that it would update 24 hours after last_run. Messing with last_run (and sometimes changing expanded_until during the same edit) often seemed to result in an immediate EPG update when SageTV restarted.

I'm still not sure that setting expanded_until beyond 24 hours from last_run won't result in an EPG update when SageTV notices the greater than 24 hour difference.

Subtracting from expanded_until seemed pretty safe. So far, this seems like a good way to set the EPG update to occur at some time when you won't be awake. Of course, there is the downside of having to exit & restart SageTV for the property file edit... I guess this & the Channel Setup method both have their good & bad points, but it is nice to know this option.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #12  
Old 06-03-2004, 11:14 PM
robk's Avatar
robk robk is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 283
Well, I'll know tomorrow if it updates or not! It's not a big deal, it was just bugging me at 5:55PM with my current setup. SageTV has convinced me to upgrade to a faster CPU with DDR ram and a better video card. I was happy with a Pinnacle PCTV-PRO and ChrisTV, but now I'm spoiled. So many options!!
Rob
Reply With Quote
  #13  
Old 06-04-2004, 01:04 AM
kny3twalker kny3twalker is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,074
hey guys nice find
I think this is why I always have a hard skip in the file of the screensavers when they used to be on at 11:00 pm
I am going to set mine at some funny time as well probably in the afternoons though when nothing is getting recorded or in the morning
Reply With Quote
  #14  
Old 06-04-2004, 03:51 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
You may find this helpful -- converts seconds since 1970 epoch to a real time...
http://dan.drydog.com/unixdatetime.html
1086319426978 = 1086319426.978 seconds
1086319426 = 04/06/04 03:23:46 GMT
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #15  
Old 06-04-2004, 10:32 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
Quote:
Originally posted by nielm
You may find this helpful -- converts seconds since 1970 epoch to a real time...
Thanks! That's almost exactly what I was hoping for... back when I completely skipped the thought of simply adjusting the current time value.

Is there one where you give a date/time & it gives you the seconds? Sure, you can adjust the seconds to get where you want, but...

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #16  
Old 06-04-2004, 12:12 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
http://esqsoft.com/javascript_exampl...e-to-epoch.htm

It goes off MST and allows you to go from seconds to date and date to seconds.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess
Reply With Quote
  #17  
Old 06-04-2004, 12:16 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
Perfect! Thanks.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #18  
Old 06-04-2004, 12:19 PM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
Alex0230,
Very cool.

I just have to remember that it's uses seconds. When I first tried it I was like that number is too small. Duh. Add the three digits to make it milliseconds.
__________________
"Between you and me, my name's irrelevant."
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.