set hdd standby value for all hdds (not working on hotplug devices,
[enigma2.git] / lib / python / Components / Harddisk.py
index 9c695a2..dfc262d 100644 (file)
@@ -203,6 +203,12 @@ class Harddisk:
                        return -3
 
                return 0
                        return -3
 
                return 0
+       
+       def getDeviceDir(self):
+               return self.devidex
+       
+       def getDeviceName(self):
+               return self.getDeviceDir() + "disc"
 
 class Partition:
        def __init__(self, mountpoint, description = "", force_mounted = False):
 
 class Partition:
        def __init__(self, mountpoint, description = "", force_mounted = False):