return $main::dbh->spot_search($hint, $dayfrom, $dayto, $to-$from, $dxchan);
}
return $main::dbh->spot_search($hint, $dayfrom, $dayto, $to-$from, $dxchan);
}
last if $now->cmp($todate) <= 0;
my $fn = $fp->fn($now->sub($i));
if ($readback) {
dbg("Spot::search search using tac fn: $fn $i") if isdbg('search');
$fh = IO::File->new("$readback $fn |");
last if $now->cmp($todate) <= 0;
my $fn = $fp->fn($now->sub($i));
if ($readback) {
dbg("Spot::search search using tac fn: $fn $i") if isdbg('search');
$fh = IO::File->new("$readback $fn |");