Typo, forgotten debug string and a missing comment

This commit is contained in:
Xavier Henner 2015-05-18 09:56:47 +02:00
parent 7fac753a70
commit 0ae35897fa
2 changed files with 3 additions and 2 deletions

View File

@ -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
}

3
tag.go
View File

@ -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.