package CueFile::Test;
if ( !caller ) { my $c = new CueFile(\*DATA); use Data::Dumper; print Dumper($c); print $c->tracks, " tracks\n"; }
__DATA__ PERFORMER "Pink Floyd" TITLE "Wish You Were Here" FILE "Wish_You_Were_Here.mp3" WAVE TRACK 01 AUDIO TITLE "Shine on You Crazy Diamond (Part I-V)" PERFORMER "Pink Floyd" INDEX 01 00:00:00 TRACK 02 AUDIO TITLE "Welcome to The Machine" PERFORMER "Pink Floyd" INDEX 01 13:32:67 TRACK 03 AUDIO TITLE "Have a Cigar" PERFORMER "Pink Floyd" INDEX 00 21:03:25 INDEX 01 21:06:17 TRACK 04 AUDIO TITLE "Wish You Were Here" PERFORMER "Pink Floyd" INDEX 01 26:30:47 TRACK 05 AUDIO TITLE "Shine on You Crazy Diamond (Part VI-IX)" PERFORMER "Pink Floyd" INDEX 01 31:46:57
NAME
mp3cut - split MP3 files according to cue sheets
SYNOPSIS
sample [options] [file ...]
Options:
--silent don't produce verbose messages
--id3tags provide ID3 tags on the files
--ident show identification
--help brief help message
--verbose verbose information
OPTIONS
-
Provide ID3 tag information to the written MP3 files.
This requires a yet unreleased additional package. Stay tuned.
- --verbose
-
More verbose information (default).
- --silent
-
Less verbose information.
- --version
-
Print a version identification to standard output and exits.
- --help
-
Print a brief help message to standard output and exits.
- --ident
-
Prints a program identification.
- file
-
Input file(s), which must be valid cue sheets.
DESCRIPTION
This program will read the given cue sheets and spits the associated mp3 files according to the information in the cue sheet.
The name of the MP3 file will be taken from the cue sheet. All tracks will be written with names derived from the track title, with spaces changed to underscores, the track number prefixed, and ".mp3" added.
Some iterations may be necessary to find satisfying cut points, but it is easy to adjust the cue file data manually.
USING CDDB ENTRY DATA
mp3cut does not understand CDDB entry data. A helper program, cddb2cue can be used to generate a cue sheet from the CDDB info.
Some iterations may be necessary to find satisfying cut points, and it is easier to correct a cue file than the CDDB info.
REQUIREMENTS
MPEG::Audio::Frame 0.04 or later.
DISCLAIMER
Audio data can be copied incorrectly. Always check your resultant files. Never throw away the original data. USE AT YOUR OWN RISK.
AUTHOR
Johan Vromans <jvromans@squirrel.nl>
COPYRIGHT
This programs is Copyright 2003, Squirrel Consultancy.
This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License or the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.