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