|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
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. |
#3
|
||||
|
||||
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 |
#4
|
||||
|
||||
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.
|
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
And if I DID want to shut down and restart Sage... what would be the proper syntax for sendmessage to shut down the app?
|
#7
|
||||
|
||||
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
__________________
-- Greg |
#8
|
||||
|
||||
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. |
#9
|
||||
|
||||
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|