From 78bcb9ae28b592444af28f8cc0fc64f64235cf61 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Fri, 1 Jan 2016 16:20:32 +0100 Subject: [PATCH] Add COM and ULT text frames Add COM and ULT, both have lang and enc See http://id3.org/id3v2-00 --- id3v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id3v2.go b/id3v2.go index f504b61..4f1bd9a 100644 --- a/id3v2.go +++ b/id3v2.go @@ -302,7 +302,7 @@ func readID3v2Frames(r io.Reader, h *id3v2Header) (map[string]interface{}, error } result[rawName] = txt - case name == "COMM" || name == "USLT": + case name == "COMM" || name == "COM" || name == "USLT" || name == "ULT": t, err := readTextWithDescrFrame(b, true, true) // both lang and enc if err != nil { return nil, err