diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-06-24 22:18:12 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-06-24 22:18:12 +0000 |
commit | 8ead24023bc76a32b15fc088c7f488252ee03864 (patch) | |
tree | 98d4ae54608fbda809993f39666a165109917bfe | |
parent | e8ddbf67df1c3f006bed95331fd8b1ccc016a771 (diff) | |
download | vdr-plugin-live-8ead24023bc76a32b15fc088c7f488252ee03864.tar.gz vdr-plugin-live-8ead24023bc76a32b15fc088c7f488252ee03864.tar.bz2 |
- Don't show a directory named CVS in the theme selection. This is
usefull for alpha and beta testers using the anonymous cvs access.
- Fixed typos and formatting in README.
-rw-r--r-- | README | 21 | ||||
-rw-r--r-- | pages/setup.ecpp | 3 |
2 files changed, 12 insertions, 12 deletions
@@ -26,7 +26,6 @@ by SVDRP, Live has direct access to VDR's data structures and is thus very fast. - Requirements: ============= @@ -48,20 +47,21 @@ Installation: ============= If you compile the plugin outside of the VDR source codes you must -copy the resulting binary to the VDRs directory where the other -plugins are exspected. +copy the resulting binary to VDRs directory where the other plugins +are expected. -In order to work correctly you must copy the subdirectory 'live' from the source -distribution to the directory where the vdr plugins look for their configuration -files. The pure VDR default for this config directory is: /video/plugins, but this -depends also from the parameters -c or -v (see 'vdr --help' for details). +In order to work correctly you must copy the subdirectory 'live' from +the source distribution to the directory where the vdr plugins look +for their configuration files. The pure VDR default for this config +directory is: /video/plugins, but this depends also from the +parameters -c or -v (see 'vdr --help' for details). cp -a <live-src-dir>/live <plugin-config-dir>/plugins -Many distributions change this according their file systems standards rules. -This directory is therefor often referred as: +Many distributions change this according to their file systems +standards rules. This directory is therefor often referred as: -$VDRDIR/plugins/live. +$VDRDIR/plugins/live. (i.E. in debian it is in /usr/share/vdr-plugin-live) @@ -96,7 +96,6 @@ during scanning (which can after a few months be well more than 3000 channels) won't be displayed. - So how does it work? ==================== Basically, Live itself is a Tntnet webserver integrated into the plugin diff --git a/pages/setup.ecpp b/pages/setup.ecpp index 1d832f6..ac9f2c5 100644 --- a/pages/setup.ecpp +++ b/pages/setup.ecpp @@ -162,8 +162,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); struct dirent* e; string parent(".."); string current("."); + string cvsDir("CVS"); while ((e = d.Next())) { - if ((current == e->d_name) || (parent == e->d_name)) { + if ((current == e->d_name) || (parent == e->d_name) || (cvsDir == e->d_name)) { continue; } /* Check if entry is a directory: I do not rely on e->d_type |