git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
speed up resume (allows skipping into titles) *remember to update libdreamdvd0 -...
[enigma2.git]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index 9c695a231c14d3761f9a775ce358fc03c9b04394..dfc262d84b889407dcd81c41df5429f3a8980be1 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-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):