my $FRAMES_PER_S = 75;
-my ($device, $command, $discid, @discinfo, $workdir, $help, $man);
+my ($device, $command, $discid, @discinfo, $workdir, $help, $man, $start);
Getopt::Long::Configure ('no_ignore_case');
Getopt::Long::Configure ('no_auto_abbrev');
GetOptions ("device=s" => \$device,
"discid=s" => \$discid,
"discinfo=i{5,}" => \@discinfo,
"workdir=s" => \$workdir,
+ "workdir=s" => \$workdir,
+ "start=s" => \$start,
"help|h" => \$help,
"man" => \$man) or pod2usage(-verbose => 0, -exitcode => 2);
if (@ARGV) {
if (!defined($workdir)) {
$workdir = "/tmp";
}
+if (!defined($start)) {
+ $start = "0";
+}
sub calc_sha1($) {
my $filename = shift;
my $ws = WebService::MusicBrainz::Release->new();
my $response = $ws->search({ DISCID => $discid });
my @releases = $response->release_list();
- my $releasenum = 0;
+ my $releasenum = $start;
my @sums;
foreach my $release (@releases) {