Changeset 41 in flacrip for trunk/cd2flac
- Timestamp:
- 05/08/15 20:00:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cd2flac
r38 r41 37 37 $CD_DEVICE ||= '/dev/cdrom'; 38 38 39 my $tags = $BARCODE ? { BARCODE => $BARCODE } : {}; 39 40 my $ripper = Ripper->new({ device => $CD_DEVICE }); 40 $ripper->rip_to_flac($archive_flac); 41 42 if ($BARCODE) { 43 print "Writing barcode\n"; 44 system 'metaflac', '--set-tag', "BARCODE=$BARCODE", $archive_flac; 45 } 41 $ripper->rip_to_flac($archive_flac, $tags); 46 42 47 43 print "Rip saved as $archive_flac\n";
Note: See TracChangeset
for help on using the changeset viewer.