-SystemInfo = { }
\ No newline at end of file
+from enigma import eDVBResourceManager
+
+SystemInfo = { }
+
+#FIXMEE...
+def getNumVideoDecoders():
+ from Tools.Directories import fileExists
+ idx = 0
+ while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
+ idx += 1
+ return idx
+
+SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()
+SystemInfo["CanMeasureFrontendInputPower"] = eDVBResourceManager.getInstance().canMeasureFrontendInputPower()