From 721f6213cc1343e4ab613a89be55d37dd0780244 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Mon, 17 Sep 2007 22:23:40 +0000 Subject: - 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. --- live.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'live.cpp') 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 @@ -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(); -- cgit v1.2.3