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
+7
View File
@@ -243,6 +243,13 @@ func (m *metadataVorbis) Lyrics() string {
return m.c["lyrics"]
}
func (m *metadataVorbis) Comment() string {
if m.c["comment"] != "" {
return m.c["comment"]
}
return m.c["description"]
}
func (m *metadataVorbis) Picture() *Picture {
return m.p
}