diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-22 20:53:34 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-22 20:53:34 +0100 |
| commit | 65d84bb0627f0e3e21fcdae27ba98cb584d7ad37 (patch) | |
| tree | 1727ef1a42ae871ee7c50385da649bf2aedd8e94 /lib/python/Screens/TimerEdit.py | |
| parent | 6a6995ef922369c7867b5ee75ada6eba32fac711 (diff) | |
| download | enigma2-65d84bb0627f0e3e21fcdae27ba98cb584d7ad37.tar.gz enigma2-65d84bb0627f0e3e21fcdae27ba98cb584d7ad37.zip | |
add possibility to remove timers in epglist
TODO: this is not working for subtitles yet and not its working in graphical multi epg
Diffstat (limited to 'lib/python/Screens/TimerEdit.py')
| -rw-r--r-- | lib/python/Screens/TimerEdit.py | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index 18ab2b79..59e2bd03 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -214,18 +214,6 @@ class TimerEditList(Screen): timer = cur timer.afterEvent = AFTEREVENT.NONE self.session.nav.RecordTimer.removeEntry(timer) - if not timer.dontSave: - for timer in self.session.nav.RecordTimer.timer_list: - if timer.dontSave and timer.autoincrease: - timer.end = timer.begin + (3600 * 24 * 356 * 1) - self.session.nav.RecordTimer.timeChanged(timer) - timersanitycheck = TimerSanityCheck(self.session.nav.RecordTimer.timer_list,timer) - if not timersanitycheck.check(): - tsc_list = timersanitycheck.getSimulTimerList() - if len(tsc_list) > 1: - timer.end = tsc_list[1].begin - 30 - self.session.nav.RecordTimer.timeChanged(timer) - self.refill() self.updateState() @@ -261,6 +249,7 @@ class TimerEditList(Screen): def addTimer(self, timer): self.session.openWithCallback(self.finishedAdd, TimerEntry, timer) + def finishedEdit(self, answer): print "finished edit" @@ -335,6 +324,8 @@ class TimerSanityConflict(Screen): self.list.append((_("Conflicting timer") + " " + str(count), x)) self.list2.append((timer[count], False)) count += 1 + if count == 1: + self.list.append((_("Channel not in services list"))) self["list"] = MenuList(self.list) self["timer2"] = TimerList(self.list2) |
