PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4 (2 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,750
    New Zealand
    New Zealand New Zealand
    Country flag
    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

    Last edited:

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    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

    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

    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
    France France
    Country flag
    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

    Brudertac

    MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Germany Germany
    How can i install this on a Server without a Client Installed? Can not run mpe1 Files... Thanks!
     

    Jay_UK

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

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

    J.
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    bta489 [solved] System goes to Standby during Amazon Prime Playback OnlineVideos 2
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 11
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    D Media Portal wake schedule General Support 29
    doskabouter Set versions to released in jira 1.24-1.27 Pre Release 4
    rsbrux Extensions Manager has outdated version info for the Extensions plug-in Installation, configuration support 2
    bta489 [solved] Version 1.26 breaks ReplayGain ? Listen Music 12
    ajs [fixed] 5044: Upgrade NSIS to actual Version MediaPortal 1 21
    Symphy Version 0.2.9.0 for MediaPortal 1.25 ASIO music player 2
    1gkar A Couple of {On-going} Issues Within Various MP Versions General Support 25
    azzuro [fixed] 5011: Version label in Splash screen - pos, size from skin MediaPortal 1 61
    caveman [solved] Cannot download new version My TVSeries 5
    ajs [WiP] MP1 X64 Version MediaPortal 1 106
    RoChess Splashscreen MePo version Titan Skin Feedback 8
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    D How to switch versions of Schedules Direct Newcomers Forum 2
    D I just installed MP 1.23. Which version of Schedules Direct should I use, where do I obtain it from Newcomers Forum 6
    Z TV-Service in falscher Version Installationsprobleme? 9
    T Neue Treiber Version 3 für TV-Karte Digital Devices Cine C/C2/T/T2 V7 TV / Streaming 6
    M Version numbers MediaPortal 1 Talk 7
    framug LAVFilter 0.74.1 incorrect version Skins and Plugins Installer (MPEI) 8
    A Problem Windows 10 64 bit prof. Update auf Version 1903(gelöst) Installationsprobleme? 0
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    T Issues with MediaPortal not starting correctly using versions after 1.20 Final General Support 6
    N [Question] How come when I build WIP_2.2.1 the logged version number is 2.1.1711.10774? MediaPortal 2 1

    Similar threads

    Top Bottom