X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9f9398866adac30930d3d485e03d7810309461a9..eb047f3299d45a434c6537ab01dfb3656f686f11:/lib/python/Components/SystemInfo.py diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py index f33a8552..c3c8ff36 100644 --- a/lib/python/Components/SystemInfo.py +++ b/lib/python/Components/SystemInfo.py @@ -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()