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.About import about
8 from Tools.DreamboxHardware import getFPVersion
11 def __init__(self, session):
12 Screen.__init__(self, session)
14 self["text"] = Label("Enigma v" + about.getVersionString())
16 self["tuner"] = Label(_("Detected NIMs:"))
18 fp_version = getFPVersion()
19 if fp_version is None:
22 fp_version = _("Frontprocessor version: %d") % fp_version
24 self["fpVersion"] = Label(fp_version)
26 nims = nimmanager.nimList()
27 for count in range(4):
29 self["tuner" + str(count)] = Label(nims[count])
31 self["tuner" + str(count)] = Label("")
33 self["hdd"] = Label(_("Detected HDD:"))
36 self["hddA"] = Label(_("%s\n(%s, %d MB free)") % (hdd.model(), hdd.capacity(),hdd.free()))
38 self["hddA"] = Label(_("none"))
40 self["actions"] = ActionMap(["SetupActions"],