نوشته شده توسط
andaron
دوستان من نتونستم مشکل رو حل کنم
مشکل چیه؟ آخه چیز پیچیده ای نیست که! از اینجا آخرین نسخه رو برمیداری؟ یه dll هست (الان نسخه اش 2.0.4.0 هست) اضافه اش میکنی به پروژه ات؛ شاید درست Save نمیکنی، کد زیر رو امتحان کن ببین حل نمیشه؟
private void button1_Click(object sender, EventArgs e)
{
TagLib.File file = TagLib.File.Create(@"D:\Music\test.mp3");
addTag(file.Tag.Album);
addTag(file.Tag.Title);
addTag(file.Tag.FirstGenre);
file.Tag.Album = "Test1";
file.Tag.Title = "Test2";
file.Tag.Genres[0] = "Test3";
file.Save();
addTag("********************");
addTag(file.Tag.Album);
addTag(file.Tag.Title);
addTag(file.Tag.FirstGenre);
}