$sth_archive_backup_parts->execute($dvd_nr);
+ if ($sth_archive_backup_parts->rows == 0) {
+ warn "ERROR: no backup parts found for $dvd_nr. You should re-create that DVD.\n";
+ }
+
my @volumes;
my $v; # emtpy volume
my $v_size = 0;
}
push @volumes, $v if ($v);
+ #warn "# volumes: ",Dumper(\@volumes),"\n";
+
my $volumes = $#volumes + 1;
my $volume_nr = 1;