aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/PVRState.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-03-07 00:41:05 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-03-07 00:41:05 +0000
commitab5217c2155e480f54fb7762b9362772beda9775 (patch)
tree3079b0de8bf1964511c52779badf0a3a4f426c11 /lib/python/Screens/PVRState.py
parent49a1d515bbd1d2b575d30ee1a1c99e791c8be64b (diff)
downloadenigma2-ab5217c2155e480f54fb7762b9362772beda9775.tar.gz
enigma2-ab5217c2155e480f54fb7762b9362772beda9775.zip
add TimeshiftState screen
Diffstat (limited to 'lib/python/Screens/PVRState.py')
-rw-r--r--lib/python/Screens/PVRState.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Screens/PVRState.py b/lib/python/Screens/PVRState.py
index 6ec0b0be..051d6288 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)