示例#1
0
 def showOpenNFRRedPanel(self):
     if config.plugins.infopanel_redkey.list.value == '0':
         from Plugins.Extensions.Infopanel.Manager import NFRCamManager
         self.session.openWithCallback(self.callEgAction, NFRCamManager)
     elif config.plugins.infopanel_redkey.list.value == '1':
         from Screens.InfoBar import InfoBarRedButton
         InfoBarRedButton.activateRedButton(self)
     elif config.plugins.infopanel_redkey.list.value == '2':
         from Plugins.Extensions.Infopanel.QuickMenu import QuickMenu
         self.session.openWithCallback(self.callEgAction, QuickMenu)
     else:
         from Plugins.Extensions.Infopanel.plugin import Infopanel
         self.session.openWithCallback(self.callEgAction, Infopanel)
示例#2
0
 def showOpenNFRBluePanelLong(self):
     if config.plugins.infopanel_bluekeylong.list.value == '0':
         from Plugins.Extensions.Infopanel.plugin import *
         self.session.openWithCallback(self.callEgAction, Infopanel)
     elif config.plugins.infopanel_bluekeylong.list.value == '1':
         from Screens.InfoBar import InfoBarRedButton
         InfoBarRedButton.activateRedButton(self)
     elif config.plugins.infopanel_bluekeylong.list.value == '2':
         from Plugins.Extensions.Infopanel.QuickMenu import QuickMenu
         self.session.openWithCallback(self.callEgAction, QuickMenu)
     else:
         from Plugins.Extensions.Infopanel.Manager import *
         from Plugins.Extensions.Infopanel.Softcam import *
         self.session.openWithCallback(self.callEgAction, NFRCamManager)
示例#3
0
 def showOpenNFRGreenPanelLong(self):
     if config.plugins.infopanel_greenkeylong.list.value == '0':
         from Screens.About import NetworkInstalledApp
         self.session.openWithCallback(self.callEgAction,
                                       NetworkInstalledApp)
     elif config.plugins.infopanel_greenkeylong.list.value == '1':
         from Plugins.Extensions.Infopanel.Manager import NFRCamManager
         self.session.openWithCallback(self.callEgAction, NFRCamManager)
     elif config.plugins.infopanel_greenkeylong.list.value == '2':
         from Screens.InfoBar import InfoBarRedButton
         InfoBarRedButton.activateRedButton(self)
     elif config.plugins.infopanel_greenkeylong.list.value == '3':
         from Plugins.Extensions.Infopanel.QuickMenu import QuickMenu
         self.session.openWithCallback(self.callEgAction, QuickMenu)
     else:
         from Plugins.Extensions.Infopanel.plugin import Infopanel
         self.session.openWithCallback(self.callEgAction, Infopanel)