from Components.Pixmap import Pixmap
from Screens.SubserviceSelection import SubserviceSelection
from Screens.MessageBox import MessageBox
from Components.Pixmap import Pixmap
from Screens.SubserviceSelection import SubserviceSelection
from Screens.MessageBox import MessageBox
day[weekday] = 0
config.timerentry.justplay = configElement_nonSave("config.timerentry.justplay", configSelection, justplay, (("zap", _("zap")), ("record", _("record"))))
day[weekday] = 0
config.timerentry.justplay = configElement_nonSave("config.timerentry.justplay", configSelection, justplay, (("zap", _("zap")), ("record", _("record"))))
config.timerentry.type = configElement_nonSave("config.timerentry.type", configSelection, type, (_("once"), _("repeated")))
config.timerentry.name = configElement_nonSave("config.timerentry.name", configText, self.timer.name, (configText.extendableSize, self.keyRightCallback))
config.timerentry.description = configElement_nonSave("config.timerentry.description", configText, self.timer.description, (configText.extendableSize, self.keyRightCallback))
config.timerentry.type = configElement_nonSave("config.timerentry.type", configSelection, type, (_("once"), _("repeated")))
config.timerentry.name = configElement_nonSave("config.timerentry.name", configText, self.timer.name, (configText.extendableSize, self.keyRightCallback))
config.timerentry.description = configElement_nonSave("config.timerentry.description", configText, self.timer.description, (configText.extendableSize, self.keyRightCallback))
if currentConfigSelectionElement(config.timerentry.justplay) != "zap":
self.list.append(getConfigListEntry(_("EndTime"), config.timerentry.endtime))
if currentConfigSelectionElement(config.timerentry.justplay) != "zap":
self.list.append(getConfigListEntry(_("EndTime"), config.timerentry.endtime))
self.channelEntry = getConfigListEntry(_("Channel"), config.timerentry.service)
self.list.append(self.channelEntry)
self.channelEntry = getConfigListEntry(_("Channel"), config.timerentry.service)
self.list.append(self.channelEntry)
self.timer.description = config.timerentry.description.value
self.timer.justplay = (currentConfigSelectionElement(config.timerentry.justplay) == "zap")
self.timer.resetRepeated()
self.timer.description = config.timerentry.description.value
self.timer.justplay = (currentConfigSelectionElement(config.timerentry.justplay) == "zap")
self.timer.resetRepeated()
if (config.timerentry.type.value == 0): # once
self.timer.begin = self.getTimestamp(config.timerentry.startdate.value, config.timerentry.starttime.value)
if (config.timerentry.type.value == 0): # once
self.timer.begin = self.getTimestamp(config.timerentry.startdate.value, config.timerentry.starttime.value)