| 1 |
root |
1.1 |
=head1 NAME |
| 2 |
|
|
|
| 3 |
|
|
Convert::CD::Cue - import/export .bin/.cue files. |
| 4 |
|
|
|
| 5 |
|
|
=head1 SYNOPSIS |
| 6 |
|
|
|
| 7 |
|
|
use Convert::CD::Cue; |
| 8 |
|
|
|
| 9 |
|
|
# to be done |
| 10 |
|
|
|
| 11 |
|
|
=head1 DESCRIPTION |
| 12 |
|
|
|
| 13 |
|
|
Parse/Write .cue files. |
| 14 |
|
|
|
| 15 |
|
|
=head2 Convert:CD::Cue METHODS |
| 16 |
|
|
|
| 17 |
|
|
This class represents a .bin/.cue file combination. |
| 18 |
|
|
|
| 19 |
|
|
=over 4 |
| 20 |
|
|
|
| 21 |
|
|
=cut |
| 22 |
|
|
|
| 23 |
|
|
package Convert::CD::Cue; |
| 24 |
|
|
|
| 25 |
|
|
$VERSION = 0.01; |
| 26 |
|
|
|
| 27 |
|
|
use base Convert::CD::TOCFile; |
| 28 |
|
|
|
| 29 |
|
|
=item new param => value... |
| 30 |
|
|
|
| 31 |
|
|
Create a new Convert::CD::Cue object. |
| 32 |
|
|
|
| 33 |
|
|
Parameters: |
| 34 |
|
|
|
| 35 |
|
|
path the base image filename |
| 36 |
|
|
tocpath the (optional) path of the tocfile |
| 37 |
|
|
|
| 38 |
|
|
=cut |
| 39 |
|
|
|
| 40 |
|
|
sub new { |
| 41 |
|
|
my $class = shift; |
| 42 |
|
|
my $self = bless { @_, }, $class; |
| 43 |
|
|
# autodetect, read toc etc... |
| 44 |
|
|
exists $self->{tocfile} or $self->{tocfile} = $self->find_tocfile ("cue", "CUE", "Cue"); |
| 45 |
|
|
$self; |
| 46 |
|
|
} |
| 47 |
|
|
|
| 48 |
|
|
#sub _read { |
| 49 |
|
|
# my ($self, $cd) = @_; |
| 50 |
|
|
#} |
| 51 |
|
|
|
| 52 |
|
|
#sub _write { |
| 53 |
|
|
# my ($self, $cd) = @_; |
| 54 |
|
|
#} |
| 55 |
|
|
|
| 56 |
|
|
1; |
| 57 |
|
|
|
| 58 |
|
|
=back |
| 59 |
|
|
|
| 60 |
|
|
=head1 AUTHOR |
| 61 |
|
|
|
| 62 |
|
|
Marc Lehmann <pcg@goof.com> |
| 63 |
|
|
|
| 64 |
|
|
=cut |
| 65 |
|
|
|