summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-06-15 00:20:55 (GMT)
committerJasmin Jessich <jasmin@anw.at>2017-06-15 21:57:09 (GMT)
commitefb2c9aa7d9cbc2dcd3a1f9b5509e8b47d5a4ae2 (patch)
tree5a60e5e0454a68617aff39a6bdec0c58d2802d6e
parentf8830e4141ebcad6e4f1b06104d44eb83830a771 (diff)
downloadvdr-plugin-live-efb2c9aa7d9cbc2dcd3a1f9b5509e8b47d5a4ae2.tar.gz
vdr-plugin-live-efb2c9aa7d9cbc2dcd3a1f9b5509e8b47d5a4ae2.tar.bz2
Re-Added epginfo.epgTools
- This fixes the problem reported by rookie1: http://www.vdr-portal.de/board16-video-disk-recorder/board55-vdr-plugins/p1293327-vdr-plugin-live-f%C3%BCr-vdr-2-3-x/#post1293327
-rw-r--r--pages/epginfo.ecpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/pages/epginfo.ecpp b/pages/epginfo.ecpp
index 9aa96a9..939c4ae 100644
--- a/pages/epginfo.ecpp
+++ b/pages/epginfo.ecpp
@@ -132,10 +132,13 @@ using namespace std;
tools_component = epgEvent->Archived().empty() ? "recordings.rec_tools" : "recordings.archived_disc" ;
}
#if VDRVERSNUM < 20301
- if (schedulesLockPtr) {
- tools_component = "epginfo.epgTools";
- }
+ if (schedulesLockPtr)
+#else
+ // for VDR 2.3.x we don't need to check something, because we can be sure
+ // we got the Schedule lock above
#endif
+ tools_component = "epginfo.epgTools";
+
</%cpp>
<& pageelems.epg_tt_box boxId=(epgEvent->Id()) caption=(epgEvent->Caption()) tools_comp=(tools_component) time=(start) title=(epgEvent->Title()) short_descr=(epgEvent->ShortDescr()) long_descr=(epgEvent->LongDescr()) archived=(epgEvent->Archived()) elapsed=(epgEvent->Elapsed()) &>
<%cpp>