aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/TimerEntry.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-02 12:05:57 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-02 12:05:57 +0000
commit6e68543591be09859bbaa4c19e0065e65d8acfe3 (patch)
tree8a76703f07a3b245ac9e5629a18bafbb0c63e19f /lib/python/Screens/TimerEntry.py
parentd2efe2fd3e564506c4c1ceea54c06d4391d35d37 (diff)
downloadenigma2-6e68543591be09859bbaa4c19e0065e65d8acfe3.tar.gz
enigma2-6e68543591be09859bbaa4c19e0065e65d8acfe3.zip
#
# Some Bugfixes related to locationstuff.patch # # ritzMo: # - fix a missing member in ConfigLocations (argument was ignord but # expected later in the code) # - take care of the fact that an instant record might not be saved in # default record location (fixes error when no hdd installed) # - remove overly complex Screen.close override in LocationBox # - fix deathscreen in LocationBox context menu # Anders Holst: # - fix deathscreen when default record location not in bookmarks when # editing timers which would be stored there # - don't ignore inhibitDirs if inhibitMounts is unset # - hide potentially dangerous folders for all users in MovieLocationBox # (previously / was hidden for userlevel < expert) #
Diffstat (limited to 'lib/python/Screens/TimerEntry.py')
-rw-r--r--lib/python/Screens/TimerEntry.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/python/Screens/TimerEntry.py b/lib/python/Screens/TimerEntry.py
index b490f6dd..ca1a3929 100644
--- a/lib/python/Screens/TimerEntry.py
+++ b/lib/python/Screens/TimerEntry.py
@@ -99,10 +99,11 @@ class TimerEntry(Screen, ConfigListScreen):
self.timerentry_enddate = ConfigDateTime(default = self.timer.end, formatstring = _("%d.%B %Y"), increment = 86400)
self.timerentry_endtime = ConfigClock(default = self.timer.end)
+ default = self.timer.dirname or resolveFilename(SCOPE_HDD)
tmp = config.movielist.videodirs.value
- if self.timer.dirname and not self.timer.dirname in tmp:
- tmp.append(self.timer.dirname)
- self.timerentry_dirname = ConfigSelection(default = self.timer.dirname or resolveFilename(SCOPE_HDD), choices = tmp)
+ if default not in tmp:
+ tmp.append(default)
+ self.timerentry_dirname = ConfigSelection(default = default, choices = tmp)
self.timerentry_repeatedbegindate = ConfigDateTime(default = self.timer.repeatedbegindate, formatstring = _("%d.%B %Y"), increment = 86400)