NAME
POE::Component::CDRip - POE Component for running cdparanoia, a CD ripper.
SYNOPSIS
use POE qw(Component::CDRip);
$cdp = POE::Component::CDRip->new(alias => $alias); $cdp->rip(3, "/tmp/03.rip");
$poe_kernel->run();
DESCRIPTION
PoCo::CDRip's new()
method takes the following parameters:
- alias
-
alias => $alias
alias
is the name of a session to which the callbacks below will be posted. This defaults to console. - dev
-
dev => "/dev/cdrom"
Indicates the device to rip from. If left unspecified, defaults to the value shown above.
Methods
- rip <track-number>, <file-name>
-
e.g. $cdp->rip(3, "/tmp/tst.rip");
Rips the given track number into the given file name. Both parameters are required.
Callbacks
As noted above, all callbacks are either posted to the session alias given to new()
.
- status
-
Fired during processing. ARG0 is the block number being processed whilst ARG1 represents the percentage of completion expressed as a whole number between 0 and 100.
AUTHOR
Erick Calder <ecalder@cpan.org>
DATE
$Date: 2002/09/10 09:11:20 $
VERSION
$Revision: 1.3 $
LICENSE AND COPYRIGHT
Copyright (c) 2002 Erick Calder. This product is distributed under the MIT License. A copy of this license was included in a file called LICENSE. If for some reason, this file was not included, please see http://www.opensource.org/licenses/mit-license.html to obtain a copy of this license.
4 POD Errors
The following errors were encountered while parsing the POD:
- Around line 150:
'=item' outside of any '=over'
- Around line 156:
You forgot a '=back' before '=head2'
- Around line 161:
'=item' outside of any '=over'
- Around line 165:
You forgot a '=back' before '=head1'