diff options
| author | Felix Domke <felix.domke@multimedia-labs.de> | 2009-10-29 01:54:31 +0100 |
|---|---|---|
| committer | Felix Domke <felix.domke@multimedia-labs.de> | 2009-10-29 01:54:31 +0100 |
| commit | 7560beb3e371704d798259ca1ea927bf4575306c (patch) | |
| tree | 3aa3341dbf843e064dbf0179b81ee3dca0c36a3b /lib/python/Screens/EpgSelection.py | |
| parent | dafa266c71fd625cd5a9bedbea10a47e27c868ad (diff) | |
| download | enigma2-7560beb3e371704d798259ca1ea927bf4575306c.tar.gz enigma2-7560beb3e371704d798259ca1ea927bf4575306c.zip | |
By Anders Holst:
At regular intervalls there are questions in the forum (in at least
three or four different threads on only this subject) on how to
configure the recording paths so you don't have to set them to the
same thing over and over again in e.g EPG timers. People apparently
forget to set it, and miss their recordings because the harddisk is
full or not built in. They want an easy way to change the default from
/hdd/movies/ to a NAS or a USB device.
I have rebased the patch in this thread from March 23, added two minor
bugfixes, and hopefully made it less controversial by making sure that
it only affects the expert setup level. I don't think there should be
anything controversial about this patch now, and no known bugs. It
only provides functionality that several people are screaming to get.
Synopsis: The patch changes the "Timeshift path..." setup dialogue
into a "Recording paths..." dialogue where you can easily configure
both the timeshift and the other recording paths.
Diffstat (limited to 'lib/python/Screens/EpgSelection.py')
| -rw-r--r-- | lib/python/Screens/EpgSelection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py index 3dde7e22..f8edba11 100644 --- a/lib/python/Screens/EpgSelection.py +++ b/lib/python/Screens/EpgSelection.py @@ -6,6 +6,7 @@ from Components.Label import Label from Components.EpgList import EPGList, EPG_TYPE_SINGLE, EPG_TYPE_SIMILAR, EPG_TYPE_MULTI from Components.ActionMap import ActionMap from Components.TimerSanityCheck import TimerSanityCheck +from Components.UsageConfig import preferredTimerPath from Components.Sources.ServiceEvent import ServiceEvent from Components.Sources.Event import Event from Screens.TimerEdit import TimerSanityConflict @@ -235,7 +236,7 @@ class EPGSelection(Screen): self.session.openWithCallback(cb_func, MessageBox, _("Do you really want to delete %s?") % event.getEventName()) break else: - newEntry = RecordTimerEntry(serviceref, checkOldTimers = True, *parseEvent(event)) + newEntry = RecordTimerEntry(serviceref, checkOldTimers = True, dirname = preferredTimerPath(), *parseEvent(event)) self.session.openWithCallback(self.finishedAdd, TimerEntry, newEntry) def finishedAdd(self, answer): |
