Skip to content

Commit

Permalink
Merge pull request #4 from glanois/3-single-track-cd
Browse files Browse the repository at this point in the history
abcde does not work on single track CD #3
  • Loading branch information
glanois committed Apr 23, 2023
2 parents 848e4de + 516cfdc commit 45d4389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions abcde-musicbrainz-tool
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Getopt::Long::Configure ('no_auto_abbrev');
GetOptions ("device=s" => \$device,
"command=s" => \$command,
"discid=s" => \$discid,
"discinfo=i{5,}" => \@discinfo,
"discinfo=i{4,}" => \@discinfo,
"workdir=s" => \$workdir,
"start=s" => \$start,
"help|h" => \$help,
Expand Down Expand Up @@ -302,7 +302,7 @@ if ($command =~ m/^id/) {
# Calculate MusicBrainz ID from disc offsets; see
# https://musicbrainz.org/doc/DiscIDCalculation

if ($#discinfo < 5) {
if ($#discinfo < 4) {
print STDERR "Insufficient or missing discinfo data.\n";
exit(1);
}
Expand Down

0 comments on commit 45d4389

Please sign in to comment.