PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4 (10 Viewers)

CGT

Portal Pro
January 8, 2012
240
6
Just one second after the last try the audio device is reactivated, so I will modify the retry intervals.

Ok, cool! Thank you! Do you have an idea how to solve the other issue?
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I made a little program that adds idle timeout detection to PS++

    Untitled.png


    NB. This is only useful if you use the force sleep option in PS++ but want to prevent PS++ from forcing the PC to sleep when you are actively using it and MP is not running. (I have to use forcesleep with PS++ otherwise my HTPC sometimes doesn't sleep due to srvnet keeping windows awake)

    Instructions:
    Extract files to the same directory
    Run SLEEP_TIMER.exe
    Open PS++ Config
    Select process to prevent standby
    choose process "DONT_SLEEP"
    Save changes
    Add shortcut to run sleep_timer.exe on windows startup

    How it works:
    SLEEP_TIMER keeps DONT_SLEEP process running. This prevents PS++ from force sleeping. If you are physically inactive (no mouse / keypresses) for 15 minutes it stops the process.

    Code (If interested):
    DONT_SLEEP.ahk
    Code:
    #SingleInstance force
    #NoTrayIcon
    Sleep 900000 ; Run this process for 15 minutes then stop
    ExitApp
    SLEEP_TIMER.ahk
    Code:
    #SingleInstance force
    #persistent
    #notrayicon
    SetWorkingDir %A_ScriptDir%
     
    Process, Exist, DONT_SLEEP.EXE
    ProcessExist = %ErrorLevel%
    if !(ProcessExist)
    Run, DONT_SLEEP.EXE ; Don't Let PS++ sleep
     
    SetTimer, CheckIdle, 60000 ; Check idle every 1 minute
    Return
     
    CheckIdle:
    if (A_TimeIdle > 900000) ; 15 minutes idle
    {
    Process, Close, DONT_SLEEP.EXE ; Let PS++ sleep
    Return
    }
    Process, Exist, DONT_SLEEP.EXE
    ProcessExist = %ErrorLevel%
    if !(ProcessExist)
    Run, DONT_SLEEP.EXE ; Don't Let PS++ sleep
    Return
     

    Attachments

    • DONT_SLEEP - Version 2.rar
      634.7 KB
    • SLEEP_TIMER for PS++ Version 3.zip
      1 MB
    Last edited:

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    @CGT
    New test version available:
    - Tries to unmute the audio device for 10 seconds after resume / return from away mode and gives additional debugging output

    Michael[/quote]
     

    Attachments

    • PowerScheduler++ 1.4.0.1.mpe1
      215.7 KB

    CGT

    Portal Pro
    January 8, 2012
    240
    6
    Hi, I think it didn't work. But I receive an error message when I install the new version (attached).
     

    Attachments

    • Error.PNG
      Error.PNG
      14.5 KB

    CGT

    Portal Pro
    January 8, 2012
    240
    6
    I think I was able to resolve the problem with the srvnet driver by setting the "PowerScheduler forces standby" option. Thanks kiwijunglist, I wasn't aware this option exists ;)
     

    wawa79

    Portal Pro
    December 9, 2008
    111
    28
    Niort
    Home Country
    France France
    Hello,
    PowerScheduler++ has significantly improved the resume/standby feature of my MP. I expected the upgrade to MP 1.4 to fix my last issue but it doesn't :cautious: .

    My PowerScheduler++ is not able to put my HTPC to sleep after 5 minutes, as it is supposed to.
    But when sending an 'Off' command through my IRtrans remote, the computer goes to sleep instantly and normally as it should.
    The TVService.log seems to report some activity before the 5 minutes are ellapsed (see the log starting at [2013-07-21 18:01:13,375]): can someboby tell me how can I identify that 'activity' (POWERCFG -REQUESTS does not report any driver other than TVService preventing standby) ? My Logitech wireless mouse/keyboard are Off, VNC is disconnected, there is no network activity... I miss ideas!:confused:

    It looks I have this behaviour since I switched from WinXP+MP1.2 to Win7+MP1.3 (but there were so many other issues on resume at that time: standby issues are less impacting than resume issues, especially for recordings:eek:)

    Thank you in advance for helping me in troubleshooting this.
     

    Attachments

    • Ps++ settings.jpg
      Ps++ settings.jpg
      22.2 KB

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi there,

    You could open the mpe1 with winzip and then manually rename/copy the DLL files.

    J.
     

    Users who are viewing this thread

    Top Bottom