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
+8
View File
@@ -222,6 +222,14 @@ func (m metadataMP4) Disc() (int, int) {
return x, 0
}
func (m metadataMP4) Lyrics() string {
t, ok := m["\xa9lyr"]
if !ok {
return ""
}
return t.(string)
}
func (m metadataMP4) Picture() *Picture {
v, ok := m["covr"]
if !ok {