openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Components.SystemInfo Namespace Reference

Classes

class  BoxInformation
 

Functions

def getBoxDisplayName ()
 
def getNumVideoDecoders ()
 
def countFrontpanelLEDs ()
 
def haveInitCam ()
 
def getRCFile (ext)
 
def getModuleLayout ()
 
def Check_Softcam_Emu ()
 
def Check_Softcam ()
 
def Check_SysSoftcam ()
 
def Refresh_SysSoftCam ()
 
def GetBoxName ()
 

Variables

 MODULE_NAME = __name__.split(".")[-1]
 
string SOFTCAM = "/etc/init.d/softcam"
 
string NOEMU = "/etc/enigma2/noemu"
 
dictionary SystemInfo = {}
 
 BoxInfo = BoxInformation()
 
 ARCHITECTURE = BoxInfo.getItem("architecture")
 
 BRAND = BoxInfo.getItem("brand")
 
 MODEL = BoxInfo.getItem("model")
 
 SOC_FAMILY = BoxInfo.getItem("socfamily")
 
 DISPLAYTYPE = BoxInfo.getItem("displaytype")
 
 MTDROOTFS = BoxInfo.getItem("mtdrootfs")
 
 DISPLAYMODEL = BoxInfo.getItem("displaymodel")
 
 DISPLAYBRAND = BoxInfo.getItem("displaybrand")
 
 MACHINEBUILD = BoxInfo.getItem("machinebuild")
 
int repeat = 400
 
 branch = getE2Rev()
 
list commitLogs
 
 canImageBackup = not MACHINEBUILD.startswith('az') and not BRAND.startswith('cube') and not BRAND.startswith('wetek') and not MACHINEBUILD.startswith('alien')
 

Function Documentation

◆ Check_Softcam()

def Components.SystemInfo.Check_Softcam ( )

◆ Check_Softcam_Emu()

def Components.SystemInfo.Check_Softcam_Emu ( )

◆ Check_SysSoftcam()

def Components.SystemInfo.Check_SysSoftcam ( )

◆ countFrontpanelLEDs()

def Components.SystemInfo.countFrontpanelLEDs ( )

◆ getBoxDisplayName()

def Components.SystemInfo.getBoxDisplayName ( )

◆ GetBoxName()

def Components.SystemInfo.GetBoxName ( )

◆ getModuleLayout()

def Components.SystemInfo.getModuleLayout ( )

◆ getNumVideoDecoders()

def Components.SystemInfo.getNumVideoDecoders ( )

◆ getRCFile()

def Components.SystemInfo.getRCFile (   ext)

◆ haveInitCam()

def Components.SystemInfo.haveInitCam ( )

◆ Refresh_SysSoftCam()

def Components.SystemInfo.Refresh_SysSoftCam ( )

Variable Documentation

◆ ARCHITECTURE

Components.SystemInfo.ARCHITECTURE = BoxInfo.getItem("architecture")

◆ BoxInfo

Components.SystemInfo.BoxInfo = BoxInformation()

◆ branch

string Components.SystemInfo.branch = getE2Rev()

◆ BRAND

Components.SystemInfo.BRAND = BoxInfo.getItem("brand")

◆ canImageBackup

Components.SystemInfo.canImageBackup = not MACHINEBUILD.startswith('az') and not BRAND.startswith('cube') and not BRAND.startswith('wetek') and not MACHINEBUILD.startswith('alien')

◆ commitLogs

list Components.SystemInfo.commitLogs
Initial value:
1 = [
2  ("openATV Enigma2", "https://api.github.com/repos/openatv/enigma2/commits%s" % branch),
3  ("OE-Alliance Plugins", "https://api.github.com/repos/oe-alliance/oe-alliance-plugins/commits"),
4  ("Enigma2 Plugins", "https://api.github.com/repos/oe-alliance/enigma2-plugins/commits"),
5  ("OpenWebif", "https://api.github.com/repos/E2OpenPlugins/e2openplugin-OpenWebif/commits"),
6  ("MetrixHD Skin", "https://api.github.com/repos/openatv/MetrixHD/commits")
7 ]

◆ DISPLAYBRAND

Components.SystemInfo.DISPLAYBRAND = BoxInfo.getItem("displaybrand")

◆ DISPLAYMODEL

Components.SystemInfo.DISPLAYMODEL = BoxInfo.getItem("displaymodel")

◆ DISPLAYTYPE

Components.SystemInfo.DISPLAYTYPE = BoxInfo.getItem("displaytype")

◆ MACHINEBUILD

Components.SystemInfo.MACHINEBUILD = BoxInfo.getItem("machinebuild")

◆ MODEL

Components.SystemInfo.MODEL = BoxInfo.getItem("model")

◆ MODULE_NAME

Components.SystemInfo.MODULE_NAME = __name__.split(".")[-1]

◆ MTDROOTFS

Components.SystemInfo.MTDROOTFS = BoxInfo.getItem("mtdrootfs")

◆ NOEMU

string Components.SystemInfo.NOEMU = "/etc/enigma2/noemu"

◆ repeat

int Components.SystemInfo.repeat = 400

◆ SOC_FAMILY

Components.SystemInfo.SOC_FAMILY = BoxInfo.getItem("socfamily")

◆ SOFTCAM

string Components.SystemInfo.SOFTCAM = "/etc/init.d/softcam"

◆ SystemInfo

dictionary Components.SystemInfo.SystemInfo = {}