diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rwxr-xr-x | vdradmind.pl | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 = </dev/dvb/adapter[0-9]>; $CONFIG{RECORDINGS} = scalar(@a) || 1; } $CONFIG{LANG} = ""; # |