set hdd standby value for all hdds (not working on hotplug devices,
[enigma2.git] / lib / python / Components / Harddisk.py
index e0b668720c4e9bdf9ee1d260e1399f06d3fd35eb..dfc262d84b889407dcd81c41df5429f3a8980be1 100644 (file)
@@ -203,6 +203,12 @@ class Harddisk:
                        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):
@@ -355,7 +361,6 @@ class HarddiskManager:
                        if cap != "":
                                hdd += " (" + cap + ")"
                        list.append((hdd, hd))
-               print "list", list
                return list
 
        def getMountedPartitions(self, onlyhotplug = False):