projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dont show pip options in extension menu when no pip is available
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
SystemInfo.py
diff --git
a/lib/python/Components/SystemInfo.py
b/lib/python/Components/SystemInfo.py
index
a3b83fd
..
f33a855
100644
(file)
--- a/
lib/python/Components/SystemInfo.py
+++ b/
lib/python/Components/SystemInfo.py
@@
-1
+1,10
@@
-SystemInfo = { }
\ No newline at end of file
+SystemInfo = { }
+
+#FIXMEE...
+def getNumVideoDecoders():
+ from Tools.Directories import fileExists
+ idx = 0
+ while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
+ idx += 1
+
+SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()