Skip to content

Commit

Permalink
Add COM and ULT text frames
Browse files Browse the repository at this point in the history
Add COM and ULT, both have lang and enc
See http://id3.org/id3v2-00
  • Loading branch information
wader committed Jan 1, 2016
1 parent dc1f3d7 commit 78bcb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion id3v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78bcb9a

Please sign in to comment.