from Components.ConfigList import ConfigListScreen
from Components.ActionMap import ActionMap
from Tools.Directories import fileExists
-
+from Components.UsageConfig import preferredPath
class RecordPathsSettings(Screen,ConfigListScreen):
skin = """
self.dirnameSelected,
MovieLocationBox,
txt,
- self.default_dirname.value
+ preferredPath(self.default_dirname.value)
)
elif currentry == self.timer_entry:
self.entrydirname = self.timer_dirname
self.dirnameSelected,
MovieLocationBox,
_("Initial location in new timers"),
- self.timer_dirname.value
+ preferredPath(self.timer_dirname.value)
)
elif currentry == self.instantrec_entry:
self.entrydirname = self.instantrec_dirname
self.dirnameSelected,
MovieLocationBox,
_("Location for instant recordings"),
- self.instantrec_dirname.value
+ preferredPath(self.instantrec_dirname.value)
)
elif currentry == self.timeshift_entry:
self.entrydirname = self.timeshift_dirname