Introduce ConfigPassword class (censored until selected)
[enigma2.git] / lib / python / Components / SystemInfo.py
index f33a8552991fd2eed842ca7c7fa4d590556e54be..c3c8ff361022f68024f50be3780cc8005e06fa6b 100644 (file)
@@ -1,3 +1,5 @@
+from enigma import eDVBResourceManager
+
 SystemInfo = { }
 
 #FIXMEE...
@@ -6,5 +8,7 @@ def getNumVideoDecoders():
        idx = 0
        while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
                idx += 1
+       return idx
 
 SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()
+SystemInfo["CanMeasureFrontendInputPower"] = eDVBResourceManager.getInstance().canMeasureFrontendInputPower()