summaryrefslogtreecommitdiff
path: root/live.cpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 17:42:33 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 17:42:33 +0000
commit61e31de98b97f556cfb2a0cafa172bde673e7859 (patch)
treef92c3c42107f89a7de7b3c489527b3b6a2421078 /live.cpp
parentc5cb6d2e099c9ae44cc3d26e4800c9f9101852e7 (diff)
downloadvdr-plugin-live-61e31de98b97f556cfb2a0cafa172bde673e7859.tar.gz
vdr-plugin-live-61e31de98b97f556cfb2a0cafa172bde673e7859.tar.bz2
- removed thread-unsafe call of cPlugin::ConfigDirectory and replaced it with Plugin::GetConfigDirectory
- implemented proper shutdown of server thread on vdr termination
Diffstat (limited to 'live.cpp')
-rw-r--r--live.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/live.cpp b/live.cpp
index 88f4718..fd83cb4 100644
--- a/live.cpp
+++ b/live.cpp
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: live.cpp,v 1.6 2007/01/04 15:02:00 lordjaxom Exp $
+ * $Id: live.cpp,v 1.7 2007/01/04 17:42:33 lordjaxom Exp $
*/
#include <vdr/plugin.h>
@@ -20,8 +20,11 @@ using namespace std;
const char *Plugin::VERSION = "0.0.1";
const char *Plugin::DESCRIPTION = "Live Integrated VDR Environment";
+std::string Plugin::m_configDirectory;
+
Plugin::Plugin(void)
{
+ m_configDirectory = cPlugin::ConfigDirectory( PLUGIN_NAME_I18N );
}
const char *Plugin::CommandLineHelp(void)
@@ -45,6 +48,7 @@ bool Plugin::Start(void)
void Plugin::Stop(void)
{
+ m_thread->Stop();
}
void Plugin::MainThreadHook(void)