aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Music/Lyrics/LRC.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Music/Lyrics/LRC.pm b/lib/Music/Lyrics/LRC.pm
index bdf4013..deebffd 100644
--- a/lib/Music/Lyrics/LRC.pm
+++ b/lib/Music/Lyrics/LRC.pm
@@ -281,6 +281,7 @@ L<https://en.wikipedia.org/wiki/LRC_(file_format)>
...
my $lrc = Music::Lyrics::LRC->new();
open my $rfh, '<', 'mylyrics.lrc';
+ $lrc->load($rfh);
...
my $lyrics = $lrc->lyrics(); # arrayref of hashrefs: time (msec), text
my $tags = $lrc->tags(); # hashref, name => value