self.__locked = 0
self.hideTimer = eTimer()
- self.hideTimer.timeout.get().append(self.doTimerHide)
+ self.hideTimer.callback.append(self.doTimerHide)
self.hideTimer.start(5000, True)
self.onShow.append(self.__onShow)
})
self.Timer = eTimer()
- self.Timer.timeout.get().append(self.keyOK)
+ self.Timer.callback.append(self.keyOK)
self.Timer.start(3000, True)
class InfoBarNumberZap:
self.timeshift_enabled = 0
self.timeshift_state = 0
self.ts_rewind_timer = eTimer()
- self.ts_rewind_timer.timeout.get().append(self.rewindService)
+ self.ts_rewind_timer.callback.append(self.rewindService)
self.__event_tracker = ServiceEventTracker(screen=self, eventmap=
{
#### DEPRECATED CODE ####
self["BlinkingPoint"] = BlinkingPixmapConditional()
self["BlinkingPoint"].setConnect(self.session.nav.RecordTimer.isRecording)
+ self["BlinkingPoint"].deprecationInfo = (
+ "session.RecordState source, Pixmap renderer and "
+ "ConditionalShowHide/Blink Converter", "2008-02")
#########################
def stopCurrentRecording(self, entry = -1):
if len(self.recording) == 1:
self.setEndtime(0)
else:
- self.session.openWithCallback(self.setEndTime, TimerSelection, list)
+ self.session.openWithCallback(self.setEndtime, TimerSelection, list)
elif answer[1] == "stop":
if len(self.recording) == 1:
self.stopCurrentRecording(0)
######### DEPRECATED CODE ##########
self["NimA"] = Pixmap()
+ self["NimA"].deprecationInfo = (
+ "session.TunerInfo source, Pixmap renderer, TunerInfo/UseMask Converter"
+ ", ValueBitTest(1) Converter and ConditionalShowHide Converter", "2008-02")
self["NimB"] = Pixmap()
+ self["NimB"].deprecationInfo = (
+ "session.TunerInfo source, Pixmap renderer, TunerInfo/UseMask Converter"
+ ", ValueBitTest(2) Converter and ConditionalShowHide Converter", "2008-02")
self["NimA_Active"] = Pixmap()
+ self["NimA_Active"].deprecationInfo = (
+ "session.FrontendInfo source, Pixmap renderer, FrontendInfo/NUMBER Converter"
+ ", ValueRange(1,1) Converter and ConditionalShowHide Converter", "2008-02")
self["NimB_Active"] = Pixmap()
+ self["NimB_Active"].deprecationInfo = (
+ "session.FrontendInfo source, Pixmap renderer, FrontendInfo/NUMBER Converter"
+ ", ValueRange(1,1) Converter and ConditionalShowHide Converter", "2008-02")
res_mgr = eDVBResourceManager.getInstance()
if res_mgr:
<widget source="global.CurrentTime" render="Label" position="62,46" size="82,18" font="Regular;16" >
<convert type="ClockToText">WithSeconds</convert>
</widget>
+ <widget source="session.RecordState" render="FixedLabel" text=" " position="62,46" size="82,18" zPosition="1" >
+ <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
+ <convert type="ConditionalShowHide">Blink</convert>
+ </widget>
<widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
<convert type="ServiceName">Name</convert>
</widget>
# </widget>
def __init__(self, session, parent):
- Screen.__init__(self, session)
+ Screen.__init__(self, session, parent = parent)
class InfoBarSummarySupport:
def __init__(self):
<widget source="global.CurrentTime" render="Label" position="62,46" size="64,18" font="Regular;16" halign="right" >
<convert type="ClockToText">WithSeconds</convert>
</widget>
+ <widget source="session.RecordState" render="FixedLabel" text=" " position="62,46" size="64,18" zPosition="1" >
+ <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
+ <convert type="ConditionalShowHide">Blink</convert>
+ </widget>
<widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
<convert type="ServiceName">Name</convert>
</widget>
eDVBServicePMTHandler.eventNewProgramInfo: None,
eDVBServicePMTHandler.eventTuned: None,
eDVBServicePMTHandler.eventSOF: None,
- eDVBServicePMTHandler.eventEOF: None
+ eDVBServicePMTHandler.eventEOF: None,
+ eDVBServicePMTHandler.eventMisconfiguration: _("Service unavailable!\nCheck tuner configuration!"),
}
error = errors.get(error) #this returns None when the key not exist in the dict