[PATCH] Power Scheduler multiseat addon + WOL (3 Viewers)

JBravo

MP Donator
  • Premium Supporter
  • November 11, 2007
    269
    27
    Home Country
    Sweden Sweden
    In my case the "last user time" is always reset when the server resumes from standby. That is, "last user time" is set to the time when the server resumed. I doesn't matter how the server is started, the "last user time" is always reset.

    See log.

    2009-03-29 12:47:47.656250 [PowerEventThread]: NetworkMonitorHandler: standby allowed
    2009-03-29 12:47:47.656250 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:9999-12-31 23:59:59
    2009-03-29 12:47:47.656250 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:confused:cheduledRecordingsHandler time:9999-12-31 23:59:59
    2009-03-29 12:47:47.656250 [PowerEventThread]: PowerScheduler: No pending events found in the future which should wakeup the system
    2009-03-29 12:57:01.093750 [PowerEventThread]: TV service PowerEventThread 30
    2009-03-29 12:57:01.093750 [PowerEventThread]: TV service PowerEventThread 30
    2009-03-29 12:57:01.093750 [PowerEventThread]: OnPowerEvent: PowerStatus: ResumeAutomatic
    2009-03-29 12:57:01.093750 [PowerEventThread]: OnPowerEventHandler: PowerStatus: ResumeAutomatic
    2009-03-29 12:57:01.093750 [PowerEventThread]: PowerScheduler: System has resumed automatically from standby
    2009-03-29 12:57:01.093750 [PowerEventThread]: PowerScheduler: System changed from idle state to busy state
    2009-03-29 12:57:06.531250 [WinController exit thread]: WindowsController: ExitWindows performed, result: True
    2009-03-29 12:57:06.578125 [PowerEventThread]: OnPowerEvent: PowerStatus: ResumeSuspend
    2009-03-29 12:57:06.578125 [PowerEventThread]: OnPowerEventHandler: PowerStatus: ResumeSuspend
    2009-03-29 12:57:06.578125 [PowerEventThread]: PowerScheduler: System has resumed from standby
    2009-03-29 12:57:06.625000 [PowerEventThread]: TV service PowerEventThread 49403
    2009-03-29 12:57:06.656250 [PowerEventThread]: TV service PowerEventThread 49403
    2009-03-29 12:57:10.062500 [PowerEventThread]: TV service PowerEventThread 49403
    2009-03-29 12:57:44.531250 [16]: DiskManagement: checking free disk space
    2009-03-29 12:58:01.109375 [Powerscheduler Timer]: PowerScheduler: lastUserTime: 12:57:01.0937 , True
    2009-03-29 12:58:01.109375 [Powerscheduler Timer]: PowerScheduler: System is now unattended: False

    I did see in your logs that you use 'Hibernate' and 'Force shutdown', in my case I use 'Suspend' and no force. This could be a differnce.

    If you can't get this to work I suggest that you try to re-create the problem with the original PS plugin and posts a trouble report (with full logs) in the bug section for the TV server instead.
     

    Jeggo

    Portal Member
    July 29, 2007
    26
    1
    Home Country
    Germany Germany
    Hello,

    thanks for your support. I will try an other solution for MP and WHS.

    For WHS there is an addin which is called LightsOut. This program controls the runtime of the clients and the server and works quite well. It also has a calender where you can place your own actions.

    In this thread https://forum.team-mediaportal.com/plugins-erweiterungen-178/progr-aufnahmen-whs-lightsout-kalender-uebertragen-51231/ a user has written a small script which exports the schedules out of the MP database and transfers them to XML format LightOut uses.

    Seems to be very promising as the power management of LightsOut works quite perfect with WHS.

    I also tried the options you mentioned (standby instead of hibernation and no force shutdown). The same as before. But when I use the LightsOut addin I will disable power scheduler.

    CU

    Jens
     

    Husky

    Portal Pro
    June 1, 2007
    132
    10
    53
    Home Country
    Germany Germany
    No ..:(
    If I start the TV-server Configuration get I a NetFramework error message as soon as I these with OK ONES leave.
    Into the error Logs stand the following entries
    2009-04-14 10:47:32.968750 [SetupTv]: Exception :confused:ystem.IO.FileNotFoundException: Die Datei oder Assembly Gentle.Framework, Version=1.2.9.1286, Culture=neutral, PublicKeyToken=80b5de62e27be49b oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
    Dateiname: Gentle.Framework, Version=1.2.9.1286, Culture=neutral, PublicKeyToken=80b5de62e27be49b
    bei TvEngine.PowerScheduler.PowerSchedulerMasterSetup.SaveSettings()
    bei SetupTv.SetupTvSettingsForm.SaveSectionSettings(TreeNode currentNode)
    bei SetupTv.SetupTvSettingsForm.SaveSectionSettings(TreeNode currentNode)
    bei SetupTv.SetupTvSettingsForm.SaveAllSettings()
    bei SetupTv.SetupTvSettingsForm.applyButton_Click(Object sender, EventArgs e)
    bei SetupTv.SetupTvSettingsForm.okButton_Click(Object sender, EventArgs e)



    2009-04-14 10:48:30.203125 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:48:30.265625 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:49:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:49:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:50:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:50:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:51:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:51:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:52:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:52:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:53:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:53:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:54:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:54:30.265625 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:55:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:55:30.265625 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:56:30.234375 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:56:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:57:30.234375 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:57:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:58:30.234375 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:58:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:59:30.234375 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 10:59:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 11:00:30.218750 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 11:00:30.281250 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 11:01:30.234375 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 11:01:30.296875 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 11:02:30.234375 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
    2009-04-14 11:02:30.296875 [Powerscheduler Timer]: Exception :confused:ystem.MissingMethodException: Methode nicht gefunden: System.Collections.IList TvDatabase.Schedule.ListAll().
    bei TvEngine.PowerScheduler.Handlers.ScheduledRecordingsHandler.GetNextWakeupTime(DateTime earliestWakeupTime)
    bei TvEngine.PowerScheduler.PowerScheduler.get_NextWakeupTime()
    bei TvEngine.PowerScheduler.PowerScheduler.get_DisAllowShutdown()
    bei TvEngine.PowerScheduler.PowerScheduler.CheckForStandby()
    bei TvEngine.PowerScheduler.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
     

    JBravo

    MP Donator
  • Premium Supporter
  • November 11, 2007
    269
    27
    Home Country
    Sweden Sweden
    I will rebase the patches as soon as I find some time, I haven't even had time to try MP 1.0.1 :-(

    You can always try to find a MP developer willing to integrate the patches into MP 1.0.2.
     

    vecnar

    Portal Pro
    April 21, 2008
    129
    10
    Home Country
    Ireland Ireland
    Thank you for this plugin. It made my standby handling work without a problem using network monitor.
    The only thing is that I want to run a batch file on suspend and wakeup but it doesn't work for me using powerscheduler plugin within tvserver even if i select reinitialize service on startup.
    Currently I am using hibernate trigger which executes batch script to turn off my stb and turn on on wakeup using ir server suite. This works great except when scheduled recording wakes up the computer hibernate trigger doesn't turn stb on.
    Is there any
    What type of call is being made to wakeup pc is it any different than wakeup on lan.
    Thanks
     

    nickotron

    MP Donator
  • Premium Supporter
  • March 3, 2008
    34
    2
    Home Country
    New Zealand New Zealand
    For the record, I've coded a couple of other variants of PowerScheduler, based on JBravos example of the network version.

    The first pinged an IP address (my network music player) and prevented shutdown if that was turned on. This meant my PC (music server) remained on, even if the streamed music had stopped at the end of an album. When I was done with music, I powered off the player, leaving the PC free to shutdown.

    Recently I stopped using my network player, and instead play direct from my PC via a Philips SRM7500 remote (don't need the TV on to select music). This time I modified PowerScheduler to prevent shutdown if the serial port CTS line is held high, and I drive this off a small 9v power supply plugged into the switched output of my amp with a couple of resistors in the DB9 case.

    If anyone is interested in the code or simple circuit diagram for the latter let me know. I never finished and released the first ping version as I'd only hardcoded my player's IP address, as I couldn't find an obvious IP address control to use - can anyone point me to one?

    Thanks.

    N.
     

    neelex

    Portal Pro
    March 16, 2009
    68
    3
    For the record, I've coded a couple of other variants of PowerScheduler, based on JBravos example of the network version.

    The first pinged an IP address (my network music player) and prevented shutdown if that was turned on. This meant my PC (music server) remained on, even if the streamed music had stopped at the end of an album. When I was done with music, I powered off the player, leaving the PC free to shutdown.

    Recently I stopped using my network player, and instead play direct from my PC via a Philips SRM7500 remote (don't need the TV on to select music). This time I modified PowerScheduler to prevent shutdown if the serial port CTS line is held high, and I drive this off a small 9v power supply plugged into the switched output of my amp with a couple of resistors in the DB9 case.

    If anyone is interested in the code or simple circuit diagram for the latter let me know. I never finished and released the first ping version as I'd only hardcoded my player's IP address, as I couldn't find an obvious IP address control to use - can anyone point me to one?

    Thanks.

    N.
    The 'ping' version is a nice variant of the modified plugin! That's a issue sometimes happen to me. Play an album, after it's finished the server goes in hibernate state. Would be possible to ping all client IPs and if minimum one machine is responding, hibernate/standby would be prevented. I would be interested in the code, but I'm not really familiar with coding :(

    BTW: Did you have the change to test your plugin/modifications in 1.0.1 or 1.0.2?

    Thanks,
    Neelex
     

    nickotron

    MP Donator
  • Premium Supporter
  • March 3, 2008
    34
    2
    Home Country
    New Zealand New Zealand
    Hi Neelex, Husky,

    Yes I also noted that the original binaries are not compatible with 1.01/1.02 - they crash MP Server Config. I recompiled my CTS version and its running fine. Will try to do JBravo's NetMon version in the next couple of days.

    N.
     

    Users who are viewing this thread

    Top Bottom