Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var file = TagLib.File.Create(path);
- TagLib.IPicture newArt = new TagLib.Picture(pic_path);
- newArt.Description = "";
- file.Tag.Pictures = new TagLib.IPicture[1] { newArt };
- file.Tag.Title = Convert.ToString(json.data.name);
- file.Tag.Album = Convert.ToString(json.data.album_name);
- file.Tag.AlbumArtists = Convert.ToString(json.data.album_artist);
- file.Tag.Performers = Convert.ToString(json.data.artists);
- file.Tag.Comment = "";
- file.Save();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement