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