From 0ae35897fad3b1df4aac9d3a73974d791c0934e8 Mon Sep 17 00:00:00 2001 From: Xavier Henner Date: Mon, 18 May 2015 09:56:47 +0200 Subject: [PATCH] Typo, forgotten debug string and a missing comment --- id3v2metadata.go | 2 +- tag.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/id3v2metadata.go b/id3v2metadata.go index 79cf955..cf0f122 100644 --- a/id3v2metadata.go +++ b/id3v2metadata.go @@ -116,7 +116,7 @@ func (m metadataID3v2) Disc() (int, int) { func (m metadataID3v2) Lyrics() string { t, ok := m.frames[frames.Name("lyrics", m.Format())] if !ok { - return "toto" + return "" } return t.(*Comm).Text } diff --git a/tag.go b/tag.go index 89caab4..57a15a1 100644 --- a/tag.go +++ b/tag.go @@ -87,9 +87,10 @@ type Metadata interface { // Disc returns the disc number and total discs, or zero values if unavailable. Disc() (int, int) - // Picture returns a picture, or nil if not avilable. + // Picture returns a picture, or nil if not available. Picture() *Picture + // Lyrics returns the lyrics, or an empty string if unavailable. Lyrics() string // Raw returns the raw mapping of retrieved tag names and associated values.