summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2012-03-25 14:42:12 (GMT)
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2012-03-25 14:42:12 (GMT)
commit94a0a210a485ce1fc95c47a6bc67c4c16c89a0f9 (patch)
tree0454d32d46f76ed53c37bbd010700a2899915300
parentf2d099676a25f6e238c3ad75f8f19b667f9627fb (diff)
downloadvdr-plugin-live-94a0a210a485ce1fc95c47a6bc67c4c16c89a0f9.tar.gz
vdr-plugin-live-94a0a210a485ce1fc95c47a6bc67c4c16c89a0f9.tar.bz2
Updated LIVE to latest changes in vdr 1.7.27
- Do not use the direct access to cRecoding members any more.
-rw-r--r--epg_events.cpp8
-rw-r--r--recman.cpp4
2 files changed, 12 insertions, 0 deletions
diff --git a/epg_events.cpp b/epg_events.cpp
index a514769..cd4996e 100644
--- a/epg_events.cpp
+++ b/epg_events.cpp
@@ -182,12 +182,20 @@ namespace vdrlive
time_t EpgRecording::GetStartTime() const
{
+#if VDRVERSNUM < 10726
return m_recording ? m_recording->start : 0;
+#else
+ return m_recording ? m_recording->Start() : 0;
+#endif
}
time_t EpgRecording::GetEndTime() const
{
+#if VDRVERSNUM < 10726
return m_recording ? m_recording->start : 0;
+#else
+ return m_recording ? m_recording->Start() : 0;
+#endif
}
const string EpgRecording::Name() const
diff --git a/recman.cpp b/recman.cpp
index fb315d2..6a2fc00 100644
--- a/recman.cpp
+++ b/recman.cpp
@@ -383,7 +383,11 @@ namespace vdrlive {
time_t RecordingsItemRec::StartTime() const
{
+#if VDRVERSNUM < 10726
return m_recording->start;
+#else
+ return m_recording->Start();
+#endif
}
long RecordingsItemRec::Duration() const