diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-30 05:12:34 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-30 05:12:34 +0000 |
| commit | 21ad640445f0812c5fa954015a3389e4824dc5e1 (patch) | |
| tree | 858148d2874496e380cbe56ce70252106870cd17 /lib/python/Screens/InfoBarGenerics.py | |
| parent | d4e7de836464117242bea65c7e192ff25dee2e46 (diff) | |
| download | enigma2-21ad640445f0812c5fa954015a3389e4824dc5e1.tar.gz enigma2-21ad640445f0812c5fa954015a3389e4824dc5e1.zip | |
the new hdd movie directory is /hdd/movie (for 7020 compatibility reasons)
if /hdd/movies is found and /hdd/movie doesn't exist, /hdd/movies is moved to /hdd/movie
Diffstat (limited to 'lib/python/Screens/InfoBarGenerics.py')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index fa773d80..a659b5be 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -25,6 +25,7 @@ from Screens.MinuteInput import MinuteInput from Components.Harddisk import harddiskmanager from Tools import Notifications +from Tools.Directories import * #from enigma import eTimer, eDVBVolumecontrol, quitMainloop from enigma import * @@ -719,9 +720,9 @@ class InfoBarInstantRecord: def instantRecord(self): try: - stat = os.stat("/hdd/movies") + stat = os.stat(resolveFilename(SCOPE_HDD)) except: - self.session.open(MessageBox, "No HDD found!", MessageBox.TYPE_ERROR) + self.session.open(MessageBox, _("No HDD found or HDD not initialized!"), MessageBox.TYPE_ERROR) return if self.isInstantRecordRunning(): |
