git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce option that allows limiting recording filename character set to legacy...
[enigma2.git]
/
lib
/
python
/
Components
/
SystemInfo.py
diff --git
a/lib/python/Components/SystemInfo.py
b/lib/python/Components/SystemInfo.py
index 844c9544a1fae4965bb6f31db8821ae2247a89a5..d074c41407ced50ebea7bc509bfc4ddbf1cdf19a 100644
(file)
--- a/
lib/python/Components/SystemInfo.py
+++ b/
lib/python/Components/SystemInfo.py
@@
-1,11
+1,14
@@
+from enigma import eDVBResourceManager
+
SystemInfo = { }
#FIXMEE...
def getNumVideoDecoders():
from Tools.Directories import fileExists
idx = 0
SystemInfo = { }
#FIXMEE...
def getNumVideoDecoders():
from Tools.Directories import fileExists
idx = 0
- while fileExists("/dev/dvb/adapter0/video%d"%(idx), '
w
'):
+ while fileExists("/dev/dvb/adapter0/video%d"%(idx), '
f
'):
idx += 1
return idx
SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()
idx += 1
return idx
SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()
+SystemInfo["CanMeasureFrontendInputPower"] = eDVBResourceManager.getInstance().canMeasureFrontendInputPower()