summaryrefslogtreecommitdiff
path: root/live.cpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-18 18:29:30 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-18 18:29:30 +0000
commit2f936c22b443086d6d621ab37dd9523d8f153f1d (patch)
treecda6945944457d965d5a4a4dc0c5130c41d34a75 /live.cpp
parentb571722150e379925cc55ec7a9f52f1b9f2ad61a (diff)
downloadvdr-plugin-live-2f936c22b443086d6d621ab37dd9523d8f153f1d.tar.gz
vdr-plugin-live-2f936c22b443086d6d621ab37dd9523d8f153f1d.tar.bz2
- added status monitor to reload timers when a recording starts or stops
Diffstat (limited to 'live.cpp')
-rw-r--r--live.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/live.cpp b/live.cpp
index 9058080..e5f97ff 100644
--- a/live.cpp
+++ b/live.cpp
@@ -3,13 +3,14 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: live.cpp,v 1.12 2007/01/16 18:34:31 lordjaxom Exp $
+ * $Id: live.cpp,v 1.13 2007/01/18 18:29:30 lordjaxom Exp $
*/
#include <vdr/plugin.h>
#include "i18n.h"
#include "live.h"
#include "setup.h"
+#include "status.h"
#include "tasks.h"
#include "thread.h"
#include "timers.h"
@@ -42,6 +43,8 @@ bool Plugin::Start(void)
m_configDirectory = cPlugin::ConfigDirectory( PLUGIN_NAME_I18N );
RegisterI18n( vdrlive::Phrases );
+ // force status monitor startup
+ LiveStatusMonitor();
// XXX error handling
m_thread.reset( new ServerThread );
m_thread->Start();