MPstandbyHandler (1 Viewer)

Good morning,

i'm having a little problem with mpstandbyhandler. Maybe some1 can solve the issue for me or point me in the right direction. :)

System Setup:
- Windows 7 X86
- Digital Devices Cine S2
- Media Portal Newest Version
- StreamedMP Skin Newest Version

First of all. This is only a cosmetic issue. Timer triggered events run fine with mpstandbyhandler in conjunktion with powerscheduler.
When i wake up my htpc manually the mpstandbyhandler resume_job starts. Unfortunately the last resume item is not triggered right. Mediaportal is not started.

First of all my resume_job config:

- TV Service Stop (Order (0), RebootAllowed (False) Delay (0) Timeout (20) Killimmediately (True)
- HardwareDeviceRestart (Order (1), RebootAllowed (False) Delay (0) Timeout (9)
- HardwareDeviceRestart (Order (2), RebootAllowed (False) Delay (0) Timeout (9)
- HardwareDeviceRestart (Order (3), RebootAllowed (False) Delay (0) Timeout (9)
(restarting all 3 DD Cine S2 gadgets)

- NetworkCheck (Order (4), RebootAllowed (False) Delay (0) Timeout (20)
- TVServiceStart (Order (5), RebootAllowed (False) Delay (0) Timeout (20)
- MediaportalStart (Order (6), RebootAllowed (False) Delay (0) Timeout (20) SetFocus (True) AlwaysStart (False)


Service Log MPStandbyHandler
Code:
29.10.2010 07:24:37 - INFO	System PowerEvent: ResumeAutomatic
29.10.2010 07:24:48 - INFO	OnResume
29.10.2010 07:24:48 - INFO	Job Load - Loaded RESUME job TVServiceStop
29.10.2010 07:24:48 - INFO	Job Load - Loaded RESUME job HardwareDeviceRestart
29.10.2010 07:24:48 - INFO	Job Load - Loaded RESUME job HardwareDeviceRestart
29.10.2010 07:24:48 - INFO	Job Load - Loaded RESUME job HardwareDeviceRestart
29.10.2010 07:24:48 - INFO	Job Load - Loaded RESUME job NetworkCheck
29.10.2010 07:24:48 - INFO	Job Load - Loaded RESUME job TVServiceStart
29.10.2010 07:24:48 - INFO	Job Load - Loaded RESUME job MediaportalStart
29.10.2010 07:24:48 - INFO	RemoteClient - Sending: SPLASH==Running TVServiceStop
29.10.2010 07:24:48 - INFO	RemoteClient - Server returned command SPLASH==Running TVServiceStop successfully identified
29.10.2010 07:24:48 - INFO	Process Stop - Trying to KILL TvService (20s) (id:3284)
29.10.2010 07:24:52 - INFO	Process Stop - Successfully terminated TvService (id:3284)
29.10.2010 07:24:52 - INFO	RemoteClient - Sending: SPLASH==Running HardwareDeviceRestart
29.10.2010 07:24:52 - INFO	RemoteClient - Server returned command SPLASH==Running HardwareDeviceRestart successfully identified
29.10.2010 07:24:52 - INFO	HardwareDeviceRestart - Trying to restart: Digital Devices Ngene Base Device (v5)
29.10.2010 07:24:53 - INFO	System PowerEvent: ResumeSuspend
29.10.2010 07:24:53 - INFO	OnResume - Already resuming
29.10.2010 07:24:53 - INFO	HardwareDeviceRestart - Device successfully disabled: Digital Devices Ngene Base Device (v5)
29.10.2010 07:24:53 - INFO	HardwareDeviceRestart - Waiting 9s before trying to enable: Digital Devices Ngene Base Device (v5)
29.10.2010 07:25:02 - INFO	HardwareDeviceRestart - Device successfully enabled again: Digital Devices Ngene Base Device (v5)
29.10.2010 07:25:02 - INFO	RemoteClient - Sending: SPLASH==Running HardwareDeviceRestart
29.10.2010 07:25:02 - INFO	RemoteClient - Server returned command SPLASH==Running HardwareDeviceRestart successfully identified
29.10.2010 07:25:02 - INFO	HardwareDeviceRestart - Trying to restart: Digital Devices Ngene DVB-S/S2 Tuner (v5)
29.10.2010 07:25:05 - INFO	HardwareDeviceRestart - Device successfully disabled: Digital Devices Ngene DVB-S/S2 Tuner (v5)
29.10.2010 07:25:05 - INFO	HardwareDeviceRestart - Waiting 9s before trying to enable: Digital Devices Ngene DVB-S/S2 Tuner (v5)
29.10.2010 07:25:15 - INFO	HardwareDeviceRestart - Device successfully enabled again: Digital Devices Ngene DVB-S/S2 Tuner (v5)
29.10.2010 07:25:15 - INFO	RemoteClient - Sending: SPLASH==Running HardwareDeviceRestart
29.10.2010 07:25:15 - INFO	RemoteClient - Server returned command SPLASH==Running HardwareDeviceRestart successfully identified
29.10.2010 07:25:15 - INFO	HardwareDeviceRestart - Trying to restart: Digital Devices Ngene Ngene Capture Device (v5)
29.10.2010 07:25:15 - INFO	HardwareDeviceRestart - Device successfully disabled: Digital Devices Ngene Ngene Capture Device (v5)
29.10.2010 07:25:15 - INFO	HardwareDeviceRestart - Waiting 9s before trying to enable: Digital Devices Ngene Ngene Capture Device (v5)
29.10.2010 07:25:24 - INFO	HardwareDeviceRestart - Device successfully enabled again: Digital Devices Ngene Ngene Capture Device (v5)
29.10.2010 07:25:24 - INFO	RemoteClient - Sending: SPLASH==Running NetworkCheck
29.10.2010 07:25:24 - INFO	RemoteClient - Server returned command SPLASH==Running NetworkCheck successfully identified
29.10.2010 07:25:24 - INFO	NetworkCheck - Waiting 20s for network interface Loopback Pseudo-Interface 1
29.10.2010 07:25:25 - INFO	Check Network Connection - Interface Loopback Pseudo-Interface 1 is UP
29.10.2010 07:25:25 - INFO	NetworkCheck - Skipping ping test, no hostname specified
29.10.2010 07:25:25 - INFO	RemoteClient - Sending: SPLASH==Running TVServiceStart
29.10.2010 07:25:25 - INFO	RemoteClient - Server returned command SPLASH==Running TVServiceStart successfully identified
29.10.2010 07:25:25 - INFO	Service Start - Trying to start (20s): TVService
29.10.2010 07:25:30 - INFO	Service Start - Successfully started: TVService
29.10.2010 07:25:30 - INFO	RemoteClient - Sending: SPLASH==Running MediaportalStart
29.10.2010 07:25:30 - INFO	RemoteClient - Server returned command SPLASH==Running MediaportalStart successfully identified
29.10.2010 07:25:30 - INFO	RemoteClient - Sending: JOB==RESUME_006_MediaportalStart
29.10.2010 07:25:30 - INFO	RemoteClient - Server returned command JOB==RESUME_006_MediaportalStart successfully identified
29.10.2010 07:25:30 - INFO	OnResume - Done

Maybe you guys have an idea.
The following entries i find a bit strange:

29.10.2010 07:24:37 - INFO System PowerEvent: ResumeAutomatic
29.10.2010 07:24:53 - INFO System PowerEvent: ResumeSuspend
29.10.2010 07:24:53 - INFO OnResume - Already resuming

Is that normal behaviour?
Hoping for some advice/help.

Thx in advance.

Greetings
GermanKraut77
 
Bit of a necro post but I don't think there's anywhere else to ask.

I just noticed this in my event logs

Failed in handling the PowerEvent. The error that occurred was: System.NullReferenceException: Object reference not set to an instance of an object.
at MPstandbyHandlerUtils.Flags.CreateElement(String key, String value)
at MPstandbyHandlerUtils.JobTVServiceStart.PreparationsOnSuspend()
at MPstandbyHandlerService.MpshService.Suspend()
at MPstandbyHandlerService.MpshService.OnPowerEvent(PowerBroadcastStatus powerStatus)
at System.ServiceProcess.ServiceBase.DeferredPowerEvent(Int32 eventType, IntPtr eventData).

This happened at 22:38, which may have been when I woke my PC and the TVService wasn't working. I have MPSH set to stop and start the service, which is necessary for my Nova-T 500 PCI tuner card, so maybe this indicates it failed?
 
I've been experiencing this also. I wake my htpc from S3 standby, go straight to online videos and the video playback has audio but black screen for the first 15-30 seconds. If I open my tv.. There is some delay.. Then it shows up the epg. Only then do online videos playback correctly.. Maybe unrelated but thought I'd mention it.
 
I've been experiencing this also. I wake my htpc from S3 standby, go straight to online videos and the video playback has audio but black screen for the first 15-30 seconds. If I open my tv.. There is some delay.. Then it shows up the epg. Only then do online videos playback correctly.. Maybe unrelated but thought I'd mention it.


Do you have a "Delay in seconds" set in TV Server config - General? I have to use 20s for my Nova-T 500 card, so I guess it's understandable if things take a while to start working after resuming (not to mention TV Service having to stop and restart) and I found that playing a video straight after resuming was very jerky (like 2fps) for 10-15s and then it sorted itself out.
 
it feels like the connection to the tv server (on my other PC) is holding playing any video back.. which is kinda odd.. so I just go into my tv first
 
I've found it wasn't doing the stop/start of TVService on Resume

Code:
26/08/2013 17:09:49 - INFO	System PowerEvent: Suspend
26/08/2013 17:09:49 - INFO	OnSuspend
26/08/2013 17:09:49 - DEBUG	JobTools Load - Loading SUSPEND jobs from C:\ProgramData\MPstandbyHandler\Jobs
26/08/2013 17:09:49 - DEBUG	JobTools Load - Loaded 0 SUSPEND jobs
26/08/2013 17:09:49 - DEBUG	JobTools Load - Loading RESUME jobs from C:\ProgramData\MPstandbyHandler\Jobs
26/08/2013 17:09:49 - DEBUG	Job Load - Job TVServiceStop has 6 properties
26/08/2013 17:09:49 - INFO	Job Load - Loaded RESUME job TVServiceStop
26/08/2013 17:09:49 - DEBUG	Job Load - Job TVServiceStart has 5 properties
26/08/2013 17:09:49 - INFO	Job Load - Loaded RESUME job TVServiceStart
26/08/2013 17:09:49 - DEBUG	JobTools Load - Loaded 2 RESUME jobs
26/08/2013 17:58:44 - INFO	System PowerEvent: ResumeAutomatic
26/08/2013 17:58:44 - WARNING	OnResume - OnResume called but not suspended
26/08/2013 17:58:44 - INFO	System PowerEvent: ResumeSuspend
26/08/2013 17:58:44 - WARNING	OnResume - OnResume called but not suspended
27/08/2013 00:08:50 - INFO	System PowerEvent: Suspend
27/08/2013 00:08:50 - INFO	OnSuspend
27/08/2013 00:08:50 - DEBUG	JobTools Load - Loading SUSPEND jobs from C:\ProgramData\MPstandbyHandler\Jobs
27/08/2013 00:08:50 - DEBUG	JobTools Load - Loaded 0 SUSPEND jobs
27/08/2013 00:08:50 - DEBUG	JobTools Load - Loading RESUME jobs from C:\ProgramData\MPstandbyHandler\Jobs
27/08/2013 00:08:50 - DEBUG	Job Load - Job TVServiceStop has 6 properties
27/08/2013 00:08:50 - INFO	Job Load - Loaded RESUME job TVServiceStop
27/08/2013 00:08:50 - DEBUG	Job Load - Job TVServiceStart has 5 properties
27/08/2013 00:08:50 - INFO	Job Load - Loaded RESUME job TVServiceStart
27/08/2013 00:08:50 - DEBUG	JobTools Load - Loaded 2 RESUME jobs
27/08/2013 10:10:03 - INFO	System PowerEvent: ResumeSuspend
27/08/2013 10:10:03 - WARNING	OnResume - OnResume called but not suspended
27/08/2013 10:10:03 - INFO	System PowerEvent: ResumeAutomatic
27/08/2013 10:10:03 - WARNING	OnResume - OnResume called but not suspended

I see there's a "Check Suspend state on Resume" checkbox so I'll try disabling that. Not sure why it's not working though as there's clearly OnSuspend messages in the log.
 
This application is not really a plugin but a utility to solve some of the Windows standby/hibernate problems with Mediaportal and/or TVService. It is based on lkuech's PowerEventHandler. The difference is that it is customized to work for MP and TVS special purposes.
Trying to download MPstandbyHandler2.0.0.9.zip but all I get is some screwed up html file without content and with .zip extention. Is it deleted?
Use right click on your posted link and "save taget as"
 
[/QUOTE]Use right click on your posted link and "save taget as"[/QUOTE]Did try that.. All I get is
 

Attachments

  • Capture.PNG
    Capture.PNG
    6.7 KB

Users who are viewing this thread

Back
Top Bottom