From 8b67cc99b2fce3e4ddf6eb65b8282010c251d8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 31 Jul 2011 00:03:51 +0300 Subject: Autodetect default for number of DVB cards from local system. --- HISTORY | 1 + vdradmind.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 0bdddf3..ecb51fd 100644 --- a/HISTORY +++ b/HISTORY @@ -11,6 +11,7 @@ VDR-Portal: amair - Changed: Honor config logging options with --nofork (Ville Skyttä). - Changed: Specifying -L or -l turns logging on (Ville Skyttä). - Improved: Do not require pid dir when not running as daemon (Ville Skyttä). +- Improved: Autodetect default for number of DVB cards (Ville Skyttä). 2011-06-03: 3.6.8 - Updated: Dutch translation (Submitted by Roel Koelewijn). diff --git a/vdradmind.pl b/vdradmind.pl index 1977208..d8cd51b 100755 --- a/vdradmind.pl +++ b/vdradmind.pl @@ -149,7 +149,7 @@ $CONFIG{EPGIMAGES} = "$CONFIG{VIDEODIR}/epgimages"; $CONFIG{TEMPLATE} = "default"; $CONFIG{SKIN} = "default"; $CONFIG{LOGINPAGE} = 0; -$CONFIG{RECORDINGS} = 1; +{ my @a = ; $CONFIG{RECORDINGS} = scalar(@a) || 1; } $CONFIG{LANG} = ""; # -- cgit v1.2.3