Skip Menu |

This queue is for tickets about the Linux-DVB-DVBT CPAN distribution.

Report information
The Basics
Id: 50977
Status: resolved
Priority: 0/
Queue: Linux-DVB-DVBT

People
Owner: Nobody in particular
Requestors: dpavlin [...] rot13.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 1.00
  • 1.01
  • 1.02
  • 1.03
  • 1.04
  • 1.05
Fixed in: 1.06



Subject: support AUTO for mod in scan_from_file
I have following frequencies file: T 754000000 8MHz 2/3 NONE AUTO 8k 1/8 NONE T 642000000 8MHz 2/3 NONE AUTO 8k 1/8 NONE T 690000000 8MHz 2/3 NONE AUTO 8k 1/8 NONE Attached patch fixes problem since $mo isn't used anyway
Subject: Linux-DVB-DVBT-scan_from_file.diff
diff --git a/lib/Linux/DVB/DVBT.pm b/lib/Linux/DVB/DVBT.pm index 96541ea..d241a27 100644 --- a/lib/Linux/DVB/DVBT.pm +++ b/lib/Linux/DVB/DVBT.pm @@ -1084,7 +1084,7 @@ sub scan_from_file while (defined($line=<$fh>)) { chomp $line ; - if ($line =~ m%^\s*T\s+(\d+)\s+(\d+)MHz\s+(\d+)/(\d+)\s+(\w+)\s+QAM(\d+)\s+(\d+)k\s+(\d+)/(\d+)\s+(\w+)%i) + if ($line =~ m%^\s*T\s+(\d+)\s+(\d+)MHz\s+(\d+)/(\d+)\s+(\w+)\s+(\w+)\s+(\d+)k\s+(\d+)/(\d+)\s+(\w+)%i) { # get first my ($freq, $bw, $r_hi1, $r_hi2, $r_lo1, $r_lo2, $mo, $tr, $gu, $hi) = ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ;
Fixed in 1.06