|
|
@ -59,13 +59,13 @@ func main() { |
|
|
|
|
|
|
|
|
|
|
|
// create your tags struct |
|
|
|
// create your tags struct |
|
|
|
tags := &ID3v11Tags{ |
|
|
|
tags := &ID3v11Tags{ |
|
|
|
SongName: "mysong", |
|
|
|
SongName: "mysong", |
|
|
|
Artist: "me", |
|
|
|
Artist: "me", |
|
|
|
Album: "my album", |
|
|
|
Album: "my album", |
|
|
|
Year: 2021, |
|
|
|
Year: 2021, |
|
|
|
Comment: "Cool song", |
|
|
|
Comment: "Cool song", |
|
|
|
Track: 1, |
|
|
|
Track: 1, |
|
|
|
Genre: "Christian Gangsta Rap", // list of genres see "id3v1genres.go" |
|
|
|
Genre: "Christian Gangsta Rap", // list of genres see "id3v1genres.go" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// write tags to file |
|
|
|
// write tags to file |
|
|
|