2011-06-21, 11:25
Following on from my feature request here.
I am thinking this could perhaps be achieved by an addon.
Basically, I want to have a custom menu option e.g Pay TV which will:
Before I start diving into learning python, I just wanted to know if this is possible and/or some tips or ideas on whether this is the best way to achieve such a task.
Specifically:
EDIT: I should note, I am aware of xbmc's built in function to send ir using lirc and this is what I intend to use.
I am thinking this could perhaps be achieved by an addon.
Basically, I want to have a custom menu option e.g Pay TV which will:
- Change the video input
- Convert all xbmc input to ir output (to control stb) based on an alternative keymap
- When a certain button (exit) is pressed the script will change the video input back to xbmc and close
Before I start diving into learning python, I just wanted to know if this is possible and/or some tips or ideas on whether this is the best way to achieve such a task.
Specifically:
- In a script can I listen for all input events?
- What should I use to parse a custom keymap.xml?
- Can I ensure key presses such as PreviousMenu or exit do not interrupt/close the script?
EDIT: I should note, I am aware of xbmc's built in function to send ir using lirc and this is what I intend to use.