Add COM and ULT text frames

Add COM and ULT, both have lang and enc
See http://id3.org/id3v2-00
This commit is contained in:
Mattias Wadman 2016-01-01 16:20:32 +01:00
parent dc1f3d7b51
commit 78bcb9ae28

View File

@ -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