summaryrefslogtreecommitdiff
path: root/recmanager.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-01-26 09:42:27 +0100
committerlouis <louis.braun@gmx.de>2014-01-26 09:42:27 +0100
commitba90eeecb93ceeff123b33b2cbe27c4e3fcec787 (patch)
treeebc86c1b326f64122c1d979538e5b0d8750c8049 /recmanager.c
parent2a3eecd99e9d7d8a138543ebdb892347f68aeaa2 (diff)
downloadvdr-plugin-tvguide-ba90eeecb93ceeff123b33b2cbe27c4e3fcec787.tar.gz
vdr-plugin-tvguide-ba90eeecb93ceeff123b33b2cbe27c4e3fcec787.tar.bz2
directories for timers and searchtimers can be edited
Diffstat (limited to 'recmanager.c')
-rw-r--r--recmanager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/recmanager.c b/recmanager.c
index b3b5973..055a750 100644
--- a/recmanager.c
+++ b/recmanager.c
@@ -187,12 +187,14 @@ void cRecManager::SaveTimer(cTimer *timer, cTimer newTimerSettings) {
time_t day = newTimerSettings.Day();
int start = newTimerSettings.Start();
int stop = newTimerSettings.Stop();
+ std::string fileName = newTimerSettings.File();
timer->SetDay(day);
timer->SetStart(start);
timer->SetStop(stop);
timer->SetPriority(prio);
timer->SetLifetime(lifetime);
+ timer->SetFile(fileName.c_str());
if (timer->HasFlags(tfActive) && !active)
timer->ClrFlags(tfActive);