|
|
@ -120,9 +120,12 @@ func main() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if mp3tag.Header.Version == id3v2.V2_3 { |
|
|
|
if mp3tag.Header.Version == id3v2.V2_3 { |
|
|
|
// get certain frame by identifier |
|
|
|
// get certain frame by identifier. |
|
|
|
title := mp3tag.Frames["TIT2"] |
|
|
|
// Contents is []byte. CAN AND PROBABLY WILL |
|
|
|
artist := mp3tag.Frames["TPE1"] |
|
|
|
// CONTAIN NULL OR OTHER NON-PRINTABLE BYTES !!! |
|
|
|
|
|
|
|
// Text encoding support is still not implemented. |
|
|
|
|
|
|
|
title := mp3tag.Frames["TIT2"].Contents |
|
|
|
|
|
|
|
artist := mp3tag.Frames["TPE1"].Contents |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|