Hi! I would like to develop a small plugin that "listen" to events in mediaportal and run an arbitrary code. How Can I do that?
This is what I want to do:
1. User install and setup the plugin;
2. User Open MediaPortal, goes to My TV (for example);
3. When user send the key to Pause (Space), my plugin need to run some code;
In pseudo
How can I do that?
This is what I want to do:
1. User install and setup the plugin;
2. User Open MediaPortal, goes to My TV (for example);
3. When user send the key to Pause (Space), my plugin need to run some code;
In pseudo
Code:
#keep listening
#user press Space
if (key_pressed == space && window_id == "My TV")
#some magic goes here
How can I do that?