PowerScheduler always schedules WakeUp in 1 Minute (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,546
    432
    Germany Germany
    Country flag
    Hello!

    I've the Problem, that when i go to standby Powerscheduler always schedule the next Wakeup in 1 Minute - then it wakes up then it schedules the correct PowerUp value - this always happens, when i watch TV and press shut down on my remote.

    Code:
    2008-07-22 18:07:10.391400 [17]: PowerScheduler: User input detected at 22.07.2008 18:07:10
    2008-07-22 18:07:23.025400 [11]: OnLinkageReceived()
    2008-07-22 18:07:23.028400 [Channel linkage update thread]: ChannelLinkage received. 0 portal channels read
    2008-07-22 18:07:27.576400 [PowerEventThread]: OnPowerEvent: PowerStatus: Suspend
    2008-07-22 18:07:27.578400 [PowerEventThread]: PowerScheduler: System is going to standby
    2008-07-22 18:07:27.586400 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:31.12.9999 23:59:59
    2008-07-22 18:07:27.692400 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:ScheduledRecordingsHandler time:31.12.9999 23:59:59
    2008-07-22 18:07:27.692400 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:EpgGrabbingHandler time:23.07.2008 05:00:00
    2008-07-22 18:07:28.146400 [19]: Controller: StopTimeShifting 2
    2008-07-22 18:07:28.150400 [19]: card: StopTimeShifting user:htpc-server-PC sub:0
    2008-07-22 18:07:28.151400 [19]: card: StopTimeShifting user:htpc-server-PC sub:0
    2008-07-22 18:07:28.152400 [19]: user:htpc-server-PC remove
    2008-07-22 18:07:28.153400 [19]: Stopcard
    2008-07-22 18:07:28.153400 [19]: tvcard:FreeSubChannel:1 #0
    2008-07-22 18:07:28.154400 [19]: analog subch:0 Decompose()
    2008-07-22 18:07:28.154400 [19]: subch:0 StopTimeshifting()
    2008-07-22 18:07:28.157400 [19]: tvcard:FreeAllSubChannels:
    2008-07-22 18:07:28.157400 [19]: dvb:StopGraph
    2008-07-22 18:07:28.159400 [19]: tvcard:FreeAllSubChannels:
    2008-07-22 18:07:28.159400 [19]: Controller:Timeshifting stopped on card:2
    2008-07-22 18:07:28.160400 [19]: RTSP: remove stream stream2.0
    2008-07-22 18:07:28.174400 [16]: Controller: SetChannelStates for 247 channels
    2008-07-22 18:07:28.691400 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:31.12.9999 23:59:59
    2008-07-22 18:07:28.725400 [PowerEventThread]: PowerScheduler.DisAllowShutdown: handler PowerSchedulerClientPlugin wants to prevent standby
    2008-07-22 18:07:28.728400 [PowerEventThread]: PowerScheduler: Set wakeup timer to wakeup system in 1 minutes
    2008-07-22 18:07:28.934400 [19]: PowerScheduler: UnregisterRemote StandbyHandler 1
    2008-07-22 18:07:28.936400 [19]: PowerScheduler: UnregisterRemote WakeupHandler 1
    2008-07-22 18:08:30.500000 [PowerEventThread]: TV service PowerEventThread 30
    2008-07-22 18:08:43.648600 [PowerScheduler Waiter]: PowerScheduler: OnResume
    2008-07-22 18:08:43.648600 [5]: TV service stopping
    2008-07-22 18:08:43.648600 [PowerEventThread]: OnPowerEvent: PowerStatus: ResumeAutomatic
    2008-07-22 18:08:43.648600 [PowerEventThread]: PowerScheduler: System has resumed automatically from standby
    2008-07-22 18:08:43.648600 [5]: TV service StopRemoting
    2008-07-22 18:08:43.648600 [5]: Remoting stopped
    2008-07-22 18:08:43.664200 [5]: Controller: DeInit.
    2008-07-22 18:08:43.664200 [14]: dvb:abort grabbing epg
    2008-07-22 18:08:43.664200 [5]: Controller: HeartBeat monitor stopped...
    2008-07-22 18:08:43.664200 [PowerEventThread]: TV service PowerEventThread 30
    2008-07-22 18:08:43.679800 [5]: plugin: ConflictsManager stopped
    2008-07-22 18:08:43.679800 [5]: PowerScheduler: UnRegistered PowerScheduler as PowerEventHandler to tvservice
    2008-07-22 18:08:43.679800 [5]: PowerScheduler: Removed default set of standby/resume handlers to PowerScheduler
    2008-07-22 18:08:43.679800 [5]: Powerscheduler: stopped
    2008-07-22 18:08:43.679800 [5]: Controller: stop streamer...
    2008-07-22 18:08:43.679800 [5]: RTSP: stop streamer
    2008-07-22 18:08:43.679800 [5]: Controller: streamer stopped...
    2008-07-22 18:08:43.679800 [5]: Controller: stop scheduler...
    2008-07-22 18:08:43.679800 [5]: Scheduler: stopped
    2008-07-22 18:08:43.679800 [5]: Controller: scheduler stopped...
    2008-07-22 18:08:43.679800 [5]: Controller: stop epg grabber...
    2008-07-22 18:08:43.679800 [5]: Controller: epg stopped...
    2008-07-22 18:08:43.679800 [5]: Controller: dispose card:RadioWebStream Card (builtin)
    2008-07-22 18:08:43.679800 [5]: RadioWebStream:Dispose()
    2008-07-22 18:08:43.695400 [5]: Controller: dispose card:KNC BDA DVB-C
    2008-07-22 18:08:43.695400 [5]: dvb:Decompose
    2008-07-22 18:08:43.695400 [5]: tvcard:FreeAllSubChannels:
    2008-07-22 18:08:43.695400 [5]:   stop
    2008-07-22 18:08:43.835800 [14]: Timeshifting epg grabber stopped.
    2008-07-22 18:08:45.754600 [5]:   Closing MDAPI Plugins
    2008-07-22 18:08:45.754600 [5]:   remove all filters
    2008-07-22 18:08:45.863800 [5]:   free...
    2008-07-22 18:08:45.863800 [5]:   free pins...
    2008-07-22 18:08:45.863800 [5]:   free graph...
    2008-07-22 18:08:45.863800 [5]:   free devices...
    2008-07-22 18:08:45.863800 [5]:   decompose done...
    2008-07-22 18:08:45.863800 [5]: Controller: dispose card:KNC BDA DVB-C
    2008-07-22 18:08:45.879400 [5]: TVService OnStop asking PowerEventThread to exit
    2008-07-22 18:08:45.879400 [PowerEventThread]: TV service PowerEventThread finished
    2008-07-22 18:08:45.926200 [5]: TV service stopped
    2008-07-22 18:08:47.533000 [TVService]: TVService v0.9.2.19695 is starting up on Windows Vista (Service Pack 1)
    2008-07-22 18:08:47.548600 [TVService]: Controller: Initilizing TVServer
    2008-07-22 18:08:47.548600 [TVService]: Controller: 1 init attempt
    2008-07-22 18:08:47.548600 [PowerEventThread]: TV service PowerEventThread message loop is running
    2008-07-22 18:08:47.564200 [TVService]: C:\ProgramData\Team MediaPortal\MediaPortal TV Server\gentle.config
    2008-07-22 18:08:47.564200 [TVService]: Controller: using MySQL database connection: Server=htpc-server-PC;Database=MpTvDbRC1;User ID=root;Password
    2008-07-22 18:08:47.579800 [TVService]: ----------------------------
    2008-07-22 18:08:47.579800 [TVService]: Detecting Cards in 2 seconds
    2008-07-22 18:08:49.592200 [TVService]: Detecting Cards
    2008-07-22 18:08:49.685800 [TVService]: Detected DVB-C card:knc bda dvb-c
    2008-07-22 18:08:49.732600 [TVService]: Detected DVB-C card:knc bda dvb-c
    2008-07-22 18:08:49.795000 [TVService]: PluginManager: Loaded ComSkipLauncher version:1.0.2.0 author:and-81
    2008-07-22 18:08:50.387800 [TVService]: PluginManager: Loaded ConflictsManager version:1.0.0.1 author:Broceliande
    2008-07-22 18:08:50.387800 [TVService]: PluginManager: Loaded Power Scheduler version:0.1.0.0 author:micheloe
    2008-07-22 18:08:50.403400 [TVService]: PluginManager: Loaded ServerBlaster version:1.0.0.0 author:joboehl
    2008-07-22 18:08:50.403400 [TVService]: PluginManager: Loaded TV Movie EPG import version:0.9.2.0 author:rtv
    2008-07-22 18:08:50.403400 [TVService]: PluginManager: Loaded XmlTv version:1.0.0.0 author:Frodo
    2008-07-22 18:08:50.403400 [TVService]: Controller: plugins loaded
    2008-07-22 18:08:50.403400 [TVService]: Controller: started at htpc-server-PC
    2008-07-22 18:08:50.419000 [TVService]: Controller: local ip address:192.168.178.22
    2008-07-22 18:08:50.512600 [TVService]: Controller: server running on htpc-server-PC
    2008-07-22 18:08:50.543800 [TVService]: Controller: setup hybrid cards
    2008-07-22 18:08:50.668600 [TVService]: Controller: card RadioWebStream Card (builtin): current timeshiftpath = C:\VID.TIME
    2008-07-22 18:08:50.699800 [TVService]: Controller: card KNC BDA DVB-C: current timeshiftpath = C:\VID.TIME
    2008-07-22 18:08:50.715400 [TVService]: Controller: card KNC BDA DVB-C: current timeshiftpath = C:\VID.TIME
    2008-07-22 18:08:50.715400 [TVService]: Controller: setup streaming
    2008-07-22 18:08:50.746600 [TVService]: Scheduler: started
    2008-07-22 18:08:51.121000 [TVService]: Scheduler: loaded 1 schedules
    2008-07-22 18:08:51.121000 [TVService]: DiskManagement: started
    2008-07-22 18:08:51.121000 [TVService]: Plugin: ComSkipLauncher disabled
    2008-07-22 18:08:51.136600 [TVService]: Plugin: ConflictsManager started
    2008-07-22 18:08:51.136600 [TVService]: plugin: ConflictsManager started
    2008-07-22 18:08:51.136600 [TVService]: Plugin: Power Scheduler started
    2008-07-22 18:08:51.136600 [TVService]: PowerScheduler: Registered PowerScheduler service to GlobalServiceProvider
    2008-07-22 18:08:51.152200 [TVService]: PowerScheduler: Registered PowerScheduler as PowerEventHandler to tvservice
    2008-07-22 18:08:51.152200 [TVService]: PowerScheduler: Registered default set of standby/resume handlers to PowerScheduler
    2008-07-22 18:08:51.152200 [TVService]: PowerScheduler: Registered PowerScheduler as "PowerControl" remoting service
    2008-07-22 18:08:51.167800 [TVService]: PowerScheduler: extensive logging enabled: True
    2008-07-22 18:08:51.167800 [TVService]: PowerScheduler: entering standby is enabled: True
    2008-07-22 18:08:51.167800 [TVService]: PowerScheduler: automatic wakeup is enabled: True
    2008-07-22 18:08:51.183400 [TVService]: PowerScheduler: force shutdown enabled: True
    2008-07-22 18:08:51.183400 [TVService]: PowerScheduler: Run external command before standby / after resume: 
    2008-07-22 18:08:51.199000 [TVService]: PowerScheduler: idle timeout set to: 15 minutes
    2008-07-22 18:08:51.199000 [TVService]: PowerScheduler: pre-wakeup time set to: 60 seconds
    2008-07-22 18:08:51.199000 [TVService]: PowerScheduler: pre-no-shutdown time set to: 300 seconds
    2008-07-22 18:08:51.214600 [TVService]: PowerScheduler: Check interval set to 60 seconds
    2008-07-22 18:08:51.214600 [TVService]: PowerScheduler: Shutdown mode set to Suspend
    2008-07-22 18:08:51.230200 [TVService]: PowerScheduler: Standby allowed until 24 o' clock
    2008-07-22 18:08:51.245800 [TVService]: PowerScheduler: preventing standby for process: SetupTv
    2008-07-22 18:08:51.245800 [TVService]: PowerScheduler: preventing standby for process: Configuration
    2008-07-22 18:08:51.261400 [TVService]: PowerScheduler: preventing standby when grabbing EPG: True
    2008-07-22 18:08:51.261400 [TVService]: PowerScheduler: wakeup system for EPG grabbing: True
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: wakeup system for EPG at time: 5:0
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG wakeup on day Monday
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG wakeup on day Tuesday
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG wakeup on day Wednesday
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG wakeup on day Thursday
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG wakeup on day Friday
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG wakeup on day Saturday
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG wakeup on day Sunday
    2008-07-22 18:08:51.277000 [TVService]: PowerScheduler: EPG last run: 22.07.2008 17:29:07
    2008-07-22 18:08:51.277000 [TVService]: Powerscheduler: started
    2008-07-22 18:08:51.292600 [TVService]: Plugin: ServerBlaster disabled
    2008-07-22 18:08:51.292600 [TVService]: Plugin: TV Movie EPG import disabled
    2008-07-22 18:08:51.292600 [TVService]: Plugin: XmlTv disabled
    2008-07-22 18:08:51.292600 [TVService]: Controller: setup HeartBeat Monitor
    2008-07-22 18:08:51.308200 [TVService]: Controller: initalized
    2008-07-22 18:08:51.308200 [TVService]: Controller: TVServer initilized okay
    2008-07-22 18:08:51.308200 [HeartBeatMonitor]: Controller: Heartbeat Monitor initiated, max timeout allowed is 30 sec.
    2008-07-22 18:08:51.511000 [TVService]: TV service started
    2008-07-22 18:09:00.585600 [10]: PowerScheduler: RegisterRemote tag: 1, uris: http://localhost:31458/07a1969e_0248_4da1_b1da_617a7c459846/kj9q7fdwq4pwcsdakbbwk_vg_1.rem, http://localhost:31458/07a1969e_0248_4da1_b1da_617a7c459846/kj9q7fdwq4pwcsdakbbwk_vg_1.rem
    2008-07-22 18:09:25.599600 [10]: PowerScheduler: User input detected at 22.07.2008 18:09:00
    2008-07-22 18:09:51.258600 [5]: PowerScheduler: lastUserTime: 18:09:00.5866 , False
    2008-07-22 18:09:53.334600 [5]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:31.12.9999 23:59:59
    2008-07-22 18:09:53.378600 [5]: PowerScheduler.NextWakeupTime: inspecting handler:ScheduledRecordingsHandler time:31.12.9999 23:59:59
    2008-07-22 18:09:53.384600 [5]: PowerScheduler.NextWakeupTime: inspecting handler:EpgGrabbingHandler time:23.07.2008 05:00:00
    2008-07-22 18:09:53.390600 [5]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:31.12.9999 23:59:59
    2008-07-22 18:09:53.390600 [5]: PowerScheduler: new next wakeup time 23.07.2008 05:00:00 found by EpgGrabbingHandler
    2008-07-22 18:09:53.391600 [5]: PowerScheduler: System changed from busy state to idle state
    2008-07-22 18:09:53.392600 [5]: PowerScheduler: lastUserTime: 18:09:00.5866 , False
    2008-07-22 18:10:30.517600 [PowerEventThread]: OnPowerEvent: PowerStatus: Suspend
    2008-07-22 18:10:30.520600 [PowerEventThread]: PowerScheduler: System is going to standby
    2008-07-22 18:10:30.529600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:31.12.9999 23:59:59
    2008-07-22 18:10:30.543600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:ScheduledRecordingsHandler time:31.12.9999 23:59:59
    2008-07-22 18:10:30.543600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:EpgGrabbingHandler time:23.07.2008 05:00:00
    2008-07-22 18:10:30.547600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:31.12.9999 23:59:59
    2008-07-22 18:10:30.624600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:31.12.9999 23:59:59
    2008-07-22 18:10:30.642600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:ScheduledRecordingsHandler time:31.12.9999 23:59:59
    2008-07-22 18:10:30.642600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:EpgGrabbingHandler time:23.07.2008 05:00:00
    2008-07-22 18:10:30.646600 [PowerEventThread]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:31.12.9999 23:59:59
    2008-07-22 18:10:30.649600 [PowerEventThread]: PowerScheduler: Set wakeup timer to wakeup system in 648,489223333333 minutes
    2008-07-22 18:10:32.307600 [10]: PowerScheduler: UnregisterRemote StandbyHandler 1
    2008-07-22 18:10:32.308600 [10]: PowerScheduler: UnregisterRemote WakeupHandler 1
    Please help.

    Stefan
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    282
    Moss
    Norway Norway
    Country flag
    Hi,
    Please attach all logs to your post, it could be EPG handle that triggers it(which starts straight after watching TV)

    Regards
    Roy
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    282
    Moss
    Norway Norway
    Country flag
    Hi,
    Only thing detected are you using remote(probably to shutdown) or something ;)

    2008-07-22 18:07:28.725400 [PowerEventThread]: PowerScheduler.DisAllowShutdown: handler PowerSchedulerClientPlugin wants to prevent standby

    I'll ask bavarian when he is around to have a look @ this thread, maybe he knows a way around it....

    Regards
    Roy
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,546
    432
    Germany Germany
    Country flag
    Yeah i'm using a remote to do a shutdown but why i'm not allowed to shutdown?
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    282
    Moss
    Norway Norway
    Country flag
    Hi,
    Just think it detect it as user input & therefore seen as a "shutdown not allowed" yet, but bavarian can tell more/fix it when it comes to his

    Regards
    Roy
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    282
    Moss
    Norway Norway
    Country flag
    Update,
    Have added it to mantis as a bug(i'm also going to move this to bug part of forum), but not sure if we can do anything with it since we cannot stop vista from suspending when it is triggered manual by remote/case button.

    Regards
    Roy
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    United Kingdom United Kingdom
    Just think it detect it as user input & therefore seen as a "shutdown not allowed"
    That does not work on Vista, it has no user input detection within the current Powerscheduler.

    Stefan

    Does this work if you let TVServer itself go into standby after set delay, will it stay off !!
    Have you got Windows Power saving settings disabled.
    Hope its not the imon remote itself causing the issue, as have seen similar post a while ago, just cannot remember outcome.
    If it does successfully Standby\hibernate, can you resume with remote.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    282
    Moss
    Norway Norway
    Country flag
    PD,
    The log also indicates what we can see in the code, that the PSClient plugin detects that it's not allowed & gives this to TV Server PS which writes the entries in log & set wakeup in 1 min:
    2008-07-22 18:07:28.725400 [PowerEventThread]: PowerScheduler.DisAllowShutdown: handler PowerSchedulerClientPlugin wants to prevent standby
    2008-07-22 18:07:28.728400 [PowerEventThread]: PowerScheduler: Set wakeup timer to wakeup system in 1 minutes
    It's the same if i do this & standbyallowed time it's not reached, wakeup it's set to 1 min.

    Regards
    Roy
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    United Kingdom United Kingdom
    It's the same if i do this & standbyallowed time it's not reached, wakeup it's set to 1 min.
    Is this a 64bit issue only then, just wondering as no problem on my vista32 that i have seen, if using mce remote to standby.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads 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 9
    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
    M.Hulot MP plays in Internal Blu-ray-Player-mode always first audio stream not the one I chosen in settings General Support 1
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    H 1.24.0 MP 1.24 high CPU utilization when 'Keep MediaPortal always on top' option enabled Bugreports 4
    M [Rejected] Always show full hours in TV Guide Feature Requests 2
    M [Duplicate] Always enter full screen when entering TV from main Menu Feature Requests 1
    Terra Videos do not start playing on first attempt, always have to press play twice General Support 9
    HTPCSourcer [fixed] [MP2-794] Genre filtering always displays English strings MediaPortal 2 9
    M Tuner always in use General 2
    W Strange recording behavior - Schedule shows type once when should be always General Support 1
    P Scheduling conflicts General 2
    D Does Schedules Direct work with mp 1.24? General Support 3
    D Trying to get mp 1.24 to recognise Schedules Direct. General Support 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    G Q about scheduling weekly series when epg lists duplicate back to back episodes each week General Support 2
    T TV Recording Schedule General 2
    J Understanding what EPG shows about schedules General 8
    D Please help with getting Schedules Direct to work Newcomers Forum 10
    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
    M Guide mapping schedules direct, tvguide, epg buddy How to get correct entry to the correct channel? Electronic Program Guide 0
    P EPG Schedule hours off TV-Server 0
    Similar threads

























    Top Bottom