n10v / id3v2

🎵 ID3 decoding and encoding library for Go
https://pkg.go.dev/github.com/bogem/id3v2/v2
MIT License
334 stars 50 forks source link

Add support of flags #47

Open n10v opened 4 years ago

n10v commented 4 years ago

The version is followed by the ID3v2 flags field, of which currently four flags are used.

a - Unsynchronisation

 Bit 7 in the 'ID3v2 flags' indicates whether or not
 unsynchronisation is applied on all frames (see section 6.1 for
 details); a set bit indicates usage.

b - Extended header

 The second bit (bit 6) indicates whether or not the header is
 followed by an extended header. The extended header is described in
 section 3.2. A set bit indicates the presence of an extended
 header.

c - Experimental indicator

 The third bit (bit 5) is used as an 'experimental indicator'. This
 flag SHALL always be set when the tag is in an experimental stage.

d - Footer present

 Bit 4 indicates that a footer (section 3.4) is present at the very
 end of the tag. A set bit indicates the presence of a footer.

http://id3.org/id3v2.4.0-structure

n10v commented 4 years ago

Click 👍 if you need support of this feature. Click 👎 - if not.