summaryrefslogtreecommitdiff
path: root/vdr-smarttvweb
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2012-12-29 00:39:18 +0100
committerthlo <t.lohmar@gmx.de>2012-12-29 00:39:18 +0100
commit684ee69efa8df530814a868ec32abbd48d158450 (patch)
tree69c7adb5b28fb0ac4c62f6ce37162d61ed2578ce /vdr-smarttvweb
parent4a34b391aaeaa56d10ac4e2acd16cc78c920e16e (diff)
downloadvdr-plugin-smarttvweb-684ee69efa8df530814a868ec32abbd48d158450.tar.gz
vdr-plugin-smarttvweb-684ee69efa8df530814a868ec32abbd48d158450.tar.bz2
another change of start to Start()
Diffstat (limited to 'vdr-smarttvweb')
-rw-r--r--vdr-smarttvweb/httpresource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdr-smarttvweb/httpresource.c b/vdr-smarttvweb/httpresource.c
index 175c258..1a5bd3b 100644
--- a/vdr-smarttvweb/httpresource.c
+++ b/vdr-smarttvweb/httpresource.c
@@ -1707,7 +1707,8 @@ int cHttpResource::sendRecordingsHtml(struct stat *statbuf) {
char f[400];
for (cRecording *recording = Recordings.First(); recording; recording = Recordings.Next(recording)) {
hdr = "";
- strftime(buff, 20, "%Y-%m-%d %H:%M:%S", localtime(&recording->start));
+ time_t start_time = recording->Start();
+ strftime(buff, 20, "%Y-%m-%d %H:%M:%S", localtime(&start_time));
snprintf(f, sizeof(f), "%s - %d <A HREF=\"%s\">%s</A>\r\n", buff, recording->HierarchyLevels(), recording->FileName(), recording->Name());
hdr += f;
*mResponseMessage += hdr;