git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix multiple menu jobs, allow title adding without cutlist editor
[enigma2.git]
/
lib
/
python
/
Components
/
SystemInfo.py
diff --git
a/lib/python/Components/SystemInfo.py
b/lib/python/Components/SystemInfo.py
index f33a8552991fd2eed842ca7c7fa4d590556e54be..c3c8ff361022f68024f50be3780cc8005e06fa6b 100644
(file)
--- a/
lib/python/Components/SystemInfo.py
+++ b/
lib/python/Components/SystemInfo.py
@@
-1,3
+1,5
@@
+from enigma import eDVBResourceManager
+
SystemInfo = { }
#FIXMEE...
SystemInfo = { }
#FIXMEE...
@@
-6,5
+8,7
@@
def getNumVideoDecoders():
idx = 0
while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
idx += 1
idx = 0
while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
idx += 1
+ return idx
SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()
SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()
+SystemInfo["CanMeasureFrontendInputPower"] = eDVBResourceManager.getInstance().canMeasureFrontendInputPower()