repeated = 0
config.timerentry.type = configElement_nonSave("config.timerentry.type", configSelection, type, (_("once"), _("repeated")))
repeated = 0
config.timerentry.type = configElement_nonSave("config.timerentry.type", configSelection, type, (_("once"), _("repeated")))
config.timerentry.description = configElement_nonSave("config.timerentry.description", configText, self.timer.description, (configText.extendableSize, self.keyRightCallback))
config.timerentry.repeated = configElement_nonSave("config.timerentry.repeated", configSelection, repeated, (_("daily"), _("weekly"), _("Mon-Fri"), _("user defined")))
config.timerentry.description = configElement_nonSave("config.timerentry.description", configText, self.timer.description, (configText.extendableSize, self.keyRightCallback))
config.timerentry.repeated = configElement_nonSave("config.timerentry.repeated", configSelection, repeated, (_("daily"), _("weekly"), _("Mon-Fri"), _("user defined")))
- self.list.append(getConfigListEntry(_("Timer Type"), config.timerentry.type))
+ self.timerTypeEntry = getConfigListEntry(_("Timer Type"), config.timerentry.type)
+ self.list.append(self.timerTypeEntry)
- self.list.append(getConfigListEntry(_("Frequency"), config.timerentry.repeated))
+ self.frequencyEntry = getConfigListEntry(_("Frequency"), config.timerentry.repeated)
+ self.list.append(self.frequencyEntry)
if (config.timerentry.repeated.value == 0): # daily
pass
if (config.timerentry.repeated.value == 2): # Mon-Fri
if (config.timerentry.repeated.value == 0): # daily
pass
if (config.timerentry.repeated.value == 2): # Mon-Fri
self["config"].list = self.list
self["config"].l.setList(self.list)
def newConfig(self):
print self["config"].getCurrent()
self["config"].list = self.list
self["config"].l.setList(self.list)
def newConfig(self):
print self["config"].getCurrent()
self.session.openWithCallback(self.finishedChannelSelection, ChannelSelection.SimpleChannelSelection, _("Select channel to record from"))
def finishedChannelSelection(self, args):
self.session.openWithCallback(self.finishedChannelSelection, ChannelSelection.SimpleChannelSelection, _("Select channel to record from"))
def finishedChannelSelection(self, args):