|
|
@ -71,15 +71,6 @@ __END__ |
|
|
|
|
|
|
|
|
|
|
|
Text::Playlist::PLS - parser for 'pls' format |
|
|
|
Text::Playlist::PLS - parser for 'pls' format |
|
|
|
|
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=head2 C<load> |
|
|
|
|
|
|
|
=head2 C<parse> |
|
|
|
|
|
|
|
=head2 C<save> |
|
|
|
|
|
|
|
=head2 C<dump> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For description of these methods see description in base class L<Text::Playlist> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
|
|
=head1 SYNOPSIS |
|
|
|
|
|
|
|
|
|
|
|
my $pls = Text::Playlist::PLS->new; |
|
|
|
my $pls = Text::Playlist::PLS->new; |
|
|
@ -97,9 +88,14 @@ Lightweight parser and generator for pls playlists. |
|
|
|
Will be usefull if you're just want to read playlist, or convert playlist |
|
|
|
Will be usefull if you're just want to read playlist, or convert playlist |
|
|
|
to another format, or change playlist items by some way. |
|
|
|
to another format, or change playlist items by some way. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=head1 Methods |
|
|
|
|
|
|
|
|
|
|
|
=head2 C<load> |
|
|
|
=head2 C<load> |
|
|
|
|
|
|
|
|
|
|
|
=head2 C<parse> |
|
|
|
=head2 C<parse> |
|
|
|
|
|
|
|
|
|
|
|
=head2 C<save> |
|
|
|
=head2 C<save> |
|
|
|
|
|
|
|
|
|
|
|
=head2 C<dump> |
|
|
|
=head2 C<dump> |
|
|
|
|
|
|
|
|
|
|
|
For description of these methods see description in base class L<Text::Playlist> |
|
|
|
For description of these methods see description in base class L<Text::Playlist> |
|
|
@ -110,10 +106,10 @@ Each parsed item has the following keys in hashref: |
|
|
|
|
|
|
|
|
|
|
|
* file -- path or url, required |
|
|
|
* file -- path or url, required |
|
|
|
* title -- title for given item, required |
|
|
|
* title -- title for given item, required |
|
|
|
* length -- item duration in seconds, or -1 if not unknown |
|
|
|
* length -- item duration in seconds, or -1 if unknown |
|
|
|
|
|
|
|
|
|
|
|
=head1 AUTHORS |
|
|
|
=head1 AUTHORS |
|
|
|
|
|
|
|
|
|
|
|
Alex 'AdUser' Z <aduser@cpan.org> |
|
|
|
* Alex 'AdUser' Z <aduser@cpan.org> |
|
|
|
|
|
|
|
|
|
|
|
=cut |
|
|
|
=cut |
|
|
|