GMEPG - use GMEPGSelectAction instead EPGSelectAction
authorims <ims21@users.sourceforge.net>
Sun, 3 May 2015 10:12:50 +0000 (12:12 +0200)
committerlittlesat <littlesat99@yahoo.com>
Wed, 6 May 2015 08:31:14 +0000 (10:31 +0200)
Signed-off-by: littlesat <littlesat99@yahoo.com>

data/keymap.xml
lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py

index c174f14..1432f22 100644 (file)
        </map>
 
        <map context="GMEPGSelectActions">
+               <key id="KEY_GREEN" mapto="timerAdd" flags="m"/>
+               <key id="KEY_YELLOW" mapto="yellow" flags="mr"/>
                <key id="KEY_BLUE" mapto="blue" flags="b"/>
                <key id="KEY_BLUE" mapto="blue_long" flags="l"/>
+               <key id="KEY_RED" mapto="red" flags="m"/>
+               <key id="KEY_INFO" mapto="info" flags="m"/>
+               <key id="KEY_EPG" mapto="info" flags="m"/>
+               <key id="KEY_MENU" mapto="menu" flags="m"/>
+               <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m"/>
+               <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m"/>
+               <key id="KEY_NEXT" mapto="nextService" flags="m"/>
+               <key id="KEY_PREVIOUS" mapto="prevService" flags="m"/>
+               <key id="KEY_PROGRAM" mapto="timerAdd" flags="m"/>
+               <key id="KEY_TV" mapto="preview" flags="m"/>
+               <key id="KEY_REWIND" mapto="prevDay" flags="m"/>
+               <key id="KEY_FASTFORWARD" mapto="nextDay" flags="m"/>
        </map>
 
        <map context="EventViewActions">
index b748a9f..4e27663 100644 (file)
@@ -848,11 +848,13 @@ class GraphMultiEPG(Screen, HelpableScreen):
                                "ok":     (self.eventSelected, _("Zap to selected channel, or show detailed event info (depends on configuration)"))
                        }, -1)
                self["okactions"].csel = self
-               self["epgactions"] = HelpableActionMap(self, "EPGSelectActions",
+               self["gmepgactions"] = HelpableActionMap(self, "GMEPGSelectActions",
                        {
                                "timerAdd":    (self.timerAdd,       _("Add/remove change timer for current event")),
                                "info":        (self.infoKeyPressed, _("Show detailed event info")),
                                "red":         (self.zapTo,          _("Zap to selected channel")),
+                               "blue":        (self.togglePrimeNow, _("Goto primetime / now")),
+                               "blue_long":   (self.enterDateTime,  _("Goto specific date/time")),
                                "yellow":      (self.swapMode,       _("Switch between normal mode and list mode")),
                                "menu":        (self.furtherOptions, _("Further Options")),
                                "nextBouquet": (self.nextBouquet, self.getKeyNextBouquetHelptext),
@@ -863,12 +865,6 @@ class GraphMultiEPG(Screen, HelpableScreen):
                                "nextDay":     (self.nextDay,        _("Goto next day of events")),
                                "prevDay":     (self.prevDay,        _("Goto previous day of events"))
                        }, -1)
-               self["epgactions"].csel = self
-               self["gmepgactions"] = HelpableActionMap(self, "GMEPGSelectActions",
-                       {
-                               "blue":        (self.togglePrimeNow, _("Goto primetime / now")),
-                               "blue_long":   (self.enterDateTime,  _("Goto specific date/time"))
-                       }, -1)
                self["gmepgactions"].csel = self
 
                self["inputactions"] = HelpableActionMap(self, "InputActions",