Add support for lyrics.

Not supported in id3v1 and id3v22
This commit is contained in:
Xavier Henner
2015-05-19 22:06:16 +10:00
committed by David Howden
parent 3c6f62d3e8
commit 0f62dc116a
7 changed files with 77 additions and 1 deletions
+4 -1
View File
@@ -87,9 +87,12 @@ 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.
// NB: tag/atom names are not standardised between formats.
Raw() map[string]interface{}