X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FTimerEntry.py;fp=lib%2Fpython%2FScreens%2FTimerEntry.py;h=1d40547bc9f718ae211a7b9310d34b349ef9fcc7;hp=9885e700b05c01181448aab09e3b0ee4ba194212;hb=439941c4d23e8384ea334d599b42b338beb7ebd5;hpb=fd083bfb31afb60181b9b6f18e585af1e9e5a3f6 diff --git a/lib/python/Screens/TimerEntry.py b/lib/python/Screens/TimerEntry.py index 9885e70..1d40547 100644 --- a/lib/python/Screens/TimerEntry.py +++ b/lib/python/Screens/TimerEntry.py @@ -94,7 +94,12 @@ class TimerEntry(Screen, ConfigListScreen): weekday = (int(strftime("%w", localtime(self.timer.begin))) - 1) % 7 day[weekday] = 1 - self.timerentry_justplay = ConfigSelection(choices = [("zap", _("zap")), ("record", _("record"))], default = {0: "record", 1: "zap"}[justplay]) + timer_choices = [("zap", _("zap"))] + default = "zap" + if SystemInfo["PVRSupport"]: + timer_choices.append(("record", _("record"))) + default = {0: "record", 1: "zap"}[justplay] + self.timerentry_justplay = ConfigSelection(choices = timer_choices, default = default) if SystemInfo["DeepstandbySupport"]: shutdownString = _("go to deep standby") else: