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

Atomic7431

Portal Pro
June 17, 2011
497
71
Home Country
United Kingdom United Kingdom
Yep ive given up on this plugin now, seems to much hassle to get working correctly and i dont seem to get any support.
 

The_Stig

Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Hey @michael_t, I am using the 1.2.3.7 and system powers up pretty often for no reason. Logs from last night attached, there was no schedule or anything else, only the reboot at 00:00 is correct imho. Do you have an idea? My setup:

    - no wakeup for EPG-Grab
    - reboot monday 00:00
    - powerscheduler force system to s3

    Thanks for having a look
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    Yep ive given up on this plugin now, seems to much hassle to get working correctly and i dont seem to get any support.
    The problrm you are struggling with has nothing to do with the PS++plugin. You will have the same problems without it.

    Michael
     
    Last edited:

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    Hey @michael_t, I am using the 1.2.3.7 and system powers up pretty often for no reason. Logs from last night attached, there was no schedule or anything else, only the reboot at 00:00 is correct imho. Do you have an idea?
    No, but there might be many reasons (network, scheduled tasks, ...). You have to look at your system log to see why the system woke up at those times.

    Michael
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    No, but there might be many reasons (network, scheduled tasks, ...). You have to look at your system log to see why the system woke up at those times.
    Thanks for your fast reply. Will check that. First thing will be looking in network adapter properties...
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Code:
    Das System wurde aus dem Energiesparmodus reaktiviert.
     
    Zeit im Energiesparmodus: ?2013?-?02?-?25T22:02:01.214081700Z
    Reaktivierungszeit: ?2013?-?02?-?26T00:25:03.151037200Z
     
    Reaktivierungsquelle: Gerät -Broadcom NetLink (TM) Gigabit Ethernet

    Eindeutige Fehlerquelle. Wobei ich das schon auf "nur Magic-Packets" umgestellt habe.

    EDIT: Aber in den Details war noch "Wake on Pattern Match" enabled. Jetzt mal disabled und schauen, was passiert.
     
    Last edited:

    netexplorer

    MP Donator
  • Premium Supporter
  • January 21, 2009
    736
    104
    Home Country
    Germany Germany
    Hi michael_t,
    i just want to say "Thanks" for making the legacy settings available in configuration, i know i have nerved you with that thing. ;)
     

    DragonQ

    Portal Pro
    August 30, 2011
    644
    79
    Home Country
    United Kingdom United Kingdom
    I'm having a problem trying to restart MediaPortal using a VB.NET program run via PS++. Basically, if the argument "wakeup" is passed, then the program does this (simplified):

    Code:
    'Kill MP
    For Each MP As Process In System.Diagnostics.Process.GetProcessesByName("MediaPortal")
       MP.Kill()
       MP.WaitForExit(5000)
    Next
     
    'Stop TV Service
    For Each TVService As Process In System.Diagnostics.Process.GetProcessesByName("TvService")
       TVService.Kill()
       TVService.WaitForExit(5000)
    Next
    			
    'Start TV Service
    Dim myService As ServiceController = (From svc In ServiceController.GetServices() Where svc.ServiceName = "TVService").ToArray()(0)
    myService.Start()
    myService.WaitForStatus(ServiceControllerStatus.Running, New TimeSpan(0, 0, 10))
     
    'Start MP
    Dim p As New ProcessStartInfo
    p.FileName = "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe"
    Process.Start(p)

    Everything works fine up until starting MediaPortal. Every time it gets to this point, it launches MediaPortal (and it appears in Task Manager) but nothing appears on the screen. The logs show this:

    Code:
    D3D: Exception: Generic application error.

    The weird thing is:
    • Even if I start a batch file that launches MediaPortal instead of launching MediaPortal directly, the same thing happens.
    • The code above for starting MediaPortal works fine when run directly, rather than via PS++.
    • If I just remove the last bit of code above that starts MediaPortal, and instead launch MediaPortal manually after the TV Service has restarted, it opens fine.
    So basically it looks to be something related to the fact that my VB.NET program is being launched from PS++. Could it be a permissions issue or something?
     

    DragonQ

    Portal Pro
    August 30, 2011
    644
    79
    Home Country
    United Kingdom United Kingdom
    So...has anyone managed to restart MediaPortal using a batch script or anything run from PS++?
     

    Atomic7431

    Portal Pro
    June 17, 2011
    497
    71
    Home Country
    United Kingdom United Kingdom
    Yep ive given up on this plugin now, seems to much hassle to get working correctly and i dont seem to get any support.
    The problrm you are struggling with has nothing to do with the PS++plugin. You will have the same problems without it.

    Michael

    indeed there was an issue and thats what i was hoping to get some help with :)
    However after a lot of research, the following may be of use to some with a similar issue where by the power request showed none, and yet my machine refused to sleep. I have now discovered that my issue was caused by google chrome, in the settings menu and under advanced, there is a setting ticked to `continue running background apps when google chrome is closed` i presume this is for cloud printing etc, now i have unticked this my machine seems to be sleeping as expected.

    I will now give this plugin another go and see what results i have and if i can make it reliable for my main machine.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom