From 2819b6ccb4cbfd95459c2ec888c305b3355df54b Mon Sep 17 00:00:00 2001 From: horchi Date: Wed, 28 Jun 2017 18:17:06 +0200 Subject: 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\n --- HISTORY.h | 6 +++++- menutimers.c | 2 +- update.c | 2 +- 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"); -- cgit v1.2.3