EventGhostPlus (3 Viewers)

DaBIGOne

Portal Pro
January 16, 2012
59
162
127.0.0.1
Home Country
Netherlands Netherlands
New version (1.1.3.0) available in repository.

Bug fixed: Error on resume from standby.

Feature Added:
Standby and Resume events.
EG%2B%20standby-resume.PNG


Feature Added:
Send Remote Control buttons directly to EventGhostPlus (v 1.02 of the EventGhost plugin MediaPortalMessageSender required, also in repository).
No more need for local eventghost on the HTPC for small commands to the HTPC like pause the video on a certain event.

When you use the remote extensively to control MediaPortal it's advised to keep using local EventGhost with the MediaPortal plugin.
SendRemoteButton.PNG
 
Last edited:

DaBIGOne

Portal Pro
January 16, 2012
59
162
127.0.0.1
Home Country
Netherlands Netherlands
New version of MediaPortalMessageSender (v 1.03) in repository.
To be clear, this is the plugin for EventGhost.

Bug fixed:
Sending multiple messages in 1 macro causes EventGhostPlus to hang.

You can now safely send multiple messages (Message or Remote Button) in 1 macro, or trigger multiple macros (with messages) with 1 event without EventGhostPlus hanging.
 

DoXer

MP Donator
  • Premium Supporter
  • October 14, 2007
    271
    16
    Home Country
    Germany Germany
    Hi,
    is there a possibility to get an event if MP client activates the screensaver?
     

    DaBIGOne

    Portal Pro
    January 16, 2012
    59
    162
    127.0.0.1
    Home Country
    Netherlands Netherlands
    There have been multiple requests for this feature already, and I would like that too.
    But as of yet I was not able to get a trigger from the screensaver when it starts or stops screensaving.

    It's on the list, but it's a tricky one.
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    There have been multiple requests for this feature already, and I would like that too.
    But as of yet I was not able to get a trigger from the screensaver when it starts or stops screensaving.

    It's on the list, but it's a tricky one.
    Use SystemParamertsInfo to detect if the screen saver is running (SPI_GETSCREENSAVERRUNNING). Check http://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx#Screensaver for more details.

    Or if you want to be informed when it kicks in listen to WM_SYSCOMMAND with WParam SC_SCREENSAVE

    Or do you mean the screen blanking inside MP? This can be checked over the public method GUIGraphicsContext.BlankScreen() if it is active.

    Blanking the screen inside MP is done over:
    Code:
    Win32API.SendMessageA(Form.ActiveForm.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, value ? MONITOR_OFF : MONITOR_ON);
    So you get a proper WM_SYSCOMMAND event anyway you can check. I would leave GUIGraphicsContext alone here and just process the relevant system messages.

    Actually the screen blanking in MP is a feature that should be removed and some handling in regards to the Win screen saver added. There are a few glitches that it kicks in when it should not. It is as simple to fix as adding a single line of code.

    MP's "screen saveing" will kick the bucket as it is really a not needed features that just complicates MP's setup for user and also the code.

    It brings nothing to the table in regards to MP. The power management of mainboards, CPUs and GPUs advanced that much since the release of XP that this stuff should be removed from the MP code base. That code snipped is from that time where it was OK to have such things.

    Any other event you are having trouble with? With the recent work on the Main MP message loop I am very fluent about this stuff.
     
    Last edited:

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    Let me know if you need more information or help with dealing with the events in a WndProc().
     

    Zepar

    Portal Member
    January 6, 2009
    32
    2
    Home Country
    Germany Germany
    Dear folks...

    i am totally lost with my re-installation. since 3 hours i am trying to get my mce-remote working.... without success.
    can anyone give me a hint, where i'm going the wrong direction or missing something?

    installed win7x64
    installed mp1.3
    installed eventghost
    added plugin "microsoft mce remote vista/win7"
    installed alternatemcirservice
    installed mp-plugin eventghostplus
    added eg-plugin "mediaportal message sender"

    so whats missing at that point? how to configure the message-sender-plugin and the eventghostplus-plugin?



    Zepar
     

    Users who are viewing this thread

    Top Bottom