-from Screens.Volume import Volume
-from Screens.Mute import Mute
-
-from enigma import *
-
-import time
-
-# hack alert!
-from Menu import MainMenu, mdom
-
-class NumberZap(Screen):
- def quit(self):
- self.Timer.stop()
- self.close()
-
- def keyOK(self):
- self.Timer.stop()
- print "do the action here"
- self.close()
-
- def keyNumberGlobal(self, number):
- self.Timer.start(3000) #reset timer
- self.field = self.field + str(number)
- self["number"].setText(self.field)
-
- def __init__(self, session, number):
- Screen.__init__(self, session)
- self.field = str(number)
-
- self["number"] = Label(self.field)
-
- self["actions"] = NumberActionMap( [ "SetupActions" ],
- {
- "cancel": self.quit,
- "ok": self.keyOK,
- "1": self.keyNumberGlobal,
- "2": self.keyNumberGlobal,
- "3": self.keyNumberGlobal,
- "4": self.keyNumberGlobal,
- "5": self.keyNumberGlobal,
- "6": self.keyNumberGlobal,
- "7": self.keyNumberGlobal,
- "8": self.keyNumberGlobal,
- "9": self.keyNumberGlobal,
- "0": self.keyNumberGlobal
- })
-
- self.Timer = eTimer()
- self.Timer.timeout.get().append(self.keyOK)
- self.Timer.start(3000)
-
-
-class InfoBar(Screen):
- STATE_HIDDEN = 0
- STATE_HIDING = 1
- STATE_SHOWING = 2
- STATE_SHOWN = 3
+from Screens.ChannelSelection import ChannelSelectionRadio
+from Screens.MessageBox import MessageBox
+from Screens.Ci import CiHandler
+
+from Components.Sources.Clock import Clock
+from Components.ActionMap import HelpableActionMap
+from Components.config import config
+from Components.ServiceEventTracker import ServiceEventTracker
+
+from Tools.Notifications import AddNotificationWithCallback
+
+from Screens.InfoBarGenerics import InfoBarShowHide, \
+ InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarRdsDecoder, \
+ InfoBarEPG, InfoBarEvent, InfoBarServiceName, InfoBarSeek, InfoBarInstantRecord, \
+ InfoBarAudioSelection, InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish, \
+ InfoBarSubserviceSelection, InfoBarTuner, InfoBarShowMovies, InfoBarTimeshift, \
+ InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarSimpleEventView, \
+ InfoBarSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions, \
+ InfoBarSubtitleSupport, InfoBarPiP, InfoBarPlugins, InfoBarSleepTimer, InfoBarServiceErrorPopupSupport
+
+from Screens.HelpMenu import HelpableScreen, HelpMenu
+
+from enigma import iPlayableService
+
+class InfoBar(InfoBarShowHide,
+ InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarEPG, InfoBarRdsDecoder,
+ InfoBarEvent, InfoBarServiceName, InfoBarInstantRecord, InfoBarAudioSelection,
+ HelpableScreen, InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish,
+ InfoBarSubserviceSelection, InfoBarTuner, InfoBarTimeshift, InfoBarSeek,
+ InfoBarSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions,
+ InfoBarPiP, InfoBarPlugins, InfoBarSubtitleSupport, InfoBarSleepTimer, InfoBarServiceErrorPopupSupport,
+ Screen):