[Rejected] Prevent powersaving while watching video (1 Viewer)

Flaamwing

New Member
March 5, 2010
3
0
I've noticed that when watching long videos, windows power-saving will often kick in and blank the monitors. This can be very aggravating.

The attached patch will fix the issue.
 

Attachments

  • PreventPowersaving.patch
    30.7 KB

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    Hi Flaamwing,

    Thank you for your patch.

    After discussing this with the team and doing some research in the code we found out that your patch would interfere with PowerScheduler plugin (it also uses SetThreadExecutionState(), and the calls could cancel each other). The proper solution would be to either coordinate calls to SetThreadExecutionState(), or even better have some central control of MP's power states.

    As a result I have to reject your patch.
     

    Users who are viewing this thread

    Similar threads

    @CyberSimian Sorry, I missed your last post. I ended up doing a clean install on the client and all is well now. It still doesn't let me go back in time when I change channels but it does continue operating from that point on. I'm ok with that. Thanks for your help! EDIT: I now downgraded the server (as I did with the client above)...
    @CyberSimian Sorry, I missed your last post. I ended up doing a clean install on the client and all is well now. It still doesn't...
    When I first start watching a TV program the timeshift functions works perfectly. I can shift back and forth in time and it works...
    Replies
    11
    Views
    3K
    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting power settings for "Intel Graphics". I set it to Maximum Performance. I tried many other things so it could be a combination of them, but this was the last thing I did and I haven't had the problem return...
    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting...
    I'm running MP1 as a client only on this: https://www.amazon.com/dp/B0DZX5DWS5?ref_=pe_123509780_1038749300_t_fed_asin_title&th=1...
    Replies
    5
    Views
    2K
    MP1 MP2 Picture-in-picture DE
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many tries, and it’s not clear what I am doing that makes it work on those occasions when it does. Cannot find guidance on the site. Thanks, N. Again, if anyone knows how to do this, would be much...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Replies
    0
    Views
    2K
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the Requirements and you've filled in your System Specs. Have a look at our MediaPortal Wiki! Maybe the solution is already there. Have a look at our Jira (Bug and Issue Tracker)and the threads in this section, maybe...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    0
    Views
    1K
    No issues here, still working.
    No issues here, still working.
    EDIT on Feb 17 2026: There is a solution: User Antidot created a new program: newZap2it.exe which works to get EPG data from...
    Replies
    122
    Views
    44K
    Top Bottom