"finished" message also when skipping configuration backup
[enigma2.git] / lib / python / Components / SystemInfo.py
1 from enigma import eDVBResourceManager
2
3 SystemInfo = { }
4
5 #FIXMEE...
6 def getNumVideoDecoders():
7         from Tools.Directories import fileExists
8         idx = 0
9         while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'f'):
10                 idx += 1
11         return idx
12
13 SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()
14 SystemInfo["CanMeasureFrontendInputPower"] = eDVBResourceManager.getInstance().canMeasureFrontendInputPower()