nicer code
[enigma2.git] / lib / python / Screens / PVRState.py
1 from Screen import Screen
2
3 from Components.Label import Label
4 from Components.Sources.CurrentService import CurrentService
5
6 class PVRState(Screen):
7         def __init__(self, session):
8                 Screen.__init__(self, session)
9                 
10                 self["state"] = Label(text="")
11
12 class TimeshiftState(PVRState):
13         def __init__(self, session):
14                 PVRState.__init__(self, session)
15                 
16                 self["CurrentService"] = CurrentService(self.session.nav)