From: Felix Domke Date: Tue, 7 Mar 2006 00:41:05 +0000 (+0000) Subject: add TimeshiftState screen X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=ab5217c2155e480f54fb7762b9362772beda9775 add TimeshiftState screen --- diff --git a/lib/python/Screens/PVRState.py b/lib/python/Screens/PVRState.py index 6ec0b0b..051d628 100644 --- a/lib/python/Screens/PVRState.py +++ b/lib/python/Screens/PVRState.py @@ -1,6 +1,7 @@ from Screen import Screen from Components.Label import Label +from Components.ServicePosition import ServicePosition from enigma import * @@ -8,4 +9,10 @@ class PVRState(Screen): def __init__(self, session): Screen.__init__(self, session) - self["state"] = Label(text="blub") + self["state"] = Label(text="") + +class TimeshiftState(PVRState): + def __init__(self, session): + PVRState.__init__(self, session) + + self["timeshift"] = ServicePosition(self.session.nav, ServicePosition.TYPE_RELATIVE)