1 from Screen import Screen
2 from Components.ActionMap import ActionMap
3 from Components.Label import Label
4 from Components.Harddisk import Harddisk
5 from Components.NimManager import nimmanager
6 from Components.MenuList import MenuList
7 from Components.About import about
10 def __init__(self, session):
11 Screen.__init__(self, session)
13 self["text"] = Label("Enigma v" + about.getVersionString())
15 self["tuner"] = Label(_("Detected NIMs:"))
17 nims = nimmanager.nimList()
20 self["tuner" + str(count)] = Label(i[0])
23 self["hdd"] = Label(_("Detected HDD:"))
26 self["hddA"] = Label(_("%s (%s, %d MB free)") % (hdd.model(), hdd.capacity(),hdd.free()))
28 self["hddA"] = Label(_("none"))
30 self["actions"] = ActionMap(["SetupActions"],