Doubling of events with MediaPortal [+Fix}
Posted: Sat Dec 01, 2012 12:41 am
I ran into a small issue with the MediaPortal plugin, where all events were being doubled. It only happened when MediaPortal actions were being triggered.
I looked into it and somehow the method of hwnd fetching was the culprit (Still not sure why), so I patched the plugin with a slightly different method.
I don't have the original file so I can't post a play by play, but basically we use FindWindow() instead of WindowMatcher()
Updated file attached. Just drop it into the MediaPortal folder of your EventGhost installation.
PS: If anyone feels like verifying that this isn't malicious, feel free!
I looked into it and somehow the method of hwnd fetching was the culprit (Still not sure why), so I patched the plugin with a slightly different method.
I don't have the original file so I can't post a play by play, but basically we use FindWindow() instead of WindowMatcher()
Updated file attached. Just drop it into the MediaPortal folder of your EventGhost installation.
PS: If anyone feels like verifying that this isn't malicious, feel free!