⬥ ID3 encoding/decoding library in Go ⬥
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package v1
|
|
|
|
|
|
|
|
// https://id3.org/ID3v1 - documentation
|
|
|
|
|
|
|
|
type ID3v1Tag struct {
|
|
|
|
version string
|
|
|
|
SongName string
|
|
|
|
Artist string
|
|
|
|
Album string
|
|
|
|
Year int
|
|
|
|
Comment string
|
|
|
|
Track uint8 // basically a byte, but converted to int for convenience
|
|
|
|
Genre string
|
|
|
|
EnhancedTag EnhancedID3v1Tag
|
|
|
|
}
|
|
|
|
|
|
|
|
// from https://en.wikipedia.org/wiki/ID3
|
|
|
|
|
|
|
|
type EnhancedID3v1Tag struct {
|
|
|
|
SongName string
|
|
|
|
Artist string
|
|
|
|
Album string
|
|
|
|
Speed string
|
|
|
|
Genre string
|
|
|
|
StartTime string
|
|
|
|
EndTime string
|
|
|
|
}
|