I've been trying to edit some of the properties of a .mp3 using TagLib-Sharp (id3v2). But for some reason Tag.Comment doesn't seem to make any changes on the comment property. The other tags are working flawlessly. My aim is to store a link in one of the properties, as to be able to access it through the Windows Explorer.
Relevant part of the code:
var file = TagLib.File.Create(myFile.FullName);
TagLib.Id3v2.Tag tag = (TagLib.Id3v2.Tag)file.GetTag(TagTypes.Id3v2);
tag.Title = songname;
tag.Performers = artists;
tag.Comment = link;
file.Save();
I've looked all over the place and couldn't find anyone having the same problem. I've been left quite clueless. Does anyone know how I could solve this?
file.Save();do you see the link-value intag.Comment? - PeterCofile.Save();has been executed, the title & performers can been seen through the Windows Explorer, but the comment field is left empty.I've tried manually editing the comment property and then reading it in in debugging, which worked flawlessly. - hudriwudiTagLib.Id3v2.CommentsFrame("COMM", "eng", TagLib.StringType.UTF16)- PeterCo