f33a8552991fd2eed842ca7c7fa4d590556e54be
[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
10 SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()