From 6539cf57ba86cafef8d874d3db71a72b49db47d3 Mon Sep 17 00:00:00 2001 From: Aleksey Sulzhenko Date: Sun, 19 Sep 2021 12:23:38 +0300 Subject: [PATCH] Add comment for fix UFID error --- id3v2frames.go | 1 + 1 file changed, 1 insertion(+) diff --git a/id3v2frames.go b/id3v2frames.go index 83958a6..db95135 100644 --- a/id3v2frames.go +++ b/id3v2frames.go @@ -508,6 +508,7 @@ func (u UFID) String() string { func readUFID(b []byte) *UFID { result := bytes.SplitN(b, singleZero, 2) if len(result) != 2 { + // Sometimes the UFID consists of one part, for example: track-5979322WOAF return &UFID{ Identifier: result[0], }