X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f47d06efc863945909f6095eae5d88c755168fd6..e4034b7fce157a23fcd2668a59ccc7a32d19ac84:/lib/python/Components/Harddisk.py diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index a6389770..0fc17d69 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -123,7 +123,7 @@ class Harddisk: return (res >> 8) def createMovieFolder(self): - res = os.system("mkdir /hdd/movie") + res = os.system("mkdir /hdd/movies") return (res >> 8) def initialize(self): @@ -169,6 +169,12 @@ class HarddiskManager: if hddNum > 8: break + def HDDCount(self): + cnt = 0 + for hd in self.hdd: + cnt = cnt + 1 + return cnt + def HDDList(self): list = [ ] for hd in self.hdd: