diff options
-rw-r--r-- | Changes | 5 | ||||
-rw-r--r-- | Makefile.PL | 2 | ||||
-rw-r--r-- | README.markdown | 7 | ||||
-rw-r--r-- | lib/Music/Lyrics/LRC.pm | 4 | ||||
-rw-r--r-- | t/basic.t | 2 |
5 files changed, 13 insertions, 7 deletions
@@ -1,5 +1,10 @@ Revision history for Music-Lyrics-LRC +0.05 2017-11-02 + + - Documentation corrections + - LICENSE file + 0.04 2017-11-02 - Documentation corrections and fixed parameter validation. diff --git a/Makefile.PL b/Makefile.PL index 31aef35..172e64c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -25,7 +25,7 @@ WriteMakefile( 'meta-spec' => { version => 2 }, provides => { 'Music::Lyrics::LRC' => { - version => '0.04', + version => '0.05', file => 'lib/Music/Lyrics/LRC.pm', }, }, diff --git a/README.markdown b/README.markdown index 7417110..91432c9 100644 --- a/README.markdown +++ b/README.markdown @@ -4,7 +4,7 @@ Music::Lyrics::LRC - Manipulate LRC karaoke timed lyrics files # VERSION -Version 0.04 +Version 0.05 # DESCRIPTION @@ -27,7 +27,8 @@ For details on the LRC file format, please see Wikipedia: my $tags = $lrc->tags(); # hashref, name => value ... $lrc->add_lyric(5500, q(Now I'm singin' at exactly 5.5 seconds...)); - $lrc->add_tag('author', 'Justin A. Perlhacker'); + $lrc->set_tag('author', 'Justin A. Perlhacker'); + $lrc->unset_tag('author'); ... open my $wfh, '>', 'savelyrics.lrc'; $lrc->save($wfh); @@ -67,7 +68,7 @@ Retrieve a hashref of tag names to tag values for this lyrics file. ## `add_lyric($time, $text)` -Add a lyric at the given non-negative time in millseconds and with the given +Add a lyric at the given non-negative time in milliseconds and with the given text. The text must not include newlines or carriage returns. ## `set_tag($name, $value)` diff --git a/lib/Music/Lyrics/LRC.pm b/lib/Music/Lyrics/LRC.pm index 760ee03..5035187 100644 --- a/lib/Music/Lyrics/LRC.pm +++ b/lib/Music/Lyrics/LRC.pm @@ -13,7 +13,7 @@ use English '-no_match_vars'; use 5.006; # Declare package version -our $VERSION = '0.04'; +our $VERSION = '0.05'; # Patterns to match elements of the LRC file; these are somewhat tolerant our %RE = ( @@ -264,7 +264,7 @@ Music::Lyrics::LRC - Manipulate LRC karaoke timed lyrics files =head1 VERSION -Version 0.04 +Version 0.05 =head1 DESCRIPTION @@ -8,7 +8,7 @@ use Test::More tests => 9; use Music::Lyrics::LRC; -our $VERSION = '0.04'; +our $VERSION = '0.05'; my $lrc = Music::Lyrics::LRC->new(); ok( defined $lrc, 'constructed' ); |