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
PowerScheduler should not allow suspension just before recording starts
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="dero" data-source="post: 136568" data-attributes="member: 29291"><p><strong>MediaPortal Version</strong>: SVN 19.3.2007</p><p><strong>MediaPortal Skin</strong>: </p><p><strong>Windows Version</strong>: </p><p><strong>CPU Type</strong>: </p><p><strong>HDD</strong>: </p><p><strong>Memory</strong>: </p><p><strong>Motherboard</strong>: </p><p><strong>Motherboard Chipset</strong>: </p><p><strong>Motherboard Bios</strong>: </p><p><strong>Video Card</strong>: </p><p><strong>Video Card Driver</strong>: </p><p><strong>Sound Card</strong>: </p><p><strong>Sound Card AC3</strong>: </p><p><strong>Sound Card Driver</strong>: </p><p><strong>1. TV Card</strong>: </p><p><strong>1. TV Card Type</strong>: </p><p><strong>1. TV Card Driver</strong>: </p><p><strong>2. TV Card</strong>: </p><p><strong>2. TV Card Type</strong>: </p><p><strong>2. TV Card Driver</strong>: </p><p><strong>3. TV Card</strong>: </p><p><strong>3. TV Card Type</strong>: </p><p><strong>3. TV Card Driver</strong>: </p><p><strong>4. TV Card</strong>: </p><p><strong>4. TV Card Type</strong>: </p><p><strong>4. TV Card Driver</strong>: </p><p><strong>MPEG2 Video Codec</strong>: </p><p><strong>MPEG2 Audio Codec</strong>: </p><p><strong>Satelite/CableTV Provider</strong>: </p><p><strong>HTPC Case</strong>: </p><p><strong>Cooling</strong>: </p><p><strong>Power Supply</strong>: </p><p><strong>Remote</strong>: </p><p><strong>TV</strong>: </p><p><strong>TV - HTPC Connection</strong>: </p><p></p><p>Hi folks,</p><p></p><p>assume that you set "wake up before recording" to 2 minutes. Now, let some recording be scheduled to start at 8 p.m.</p><p></p><p>When you send your computer to hibernation at 7.50 p.m., PowerScheduler will resume your computer at 7.58 p.m. and recording will start at 8 p.m.</p><p></p><p>BUT, when you hibernate at 7.59 p.m., PowerScheduler will not resume your computer and you will miss the recording.</p><p></p><p>Solution: PowerScheduler should deny suspend requests that occur just before a recording starts. There should be a parameter "don't allow shutdown x minutes before recording starts". </p><p></p><p>A couple of things have to be done:</p><p></p><p>* MediaPortal.cs: OnSuspend() should ask if any plugin would like the computer not to suspend and then reply with BROADCAST_QUERY_DENY.</p><p>* PowerScheduler.cs: Introduce parameter notshutdowninterval -- saying how many minutes before recording a shutdown is disallowed</p><p>* PowerScheduler.cs: Response to OnSuspend() and tell MediaPortal not to allow shutdown when we are at most "notshutdowninterval" minutes before the next recording</p><p>* PowerScheduler.cs: When a shutdown failed, the PS should try again. At the moment, the timer is not started again, when Shutdown failed.</p><p></p><p>Regards</p><p></p><p>dero</p></blockquote><p></p>
[QUOTE="dero, post: 136568, member: 29291"] [b]MediaPortal Version[/b]: SVN 19.3.2007 [b]MediaPortal Skin[/b]: [b]Windows Version[/b]: [b]CPU Type[/b]: [b]HDD[/b]: [b]Memory[/b]: [b]Motherboard[/b]: [b]Motherboard Chipset[/b]: [b]Motherboard Bios[/b]: [b]Video Card[/b]: [b]Video Card Driver[/b]: [b]Sound Card[/b]: [b]Sound Card AC3[/b]: [b]Sound Card Driver[/b]: [b]1. TV Card[/b]: [b]1. TV Card Type[/b]: [b]1. TV Card Driver[/b]: [b]2. TV Card[/b]: [b]2. TV Card Type[/b]: [b]2. TV Card Driver[/b]: [b]3. TV Card[/b]: [b]3. TV Card Type[/b]: [b]3. TV Card Driver[/b]: [b]4. TV Card[/b]: [b]4. TV Card Type[/b]: [b]4. TV Card Driver[/b]: [b]MPEG2 Video Codec[/b]: [b]MPEG2 Audio Codec[/b]: [b]Satelite/CableTV Provider[/b]: [b]HTPC Case[/b]: [b]Cooling[/b]: [b]Power Supply[/b]: [b]Remote[/b]: [b]TV[/b]: [b]TV - HTPC Connection[/b]: Hi folks, assume that you set "wake up before recording" to 2 minutes. Now, let some recording be scheduled to start at 8 p.m. When you send your computer to hibernation at 7.50 p.m., PowerScheduler will resume your computer at 7.58 p.m. and recording will start at 8 p.m. BUT, when you hibernate at 7.59 p.m., PowerScheduler will not resume your computer and you will miss the recording. Solution: PowerScheduler should deny suspend requests that occur just before a recording starts. There should be a parameter "don't allow shutdown x minutes before recording starts". A couple of things have to be done: * MediaPortal.cs: OnSuspend() should ask if any plugin would like the computer not to suspend and then reply with BROADCAST_QUERY_DENY. * PowerScheduler.cs: Introduce parameter notshutdowninterval -- saying how many minutes before recording a shutdown is disallowed * PowerScheduler.cs: Response to OnSuspend() and tell MediaPortal not to allow shutdown when we are at most "notshutdowninterval" minutes before the next recording * PowerScheduler.cs: When a shutdown failed, the PS should try again. At the moment, the timer is not started again, when Shutdown failed. Regards dero [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
PowerScheduler should not allow suspension just before recording starts
Contact us
RSS
Top
Bottom