|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
InactivityTimeout()
Hi,
Is there anyway to change the timeout for the InactivityTimeout() Hook? Its just a little too long for my needs. I can of course create a loop to monitor the time of no user activity but thought this might be an easier method (if I could specify the timeout time). Cheers Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#2
|
||||
|
||||
The API call SetInactivityTimeout() controls the timeout period for that hook. But, if you want to customize it w/o affecting everything else that uses that hook, you should create your own timeout thread that waits for the time period you want, using GetTimeSinceLastInput().
- 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. |
#3
|
|||
|
|||
Ahh, thats cool.... I guess as long as I set it with a BeforeMenuLoad and then reset it back to the default with BeforeMenuUnload I should be ok.
Thanks Edit When you use SetInactivityTimeout() does it change a property setting anywhere or is it just within the STV?
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#4
|
||||
|
||||
The Get/SetInactivityTimeout() calls use a property setting.
- 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. |
#5
|
|||
|
|||
Ok, is the property discovery_timeout=5000? I don't think it is but thats the only thing I can find in my properties.
And is the default 5000ms? I can only find one place in the default STV where you use Get/Set (MediaPlayer OSD) so I think if I reset it back to 5000 I should be good to go. Thanks Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#6
|
||||
|
||||
It doesn't matter what the property name is or what its default value is. If you are going to change the setting & then later change it back, all you have to do is save the current value from GetInactivityTimeout(), set the value you want it to be, do whatever it is you plan to do, the restore the saved setting.
- 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. |
#7
|
|||
|
|||
Ok, I guess not..... but just incase anyone else wanted to know its osd_autohide_time (pretty sure anyway).
Cheers Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 11-28-2011 at 07:07 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|