From b03e5b0993fefdbb0c02a7ada1115b93c662035d Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 12 May 2015 15:06:09 +1000 Subject: [PATCH] * fix pod --- lib/Text/Playlist.pm | 10 +++++++++- lib/Text/Playlist/M3U.pm | 17 +++++++++++------ lib/Text/Playlist/PLS.pm | 22 +++++++++------------- 3 files changed, 29 insertions(+), 20 deletions(-) diff --git a/lib/Text/Playlist.pm b/lib/Text/Playlist.pm index 0874707..05a5193 100644 --- a/lib/Text/Playlist.pm +++ b/lib/Text/Playlist.pm @@ -43,6 +43,10 @@ sub save { Text::Playlist -- base class for work with various playlist formats +=head1 DESCRIPTION + +This module acts only as base class for specific parsers. + =head1 Methods =head2 C @@ -69,8 +73,12 @@ Simple helper for saving playlist to file. See also C. Takes array of hashrefs with playlist items and returns constructed playlist. +=head1 SEE ALSO + +L, L, L + =head1 AUTHORS - Alex 'AdUser' Z + * Alex 'AdUser' Z =cut diff --git a/lib/Text/Playlist/M3U.pm b/lib/Text/Playlist/M3U.pm index 837e9be..1c1533c 100644 --- a/lib/Text/Playlist/M3U.pm +++ b/lib/Text/Playlist/M3U.pm @@ -124,9 +124,14 @@ Lightweight parser and generator for m3u playlists. Will be usefull if you're just want to read playlist, or convert playlist to another format, or change playlist items by some way. +=head1 Methods + =head2 C + =head2 C + =head2 C + =head2 C For description of these methods see description in base class L @@ -135,17 +140,17 @@ For description of these methods see description in base class L Each parsed item has the following keys in hashref: -* file -- path or url, required -* title -- title for given item, required -* duration -- item duration in seconds, or -1 if not unknown -* attrs -- hashref with attributes for given item, optional + * file -- path or url, required + * title -- title for given item, required + * duration -- item duration in seconds, or -1 if not unknown + * attrs -- hashref with attributes for given item, optional =head1 SEE ALSO -* L -- full-featured parser +L -- full-featured parser =head1 AUTHORS - Alex 'AdUser' Z + * Alex 'AdUser' Z =cut diff --git a/lib/Text/Playlist/PLS.pm b/lib/Text/Playlist/PLS.pm index a30e395..218ed89 100644 --- a/lib/Text/Playlist/PLS.pm +++ b/lib/Text/Playlist/PLS.pm @@ -71,15 +71,6 @@ __END__ Text::Playlist::PLS - parser for 'pls' format -=head1 DESCRIPTION - -=head2 C -=head2 C -=head2 C -=head2 C - -For description of these methods see description in base class L - =head1 SYNOPSIS 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 to another format, or change playlist items by some way. +=head1 Methods + =head2 C + =head2 C + =head2 C + =head2 C For description of these methods see description in base class L @@ -108,12 +104,12 @@ For description of these methods see description in base class L Each parsed item has the following keys in hashref: -* file -- path or url, required -* title -- title for given item, required -* length -- item duration in seconds, or -1 if not unknown + * file -- path or url, required + * title -- title for given item, required + * length -- item duration in seconds, or -1 if unknown =head1 AUTHORS - Alex 'AdUser' Z + * Alex 'AdUser' Z =cut