Add comment metadata (#44)

This commit is contained in:
Jonas L
2018-11-05 07:56:00 +11:00
committed by David Howden
parent c555fff0b7
commit 34f7f1e3c8
9 changed files with 51 additions and 12 deletions
+3
View File
@@ -134,6 +134,9 @@ type Metadata interface {
// Lyrics returns the lyrics, or an empty string if unavailable.
Lyrics() string
// Comment returns the comment, or an empty string if unavailable.
Comment() 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{}