Normal
I have created yet another version of the DLL. Together with the earlier changes, the keyboard hook now runs in its own thread. As such, if MediaPortal is busy doing something on the main UI thread, the hook will still be called in time. Of course, if your system is under a really high load and/or paging a lot, a time-out may still occur.<Edit: text removed>Can you please test this DLL and let me know the result? Logs are now less useful for me, as I can't see whether a time-out has occurred (due to disabled recovery mechanism). Just do the same tests as before and check whether you can still get Alt+Enter to trigger full-screen/windowed mode instead of aspect ratio.Edit: Updated DLL; please re-download if you downloaded the attached DLL before 2011-11-19 8:40. The new DLL executes the MapAction method on the main MP UI thread by using GUIGraphicsContext.form.Invoke().Edit: Updated DLL; please re-download if you downloaded the attached DLL before 2011-11-21 16:00. The new DLL should have all possible threading issues fixed, code has been cleaned up, etc. The handler time-out recovery mechanism is still disabled as I think it is not needed anymore now that the keyboard hook is running in its own thread.Edit: Added beta-version of MPE Installer package containing the above DLL for easy installation.Request to everyone using this plugin; if you have the time please test the beta version of the MPE Installer package and let me know whether it works correctly for you. If results are positive I will release a new stable version of the plugin.Edit: Removed attachments; the updated DLL is now released as a regular MPE installation package; see first post.
I have created yet another version of the DLL. Together with the earlier changes, the keyboard hook now runs in its own thread. As such, if MediaPortal is busy doing something on the main UI thread, the hook will still be called in time. Of course, if your system is under a really high load and/or paging a lot, a time-out may still occur.
<Edit: text removed>
Can you please test this DLL and let me know the result? Logs are now less useful for me, as I can't see whether a time-out has occurred (due to disabled recovery mechanism). Just do the same tests as before and check whether you can still get Alt+Enter to trigger full-screen/windowed mode instead of aspect ratio.
Edit: Updated DLL; please re-download if you downloaded the attached DLL before 2011-11-19 8:40. The new DLL executes the MapAction method on the main MP UI thread by using GUIGraphicsContext.form.Invoke().
Edit: Updated DLL; please re-download if you downloaded the attached DLL before 2011-11-21 16:00. The new DLL should have all possible threading issues fixed, code has been cleaned up, etc. The handler time-out recovery mechanism is still disabled as I think it is not needed anymore now that the keyboard hook is running in its own thread.
Edit: Added beta-version of MPE Installer package containing the above DLL for easy installation.
Request to everyone using this plugin; if you have the time please test the beta version of the MPE Installer package and let me know whether it works correctly for you. If results are positive I will release a new stable version of the plugin.
Edit: Removed attachments; the updated DLL is now released as a regular MPE installation package; see first post.