summaryrefslogtreecommitdiff
path: root/live.cpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-09-17 22:23:40 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-09-17 22:23:40 +0000
commit721f6213cc1343e4ab613a89be55d37dd0780244 (patch)
treef778a1989c106845834ead6be9fa0e5e5e0e3e0d /live.cpp
parent5f3d9f1f80af84c71baed2fd9108aa1494ecaba5 (diff)
downloadvdr-plugin-live-721f6213cc1343e4ab613a89be55d37dd0780244.tar.gz
vdr-plugin-live-721f6213cc1343e4ab613a89be55d37dd0780244.tar.bz2
- Moved images from compiled in image dir to data dir 'img'.
- Fixed MapUrl entries to the new image location - Adapted some pages for the new image locations. - Added a preload functionalty to fill file cache at plugin startup.
Diffstat (limited to 'live.cpp')
-rw-r--r--live.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/live.cpp b/live.cpp
index 5ac6cf7..f18949c 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.16 2007/08/19 19:48:54 tadi Exp $
+ * $Id: live.cpp,v 1.17 2007/09/17 22:23:40 tadi Exp $
*/
#include <vdr/plugin.h>
@@ -14,6 +14,7 @@
#include "tasks.h"
#include "thread.h"
#include "timers.h"
+#include "preload.h"
namespace vdrlive {
@@ -47,6 +48,10 @@ bool Plugin::Start(void)
#endif
// force status monitor startup
LiveStatusMonitor();
+
+ // preload files into file Cache
+ PreLoadFileCache(m_configDirectory);
+
// XXX error handling
m_thread.reset( new ServerThread );
m_thread->Start();