Add support for lyrics.

Not supported in id3v1 and id3v22
This commit is contained in:
Xavier Henner
2015-05-18 09:32:54 +02:00
parent 7a80548ea8
commit 7fac753a70
7 changed files with 75 additions and 0 deletions
+7
View File
@@ -218,6 +218,13 @@ func readID3v2Frames(r io.Reader, h *ID3v2Header) (map[string]interface{}, error
}
result[rawName] = txt
case name == "COMM" || name == "USLT":
t, err := readTextWithDescrFrame(b)
if err != nil {
return nil, err
}
result[rawName] = t
case name == "APIC":
p, err := readAPICFrame(b)
if err != nil {