SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

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 11-05-2006, 06:27 PM
grooves12 grooves12 is offline
Sage Aficionado
 
Join Date: Feb 2006
Posts: 303
Setting for "blackout period"?

Is there any way to set up a blackout period for Sage, where you can prevent it from doing any recording during that time??

I have a bunch of setup scripts that run daily, and I would like Sage to not record anything during this time period.

Is there any way to do this?
Reply With Quote
  #2  
Old 11-05-2006, 08:12 PM
up2ng's Avatar
up2ng up2ng is offline
Sage User
 
Join Date: Mar 2006
Location: NY
Posts: 44
Do it with this

http://www.sysinternals.com/Utilities/PsKill.html

Use this to kill the process as part of your script and add a line at the end to start SageTV.
Reply With Quote
  #3  
Old 11-05-2006, 08:30 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
If you value the contents of your Wiz.bin, I would not recommend killing the process as part of your daily routine. A better solution would be to send a WM_QUIT message to allow the app to close its files and shut itself down in an orderly fashion. There's a SendMessage.exe utility in your SageTV installation folder that you can use for this purpose.

If you're running SageTVService.exe, use net stop and net start to stop and restart the service from your script.
__________________
-- Greg
Reply With Quote
  #4  
Old 11-06-2006, 05:12 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
I took the question to mean that the poster wanted SageTV to keep running but not to record anything. I would welcome such a feature, myself.
Reply With Quote
  #5  
Old 11-13-2006, 10:46 PM
grooves12 grooves12 is offline
Sage Aficionado
 
Join Date: Feb 2006
Posts: 303
Quote:
Originally Posted by salsbst
I took the question to mean that the poster wanted SageTV to keep running but not to record anything. I would welcome such a feature, myself.
That is exactly what I would like... Just a setting that says Don't record between XXXX-XXXX hours.
Reply With Quote
  #6  
Old 11-13-2006, 10:55 PM
grooves12 grooves12 is offline
Sage Aficionado
 
Join Date: Feb 2006
Posts: 303
And if I DID want to shut down and restart Sage... what would be the proper syntax for sendmessage to shut down the app?
Reply With Quote
  #7  
Old 11-14-2006, 01:53 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
The SendMessage utility is documented in Appendix J of the manual, but it looks like that documentation is a bit out of date. I found that the following command line works for closing SageTV V6:

Code:
SendMessage -c SunAwtFrame -n "SageTV" -m 16 0 0
For SageTVClient, replace "SageTV" with "SageTV Client" (to match the client's window title).
__________________
-- Greg
Reply With Quote
  #8  
Old 11-14-2006, 12:57 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
As per a PM discussion with Greg to see what the problem was, the SendMessage docs should be correct.

Also, note that while the above SendMessage syntax works for the WM_CLOSE command (message #16), it will not work for messages to control SageTV via command event numbers. For those to work, the window class (SageApp or SageClientApp) & name (SageWin) need to be as shown in Appendix J and on p. 190 of the v6 SageTV manual.

- 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
  #9  
Old 11-14-2006, 01:19 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Andy's right; use the window class and title from the manual. I must have had a finger spasm when I tried it the first time, because it works fine for me now.

Sorry for the confusion.
__________________
-- Greg
Reply With Quote
Reply


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

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 08:02 AM.


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