Changeset 26 in flacrip for trunk/lib/Ripper.pm
- Timestamp:
- 10/31/14 21:22:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Ripper.pm
r24 r26 30 30 31 31 # rip 32 my $span = $self-> tracks->get_cdparanoia_span;32 my $span = $self->_get_cdparanoia_span; 33 33 system 'cdparanoia', '-d', $self->device, $span, $wav_file; 34 34 die "\nRipping canceled\n" if ($? & 127); … … 42 42 43 43 # MusicBrainz discid metadata 44 my $discid = $self->tracks->get_m bz_discid;44 my $discid = $self->tracks->get_musicbrainz_discid; 45 45 46 46 # copy to permanent location … … 49 49 } 50 50 51 sub _get_cdparanoia_span { 52 my ($self) = @_; 53 # use a msf start unless track 1 begins at sector 54 return $self->tracks->tracks->[1]{sector} == 0 ? '1-' : '00:00.00-'; 55 } 56 51 57 # module return 52 58 1;
Note: See TracChangeset
for help on using the changeset viewer.