home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Odd Standby issue
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CyberSimian" data-source="post: 1295077" data-attributes="member: 141969"><p>To be clear, TV Server runs as a service, and hence runs all of the time. It is TV Server that knows when a recording is due, and which starts the recording.</p><p></p><p>There is a system flag that TV Server switches on when a recording starts, and this flag tells Windows that the system must not sleep or hibernate. The relevant function is <a href="https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate" target="_blank">SetThreadExecutionState()</a>.</p><p></p><p>If this flag is switched on, the system won't sleep, and won't hibernate after the hibernation timeout has expired. However, the system will hibernate if requested explicitly by the user, and will shutdown if requested by the user. If sleep is requested by the user, the system will transition to away mode (if that mode has been enabled by the user), and the system will sleep when the flag is switched off by TV Server when the recording has finished.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1295077, member: 141969"] To be clear, TV Server runs as a service, and hence runs all of the time. It is TV Server that knows when a recording is due, and which starts the recording. There is a system flag that TV Server switches on when a recording starts, and this flag tells Windows that the system must not sleep or hibernate. The relevant function is [URL='https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate']SetThreadExecutionState()[/URL]. If this flag is switched on, the system won't sleep, and won't hibernate after the hibernation timeout has expired. However, the system will hibernate if requested explicitly by the user, and will shutdown if requested by the user. If sleep is requested by the user, the system will transition to away mode (if that mode has been enabled by the user), and the system will sleep when the flag is switched off by TV Server when the recording has finished. -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Odd Standby issue
Contact us
RSS
Top
Bottom