From dddd5c42b27d936f22468f95e3da0a776451dbb7 Mon Sep 17 00:00:00 2001 From: horchi Date: Mon, 23 Dec 2019 09:48:33 +0100 Subject: 2019-12-23: version 1.1.106 (horchi)\n - change: Perform timer job also if eppgd busy\n\n --- HISTORY.h | 7 +++++-- update.c | 19 +++++++++++-------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/HISTORY.h b/HISTORY.h index 775cade..229c8e3 100644 --- a/HISTORY.h +++ b/HISTORY.h @@ -5,8 +5,8 @@ * */ -#define _VERSION "1.1.105" -#define VERSION_DATE "17.12.2019" +#define _VERSION "1.1.106" +#define VERSION_DATE "23.12.2019" #define DB_API 7 @@ -19,6 +19,9 @@ /* * ------------------------------------ +2019-12-23: version 1.1.106 (horchi) + - change: Perform timer job also if eppgd busy + 2019-12-17: version 1.1.105 (horchi) - added: Fixed compile with g++ 10 (provided by marco@vdr-developer.org) diff --git a/update.c b/update.c index 874b295..a2c2d25 100644 --- a/update.c +++ b/update.c @@ -1361,6 +1361,17 @@ void cUpdate::Action() isHandlerMaster(); + if (Epg2VdrConfig.shareInWeb) + { + // update timer + + if (dbConnected() && timerTableUpdateTriggered) + updateTimerTable(); + + if (dbConnected()) + hasTimerChanged(); + } + if (epgdBusy) continue; @@ -1374,14 +1385,6 @@ void cUpdate::Action() refreshEpg(0, na); // refresh EPG before performing timer jobs! performTimerJobs(); } - - // update timer - - if (dbConnected() && timerTableUpdateTriggered) - updateTimerTable(); - - if (dbConnected()) - hasTimerChanged(); } // if triggered externally or updates pending -- cgit v1.2.3