Mit "rot-rot" zweimal hintereinander bekommt man das Auswahlmenü, welches EPG man haben will, also aktueller Kanal oder MultiEPG. Abgesehen davon, dass da ein Sonderfall für den event showEPGList eingebaut wurde, finde ich das auch nicht sonderlich praktisch.
Folgender Patch löst das, in dem showMultiEPG ein eigener event wird, der einer Taste zugewiesen werden kann.
Code: Alles auswählen
Index: src/enigma_main.cpp
===================================================================
RCS file: /cvs/tuxbox/apps/tuxbox/enigma/src/enigma_main.cpp,v
retrieving revision 1.335
diff -u -p -r1.335 enigma_main.cpp
--- src/enigma_main.cpp 20 Apr 2008 09:21:15 -0000 1.335
+++ src/enigma_main.cpp 20 Apr 2008 19:46:10 -0000
@@ -64,8 +64,8 @@ struct enigmaMainActions
{
eActionMap map;
eAction showMainMenu, standby_press, standby_nomenu_press, standby_repeat, standby_release,
- showInfobar, hideInfobar, showInfobarEPG, showServiceSelector,
- showSubservices, showAudioOrPause, showAudio, pluginVTXT, pluginExt, showEPGList, showEPG,
+ showInfobar, hideInfobar, showInfobarEPG, showServiceSelector, showSubservices,
+ showAudioOrPause, showAudio, pluginVTXT, pluginExt, showEPGList, showEPG, showMultiEPG,
nextSubService, prevSubService, nextService, prevService,
playlistNextService, playlistPrevService, serviceListDown,
serviceListUp, volumeUp, volumeDown, toggleMute,
@@ -97,6 +97,7 @@ struct enigmaMainActions
pluginExt(map, "pluginExt", _("show extension Plugins"), eAction::prioDialog),
showEPGList(map, "showEPGList", _("show epg schedule list"), eAction::prioDialog),
showEPG(map, "showEPG", _("show extended info"), eAction::prioDialog),
+ showMultiEPG(map, "showMultiEPG", _("show EPG overview"), eAction::prioDialog),
nextSubService(map, "nextSubService", _("zap to next subService"), eAction::prioDialog),
prevSubService(map, "prevSubService", _("zap to prev subService"), eAction::prioDialog),
nextService(map, "nextService", _("quickzap next"), eAction::prioDialog),
@@ -5551,6 +5552,10 @@ int eZapMain::eventHandler(const eWidget
{
showSelectorStyleEPG();
}
+ else if (event.action == &i_enigmaMainActions->showMultiEPG)
+ {
+ showMultiEPG();
+ }
else if ( subservicesel.quickzapmode() && event.action == &i_enigmaMainActions->nextSubService )
{
if ( flags&ENIGMA_SUBSERVICES )
@@ -5974,7 +5979,7 @@ int eZapMain::eventHandler(const eWidget
while( switchToNum(num) == -1 ) // parental locked
++num;
num = 0;
- }
+ }
return 1;
}
default:
Code: Alles auswählen
<action name="pluginVTXT" key="blue" flags="b" />
- <action name="showEPGList" key="red" flags="m" />
+ <action name="showEPGList" key="red" flags="b" />
+ <action name="showMultiEPG" key="red" flags="r" />
<action name="volumeUp" key="+" flags="mr" />