You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file, err:=id3.Open(filePath, false)
iferr!=nil {
panic(err)
}
file.SetComment("this is my test comment with absolutely no special characters woohoo")
err=file.Close()
iferr!=nil {
panic(err)
}
The ID3 spec defines the Comments frame as such:
<Header for 'Comment', ID: "COMM">
Text encoding $xx
Language $xx xx xx
Short content descrip. <text string according to encoding> $00 (00)
The actual text <full text string according to encoding>
It seems like the comment text is actually ending up in the "Short content description" portion instead of "the actual text".
I'd love any tips and I'll be sure to create a PR and share back my improvements when I get this working
The text was updated successfully, but these errors were encountered:
@ghenry22 Tbh I can't remember if I got this working or not. My fork of the repo is here. Relevant branches are master and dev. The repo I was using this library with is here
I did make a number of other changes including adding setDate() and setReleaseYear() as well as improvements in handling v2 vs v1 tags. It's been a while since I looked at this project, so memory is hazy.
I'm attempting to add a
SetComment
method so I can write comment fields on v2 files. This is what I have so far and it almost works:id3v2.go
then in testing:
The ID3 spec defines the Comments frame as such:
It seems like the comment text is actually ending up in the "Short content description" portion instead of "the actual text".
I'd love any tips and I'll be sure to create a PR and share back my improvements when I get this working
The text was updated successfully, but these errors were encountered: