| @@ 186-197 (lines=12) @@ | ||
| 183 | groupingIdentity: !!(flagsSecondByte & 32) |
|
| 184 | } |
|
| 185 | } |
|
| 186 | if(ID3Version === 4) { |
|
| 187 | return { |
|
| 188 | tagAlterPreservation: !!(flagsFirstByte & 64), |
|
| 189 | fileAlterPreservation: !!(flagsFirstByte & 32), |
|
| 190 | readOnly: !!(flagsFirstByte & 16), |
|
| 191 | groupingIdentity: !!(flagsSecondByte & 64), |
|
| 192 | compression: !!(flagsSecondByte & 8), |
|
| 193 | encryption: !!(flagsSecondByte & 4), |
|
| 194 | unsynchronisation: !!(flagsSecondByte & 2), |
|
| 195 | dataLengthIndicator: !!(flagsSecondByte & 1) |
|
| 196 | } |
|
| 197 | } |
|
| 198 | return {} |
|
| 199 | } |
|
| 200 | ||
| @@ 176-185 (lines=10) @@ | ||
| 173 | } |
|
| 174 | const flagsFirstByte = header[8] |
|
| 175 | const flagsSecondByte = header[9] |
|
| 176 | if(ID3Version === 3) { |
|
| 177 | return { |
|
| 178 | tagAlterPreservation: !!(flagsFirstByte & 128), |
|
| 179 | fileAlterPreservation: !!(flagsFirstByte & 64), |
|
| 180 | readOnly: !!(flagsFirstByte & 32), |
|
| 181 | compression: !!(flagsSecondByte & 128), |
|
| 182 | encryption: !!(flagsSecondByte & 64), |
|
| 183 | groupingIdentity: !!(flagsSecondByte & 32) |
|
| 184 | } |
|
| 185 | } |
|
| 186 | if(ID3Version === 4) { |
|
| 187 | return { |
|
| 188 | tagAlterPreservation: !!(flagsFirstByte & 64), |
|