From f91afbf2343fb96ce30628243e97c4a99bfee6da Mon Sep 17 00:00:00 2001 From: horchi Date: Fri, 16 Feb 2018 18:59:14 +0100 Subject: dont wakeup for switch timer; epgd-tool update by 3po --- scripts/epgd-tool | 4 ++-- update.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/epgd-tool b/scripts/epgd-tool index 5edcb91..8d7ac33 100755 --- a/scripts/epgd-tool +++ b/scripts/epgd-tool @@ -2,7 +2,7 @@ # MySQL helper script by 3PO -# Update 19.03.2017 +# Update 16.02.2018 PASSWORD="" @@ -270,7 +270,7 @@ case $1 in -show-stats|show-stats) export MYSQL_PWD=epg - $SQL_EPG2VDR "SELECT version, master, ip, state, FROM_UNIXTIME(updsp,'%D %M %Y% %H:%i:%s') AS 'last touch', FROM_UNIXTIME(lastupd, '%D %M %Y% %H:%i:%s') AS 'last download', FROM_UNIXTIME(nextupd,'%D %M %Y% %H:%i:%s') AS 'next download' FROM vdrs ;" + $SQL_EPG2VDR "SELECT version, dbapi, master, ip, state, FROM_UNIXTIME(updsp,'%D %M %Y% %H:%i:%s') AS 'last touch', FROM_UNIXTIME(lastupd, '%D %M %Y% %H:%i:%s') AS 'last download', FROM_UNIXTIME(nextupd,'%D %M %Y% %H:%i:%s') AS 'next download' FROM vdrs ;" exit ;; diff --git a/update.c b/update.c index 78a8854..eb774da 100644 --- a/update.c +++ b/update.c @@ -1901,7 +1901,7 @@ int cEpgd::updateSearchTimers(int force, const char* reason) if (timerDb->getIntValue("_STARTTIME") < time(0) + 2*tmeSecondsPerDay) { - if (!timerDb->hasValue("VDRUUID", "any")) + if (!timerDb->hasValue("VDRUUID", "any") && !timerDb->hasCharValue("TYPE", ttView)) { tell(1, "Info: Timer (%ld) for '%s' start in the next 48 hours, " "try to wakeup VDR to permit takeover", -- cgit v1.2.3