InterviewSolution
Saved Bookmarks
| 1. |
Solve : c# sharpdevelop taglib mp3 header tags? |
|
Answer» HEY, IM trying to incorporate the the dll, taglib, known to be useful to retrieve mp3 HEADER tags. Everything is fine until I run the program, and I get this. Code: [Select]Exception TagLib.CorruptFileException was thrown in debuggee: First MPEG header could not be found. I have the code set to only effect mp3's, and the code im trying to use is. Code: [Select]string path = @"" + info.Root + "Documents and Settings\\" + System.Environment.UserName + "\\My Documents"; foreach (string str2 in Directory.GetDirectories(path)) { foreach (string str3 in Directory.GetFiles(str2)) { if (str3.Contains(".mp3")) { TagLib.File file = TagLib.File.Create (str3); //<---------says error occurs here this.libraryGrid.Rows.Add(file.Tag.Title, "", "", "", "" ); Any ideas? THANKS. |
|