diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-07-20 16:06:51 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-07-20 16:06:51 +0000 |
commit | 4fb0ce9c0662a7b7c3bce712577743e2a56444c0 (patch) | |
tree | 8143d3de6e9d966fa33269ea0c9d3f112468c82f /tntconfig.cpp | |
parent | b40d2c550444c61c25a1c2ec2dbd472dd11d2b62 (diff) | |
download | vdr-plugin-live-4fb0ce9c0662a7b7c3bce712577743e2a56444c0.tar.gz vdr-plugin-live-4fb0ce9c0662a7b7c3bce712577743e2a56444c0.tar.bz2 |
- Added support for EPG images: Specify the directory with your
EPG images via the new commandline option '-e <dir>' or
'--epgimages=<dir> like -P'live -e /video/epgimages'
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r-- | tntconfig.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |