summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-15 11:18:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-15 11:18:36 +0200
commit4ba450b7372709507a8602ae5c80b47ef39b6d38 (patch)
tree325667a6b015156e4e25c5f14bf6b02959bff064 /vdr.c
parent3d8a9c965366f35ceeadcceb9744ef0fc8f26455 (diff)
downloadvdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.gz
vdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.bz2
Implemented cPlugin::Active()
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index ec82bedb..1583f9da 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.256 2006/04/14 11:45:05 kls Exp $
+ * $Id: vdr.c 1.257 2006/04/15 11:05:49 kls Exp $
*/
#include <getopt.h>
@@ -980,6 +980,8 @@ int main(int argc, char *argv[])
if (Interface->Confirm(tr("Recording - shut down anyway?")))
ForceShutdown = true;
}
+ if (cPluginManager::Active(tr("shut down anyway?")))
+ ForceShutdown = true;
LastActivity = 1; // not 0, see below!
UserShutdown = true;
break;
@@ -1093,7 +1095,7 @@ int main(int argc, char *argv[])
Skins.Message(mtInfo, tr("Editing process finished"));
}
}
- if (!Interact && ((!cRecordControls::Active() && !cCutter::Active() && (!Interface->HasSVDRPConnection() || UserShutdown)) || ForceShutdown)) {
+ if (!Interact && ((!cRecordControls::Active() && !cCutter::Active() && !cPluginManager::Active() && (!Interface->HasSVDRPConnection() || UserShutdown)) || ForceShutdown)) {
time_t Now = time(NULL);
if (Now - LastActivity > ACTIVITYTIMEOUT) {
// Shutdown: