Its just key map missing if you set to KEY_RED then timer is open by red button
I just cant figure out what the name of the Timer button is
<map context="InfobarTimerButtonActions">
<key id="KEY_PROGRAM" mapto="timerSelection" flags="m"/>
<key id="KEY_RED" mapto="timerSelection" flags="m"/>
</map>
I'm afraid it won't work without major changes to image coding.
I didn't test anything
but there do seem to be big differences in coding
for timer.
What I found was the difference in buttons mapping
but not only that
That button doesn't seem to be in use at all in OBH/VIX coding.
BH
<map context="GlobalActions">
<key id="KEY_VOLUMEUP" mapto="volumeUp" flags="mr" />
<key id="KEY_VOLUMEDOWN" mapto="volumeDown" flags="mr" />
<key id="KEY_MUTE" mapto="volumeMute" flags="mr" />
<key id="KEY_POWER" mapto="power_long" flags="l" />
<key id="KEY_POWER" mapto="power_down" flags="m" />
<key id="KEY_POWER" mapto="power_up" flags="b" />
<key id="KEY_EDIT" mapto="timer_down" flags="m" />
<key id="KEY_EDIT" mapto="timer_up" flags="b" />
<device name="dreambox front panel">
<key id="KEY_POWER" mapto="deepstandby" flags="l" />
</device>
</map>
Button coding in mytest.py BH image
class TimerKey:
def __init__(self, session):
self.session = session
globalActionMap.actions["timer_down"]=self.timerDown
globalActionMap.actions["timer_up"]=self.timerUp
self.timerblocked = 1
If I'm not mistaken
This is not coded at all in OBH/VIX
====================================
i don't know i didn't test
is it possible to use it by adding in OBH
<map context="InfobarTimerButtonActions">
<key id="KEY_PROGRAM" mapto="timerSelection" flags="m"/>
<key id="KEY_RED" mapto="timerSelection" flags="m"/>
<key id="KEY_EDIT" mapto="timerSelection" flags="m" />
</map>