Quantcast
Channel: [EN] Enduser support
Viewing all articles
Browse latest Browse all 10554

GraphMultiEpg and InfoBarGenerics

$
0
0

Hi In 2013 I edited InfoBarGenerics and added such lines 'showGraphEPG': (self.openGraphEPG, _('Graphical Multi EPG')), and def openGraphEPG(self)::

 



    def __init__(self):
        self.is_now_next = False
        self.dlg_stack = []
        self.bouquetSel = None
        self.eventView = None
        self.epglist = []
        self.defaultEPGType = self.getDefaultEPGtype()
        self.defaultGuideType = self.getDefaultGuidetype()
        self.__event_tracker = ServiceEventTracker(screen=self, eventmap={iPlayableService.evUpdatedEventInfo: self.__evEventInfoChanged})
        self['EPGActions'] = HelpableActionMap(self, 'InfobarEPGActions', {'showEventInfo': (self.showDefaultEPG, _('Show EPG...')),
         'showEventInfoSingleEPG': (self.showSingleEPG, _('Show single service EPG')),
         'showEventInfoMultiEPG': (self.showMultiEPG, _('Show multi channel EPG')),
         'showEventInfoPlugin': (self.showEventInfoPlugins, _('List EPG functions...')),
         'showEventGuidePlugin': (self.showEventGuidePlugins, _('List EPG functions...')),
         'showGraphEPG': (self.openGraphEPG, _('Graphical Multi EPG')),
         'showInfobarOrEpgWhenInfobarAlreadyVisible': self.showEventInfoWhenNotVisible})
        return

	def openGraphEPG(self):
		for p in plugins.getPlugins(where = PluginDescriptor.WHERE_EVENTINFO):
			if p.name == _("Graphical Multi EPG"):
				self.runPlugin(p)
				break

Then I was able to use showGraphEPG in keymap.xml to be run from EPG key. I know that I could change default EPG type from openpli menu and connect GraphMultiEPG to 'showEventInfo'. But I dont want to do this because I like  'showEventInfo' to show default "Description for acutal event". It worked great till yesterday when I performed openpli update. InfoBarGenerics changed, so I added my lines to this new decompyled InfoBarGenerics but it causes greenscreen. Maybe someone would know what is te reason for such situation.


Viewing all articles
Browse latest Browse all 10554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>