summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-06-28 18:17:06 +0200
committerhorchi <vdr@jwendel.de>2017-06-28 18:17:06 +0200
commit2819b6ccb4cbfd95459c2ec888c305b3355df54b (patch)
treed2bb8b37ae877dec73251703cdde0131e3f81678
parentb1af4853081160bdcd0bd65a1c4a789d7dd51acf (diff)
downloadvdr-plugin-epg2vdr-2819b6ccb4cbfd95459c2ec888c305b3355df54b.tar.gz
vdr-plugin-epg2vdr-2819b6ccb4cbfd95459c2ec888c305b3355df54b.tar.bz2
2017-06-23 version 1.1.73 (horchi)\n - bugfix: Fixed compile with VDR 2.2.0\n - bugfix: Fixed problem with unknown channels\n\n1.1.73
-rw-r--r--HISTORY.h6
-rw-r--r--menutimers.c2
-rw-r--r--update.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 1523af9..eeace8b 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -5,7 +5,7 @@
*
*/
-#define _VERSION "1.1.72"
+#define _VERSION "1.1.73"
#define VERSION_DATE "22.06.2017"
#define DB_API 4
@@ -19,6 +19,10 @@
/*
* ------------------------------------
+2017-06-23 version 1.1.73 (horchi)
+ - bugfix: Fixed compile with VDR 2.2.0
+ - bugfix: Fixed problem with unknown channels
+
2017-06-22 version 1.1.72 (horchi)
- bugfix: Fixed crash on end of recording
diff --git a/menutimers.c b/menutimers.c
index bd71e97..58bdc0c 100644
--- a/menutimers.c
+++ b/menutimers.c
@@ -139,7 +139,7 @@ eOSState cMenuEpgEditTimer::ProcessKey(eKeys Key)
#if APIVERSNUM >= 20301
const cChannel* ch = channels->GetByNumber(channelNr);
#else
- cChannel* ch = channels.GetByNumber(channelNr);
+ cChannel* ch = channels->GetByNumber(channelNr);
#endif
if (!ch)
diff --git a/update.c b/update.c
index 8c2a02e..2810439 100644
--- a/update.c
+++ b/update.c
@@ -1505,7 +1505,7 @@ int cUpdate::refreshEpg(const char* forChannelId, int maxTries)
else if (channels && schedules)
tell(0, "Error: Channel with ID '%s' don't exist on this VDR", mapDb->getStrValue("ChannelId"));
- if (!schedules || !channels || !timers || !s)
+ if (!schedules || !channels || !timers)
{
tell(3, "Info: Can't get write lock on '%s'", !schedules ? "schedules" : !timers ? "timers" : "channels");