NAME
POE::Component::CDParanoia
SYNOPSIS
POE Component for running cdparanoia, a CD ripper.
use POE qw(Component::CDParanoia);
$cdp = POE::Component::MPG123->new(alias => $alias);
$cdp->rip(3, "/tmp/03.rip");
$poe_kernel->run();
DESCRIPTION
PoCo::CDParanoia's new() method takes the following parameters:
- alias
-
alias => $aliasaliasis 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 07:33:30 $
VERSION
$Revision: 1.2 $
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 154:
'=item' outside of any '=over'
- Around line 160:
You forgot a '=back' before '=head2'
- Around line 165:
'=item' outside of any '=over'
- Around line 169:
You forgot a '=back' before '=head1'