From 4fb0ce9c0662a7b7c3bce712577743e2a56444c0 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Fri, 20 Jul 2007 16:06:51 +0000 Subject: - Added support for EPG images: Specify the directory with your EPG images via the new commandline option '-e ' or '--epgimages= like -P'live -e /video/epgimages' --- tntconfig.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tntconfig.cpp') diff --git a/tntconfig.cpp b/tntconfig.cpp index 1094b8a..286ada7 100644 --- a/tntconfig.cpp +++ b/tntconfig.cpp @@ -49,6 +49,9 @@ void TntConfig::WriteConfig() file << "MapUrl ^/themes/([^/]*)/img.*/(.+)\\.(.+) content@ common/img/$2.$3 image/$3" << endl; file << "MapUrl ^/themes/([^/]*)/img.*/(.+)\\.(.+) $2@" << endl; + // Epg images + file << "MapUrl ^/epgimages/(.*)\\.(.+) content@ " << LiveSetup().GetEpgImageDir() << "/$1.$2 image/$2" << endl; + // select additional (not build in) javascript. file << "MapUrl ^/js([^.]*/)(.*\\.js) content@ js$1$2 text/javascript" << endl; -- cgit v1.2.3