From: ghost Date: Thu, 3 Dec 2009 15:37:52 +0000 (+0100) Subject: Components/SystemInfo.py: add new SystemInfo entry "DeepstandbySupport" X-Git-Tag: 2.7.0~32^2~17^2~2 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/d6a27dd3d6f51434d5dce98477be2722b91450e3?ds=sidebyside Components/SystemInfo.py: add new SystemInfo entry "DeepstandbySupport" --- diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py index d2b405a2..f9c4065f 100644 --- a/lib/python/Components/SystemInfo.py +++ b/lib/python/Components/SystemInfo.py @@ -1,5 +1,6 @@ from enigma import eDVBResourceManager from Tools.Directories import fileExists +from Tools.HardwareInfo import HardwareInfo SystemInfo = { } @@ -27,3 +28,4 @@ def countFrontpanelLEDs(): SystemInfo["NumFrontpanelLEDs"] = countFrontpanelLEDs() SystemInfo["FrontpanelDisplay"] = fileExists("/dev/dbox/oled0") or fileExists("/dev/dbox/lcd0") SystemInfo["FrontpanelDisplayGrayscale"] = fileExists("/dev/dbox/oled0") +SystemInfo["DeepstandbySupport"] = HardwareInfo().get_device_name() != "dm800"