844c9544a1fae4965bb6f31db8821ae2247a89a5
[enigma2.git] / lib / python / Components / SystemInfo.py
1 SystemInfo = { }
2
3 #FIXMEE...
4 def getNumVideoDecoders():
5         from Tools.Directories import fileExists
6         idx = 0
7         while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
8                 idx += 1
9         return idx
10
11 SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()