from /proc/stb/info/model) (needs new driver info.ko)
--- /dev/null
+class HardwareInfo:
+ def __init__(self):
+ self.device = "unknown"
+ file = open("/proc/stb/info/model", "r")
+ self.device = file.readline().strip()
+
+ def get_device_name(self):
+ return self.device
+
+ device_name = property(get_device_name)
\ No newline at end of file
FuzzyDate.py XMLTools.py Directories.py NumericalTextInput.py \
KeyBindings.py BoundFunction.py ISO639.py Notifications.py __init__.py \
RedirectOutput.py DreamboxHardware.py Import.py Event.py CList.py \
- LoadPixmap.py Profile.py
+ LoadPixmap.py Profile.py HardwareInfo.py