diff --git a/guessit.go b/guessit.go index 2903527..b48be62 100644 --- a/guessit.go +++ b/guessit.go @@ -62,11 +62,11 @@ func (u *Match) UnmarshalJSON(data []byte) error { u.AudioCodec = ac } - switch oth := aux.AudioCodec.(type) { + switch oth := aux.Other.(type) { case string: - u.AudioCodec = append(u.AudioCodec, oth) + u.Other = append(u.Other, oth) case []string: - u.AudioCodec = oth + u.Other = oth } return nil