Merge pull request #17 from wader/com-ult-frames

Add COM and ULT text frames
This commit is contained in:
David Howden 2016-01-03 08:39:49 +11:00
commit 5fe43c28e4

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