summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--server/suspend.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index e4aad04..ed94b7c 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -214,3 +214,6 @@ Chris Tallon
macmenot
for adapting Makefiles to VDR 1.7.36+
+
+thomasjfox
+ for fixing cSuspendCtl preventing idle shutdown
diff --git a/HISTORY b/HISTORY
index 23d64c2..3fcd666 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
+- Start cSuspendCtl hidden or it will prevent idle shutdown (thanks to
+ thomasjfox)
- Fixed recordings menu inode numbers: ino_t is a long long on some systems
- Updated Slovak translation (thanks to Milan Hrala)
- Adapted Makefiles to VDR 1.7.36+ (thanks to macmenot). Old makefiles have
diff --git a/server/suspend.c b/server/suspend.c
index b6e1382..fd351b6 100644
--- a/server/suspend.c
+++ b/server/suspend.c
@@ -39,7 +39,7 @@ void cSuspendLive::Action(void) {
bool cSuspendCtl::m_Active = false;
cSuspendCtl::cSuspendCtl(void):
- cControl(m_Suspend = new cSuspendLive) {
+ cControl(m_Suspend = new cSuspendLive, true) {
m_Active = true;
}